PESTR(1)
π PESTR(1) π
okay so bestie, we're in the General Commands Manual section and today's main character is pestr π
β¨ NAME β¨
pestr β search strings in PE files π
πΈ SYNOPSIS πΈ
pestr [OPTIONS]... pefile
π¦ DESCRIPTION π¦
pestr goes hunting for ASCII and Unicode strings inside PE files, no cap. It's part of pev, the PE file analysis toolkit β so if you know pev, you already know the vibe π
pefile is a PE32/PE32+ executable or dynamic linked library file. that's the thing you're pointing it at, bestie π«Ά
π OPTIONS π
-n,--min-lengthβ set the minimum string length. default is4, so anything shorter gets left on read π-o,--offsetβ show the string's offset in the file. receipts, but for bytes β¨-s,--sectionβ show the string's section, if it exists. sometimes a string is just out here with no section and that's valid π-V,--versionβ show version.--helpβ show help.
π EXAMPLES π
search all the strings in putty.exe:
$ pestr putty.exe
and that's it. that's the whole ritual. iconic π§
π REPORTING BUGS π
found something cursed? first, please check the latest development code, then report it at https://github.com/mentebinaria/readpe/issues β the devs wanna hear it fr fr π«Ά
π SEE ALSO π
ofs2rva(1), pedis(1), pehash(1), peldd(1), pepack(1), peres(1), pescan(1), pesec(1), readpe(1), rva2ofs(1)
(the whole squad π go say hi)
π COPYRIGHT π
Copyright (C) 2012 - 2020 pev authors. License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/gpl-2.0.txt>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
so like, yes you can remix it, but if it breaks? not their problem, legally speaking π
and that's the page, bestie β it signs off as PESTR(1) from the General Commands Manual, straight from the pev era of 2012β2020. slay, bye π β¨
π¦ where this page comes from
- alpine 3.24: pev-doc 0.82-r0 Β· GPL-2.0-or-later AND MIT AND BSD-2-Clause
- debian trixie: readpe 0.84-2 Β· GPL-2.0-or-later WITH OpenSSL Exception
- ubuntu noble: readpe 0.82-3.1build2 Β· GPL-2.0-or-later WITH OpenSSL Exception
- ubuntu questing: readpe 0.84-2
- ubuntu resolute: readpe 0.85.1-1 Β· GPL-2.0-or-later WITH OpenSSL Exception
- ubuntu stonking: readpe 0.85.1-1build1 Β· GPL-2.0-or-later WITH OpenSSL Exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms