anselmorenato / peepdf

Automatically exported from code.google.com/p/peepdf
GNU General Public License v3.0
2 stars 0 forks source link

Enhancement: 'dumpstream' command #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I needed to dump streams directly to file, e.g. extracting fonts from a PDF.

Attached is a patch which duplicates the 'stream' command, but accepts a 
filename to output to rather than the console.

Original issue reported on code.google.com by ha...@midnight-labs.org on 11 Nov 2012 at 5:07

Attachments:

GoogleCodeExporter commented 9 years ago
Hi! Thanks for that, but I was wondering if you know the redirection 
functionality and if this patch wouldn't be a duplicated function...

PPDF> stream 5 > yourfile

This command will store the stream content in the file "yourfile", also 
available in batch mode. Is that what you were looking for?

http://eternal-todo.com/blog/extract-streams-shellcode-peepdf

Original comment by josemigu...@gmail.com on 30 Nov 2012 at 3:17

GoogleCodeExporter commented 9 years ago
Ah yes, how could I have missed that!

Wonderful, thank you :)

Original comment by ha...@midnight-labs.org on 30 Nov 2012 at 3:19

GoogleCodeExporter commented 9 years ago
No worries! ;)

Original comment by josemigu...@gmail.com on 30 Nov 2012 at 3:36