ddbg(1)
π§ 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β employhex2binbefore 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 variableBIN2TXT_MODEcan be used to influence the output. possible values arecstr(output as a C string literal without surrounding quotes),hex(hex nibbles likebin2hex), andtxt(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_W3Mcan be set toyes/noto controlhtmltotextbehavior. that's the whole vibe check. β
π Examples π
bestie, copy-paste these exactly:
ddbg -p --decode-guid 38a1bb1005e5101aa1bb08002b2a56c2ddbg --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
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms