pencode(1)
β¨ pencode β complex payload encoder β¨
okay bestie so pencode is literally this little command that stacks a bunch of transformations on top of each other and spits out a payload π
it's pencode(1), it's iconic, it's giving hacker-girl main character energy, and you're gonna love it.
πΈ NAME πΈ
pencode β complex payload encoder π
π¦ USAGE π¦
pencode FUNC1 FUNC2 FUNC3...
so the whole vibe is: you pass a chain of functions and they run one after another, like a little relay race of encoding πβοΈβ¨
pencode reads input from stdin by default, which is typically piped from another process. like, that's the normal way, that's the moment, that's the whole thing π
π OPTIONS π
-inputβ reads input from a file, line by line. not from stdin, from an actual file, one line at a time, no cap π
π ENCODERS π
b64encodeβ Base64 encoder β¨hexencodeβ Hex string encoder π§htmlescapeβ HTML escape πjsonescapeβ JSON escape πunicodeencodeallβ Unicode escape string encode (all characters) βurlencodeβ URL encode reserved characters πΈurlencodeallβ URL encode all characters π₯utf16β UTF-16 encoder (Little Endian) πutf16beβ UTF-16 encoder (Big Endian) π¦xmlescapeβ XML escape π
π DECODERS π
(not me including the decoders, they're literally the reverse besties, we love a symmetry moment)
b64decodeβ Base64 decoder β¨hexdecodeβ Hex string decoder π§htmlunescapeβ HTML unescape πjsonunescapeβ JSON unescape πunicodedecodeβ Unicode escape string decode βurldecodeβ URL decode πΈxmlunescapeβ XML unescape π₯
π₯ HASHES π₯
md5β MD5 sumsha1β SHA1 checksumsha224β SHA224 checksumsha256β SHA256 checksumsha384β SHA384 checksumsha512β SHA512 checksum
π«Ά OTHER π«Ά
the miscellaneous girlies, the ones that don't fit in a box, and we respect that π
filename.tmplβ Replaces string#PAYLOAD#in content of a file that has.tmplextension. like it's a template, it's a little fill-in-the-blank, it's adorable honestly πlowerβ Convert string to lowercase πΈupperβ Convert string to uppercase π
ngl the#PAYLOAD#thing? chef's kiss. you write a template file ending in.tmpl, drop#PAYLOAD#wherever the payload should land, and it just slots in there. no cap π
and that's the whole page bestie!! this was written by the pencode girlies in January 2024, version pencode-0.4 β go stack some functions, slay, and remember: pipe responsibly π
β¨π¦
π¦ where this page comes from
- debian trixie: golang-github-ffuf-pencode-dev 0.4-1+b8 Β· MIT
- ubuntu noble: golang-github-ffuf-pencode-dev 0.4-1 Β· MIT
- ubuntu noble: golang-github-ffuf-pencode-dev 0.4-1ubuntu0.24.04.3 Β· MIT
- ubuntu questing: golang-github-ffuf-pencode-dev 0.4-1
- ubuntu resolute: golang-github-ffuf-pencode-dev 0.4-1build1 Β· MIT
- ubuntu stonking: golang-github-ffuf-pencode-dev 0.4-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms