ddbg(1)

πŸ“¦ version 3.6, in alpine 3.24

🧚 ddbg(1) β€” MAPI data debugger πŸ’…

okay so welcome to the Gromox admin reference, bestie β€” this page is all about ddbg(1), aka your literal MAPI data debugger. it's giving β€œbinary blob detective” and we're obsessed. πŸŽ€


πŸŽ€ Name πŸŽ€

ddbg β€” MAPI data debugger. periodt. ✨

🌸 Synopsis 🌸

/usr/libexec/gromox/ddbg [options...] command [args...]

πŸ¦‹ Description πŸ¦‹

ddbg can be used to analyze various binary blobs β€” yes, it's lowkey the friend who can look at a weird little pile of bytes and tell you what's going on. 🫢

If no arguments are given, input is instead read from stdin instead. no cap.

✨ Options ✨

  • -p, --pack β€” employ hex2bin before the main action. like, the main action gets a little hex-to-binary warm-up first πŸ’…

πŸ’… Commands πŸ’…

  • --bin2hex β€” convert all bytes to hexnibble representation. 🧚
  • --bin2txt β€” convert all bytes to a textual representation. the environment variable BIN2TXT_MODE can be used to influence the output. possible values are cstr (output as a C string literal without surrounding quotes), hex (hex nibbles like bin2hex), and txt (custom compact encoding). slay. 🌈
  • -d, --decode β€” try all decoders. all of them. go off. πŸ”₯
  • -A, --decode-action β€” decode rule action blob.
  • -e, --decode-entryid β€” decode entryid.
  • --decode-guid β€” lookup GUID.
  • --decode-nttime β€” decode an NT timestamp and show the equivalent Unix time and calendar-based date. πŸ•°οΈ
  • --decode-restrict β€” decode restriction blob (e.g. rule condition).
  • --decode-unixtime β€” decode an Unix timestamp and show the equivalent NT time and calendar-based date. πŸ•°οΈ
  • --lzxdec β€” uncompress an lzxpress data stream.
  • --lzxenc β€” compress data stream with lzxpress.
  • --rtfcp β€” convert RTF to the RTFCP format, particularly the uncompressed "MELA" subformat. iconic. πŸ’–
  • --rtftohtml β€” convert RTF to HTML.
  • --texttohtml β€” convert plaintext to HTML.
  • --unrtfcp β€” decompress RTFCP (either "MELA" or "LZFU") to RTF. πŸŽ€

πŸ“ Environment variables πŸ“

  • AVOID_W3M can be set to yes/no to control htmltotext behavior. that's the whole vibe check. βœ…

πŸ‘‘ Examples πŸ‘‘

bestie, copy-paste these exactly:

  • ddbg -p --decode-guid 38a1bb1005e5101aa1bb08002b2a56c2
  • ddbg --unrtfcp <body.bin >body.rtf

🧚 See also 🧚

  • gromox(7) β€” go read that too, iykyk. πŸ’œ

xoxo, Gromox πŸ’– β€” ddbg(1) signing off, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from