in reply to Re^5: dynamic extractor based off static references in file (perl)
in thread dynamic extractor based off static references in file (perl)
And 0x15 is the reference to the actual data in this file. this code will get that reference and store it in $buffer.my $buffer = ''; sysseek $file, 0x15, 0; sysread $file, $buffer, 0x03; syswrite $outfile, $buffer;
as opposed to:sysseek $file, $buffer, 0;
sysseek $file, 0x400, 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: dynamic extractor based off static references in file (perl)
by james289o9 (Acolyte) on Dec 06, 2013 at 09:29 UTC | |
|
Re^7: dynamic extractor based off static references in file (perl)
by james289o9 (Acolyte) on Dec 06, 2013 at 09:31 UTC | |
by Anonymous Monk on Dec 06, 2013 at 10:44 UTC | |
by james289o9 (Acolyte) on Dec 06, 2013 at 16:02 UTC |