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
In reply to Re: Portable way to extract string from a binary
by tachyon
in thread Portable way to extract string from a binary
by mpeppler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |