Source: OpenSecurityTraining
- PDFStreamDumper
- Load -> Pdf File
- View objects list in left-side box
- Tools -> About Listview Colors
- choose object of interest (click on it to select)
- to export as-is: Right-click object number in left-side box -> Save Raw Stream
- to deal with JavaScript…
- click on object in left-side box, to select it
- click Javascrip_UI (in the menubar)
- modify JavaScript so that you remove the exploit line(s) and just have a variable that contains the shellcode
- add to the end of the JavaScript box (replacing VAR_NAME): tb.writeFile(“C:\\shellcode.bin”,VAR_NAME)
- click the Run button