in reply to Portable way to extract string from a binary
C:\>perl -ne "print $1,$/ while m/([\w ]{2,})/gc" myscript.exe MZ This program cannot be run in DOS mode efx Rich PE RES text rdata data C:\>
Add whatever you want to the character class according to your definition of a string :-)
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Portable way to extract string from a binary (strings.pl)
by tye (Sage) on Jul 14, 2004 at 16:44 UTC | |
by tachyon (Chancellor) on Jul 15, 2004 at 01:29 UTC |