Advertisement
opexxx

procdunp.sh

Mar 20th, 2015
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. #!/bin/sh
  2. radare -d $@ <<_EOF_
  3. !cont entrypoint
  4. s 0x08048000
  5. !cont close
  6. !maps
  7. f dump_start @ \`!maps~0x080[0]#1\`
  8. f dump_end @ \`!maps~0x080[2]#0\`
  9. !printf Dump size:
  10. ? dump_end-dump_start
  11. f~dump
  12. b dump_end-dump_start
  13. wt dumped
  14. q
  15. y
  16. _EOF_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement