Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ! /bin/bash
  2. echo "make a new directory for acquired partitions"
  3. mkdir ~/work_folder/partitions
  4. gnome-terminal -x bash -c "echo "adb forward tcp:8888 tcp:8888." && adb forward tcp:8888 tcp:8888"
  5. exec $SHELL
  6.  
  7. ! /bin/bash
  8. echo "netcat in device"
  9. gnome-terminal -x bash -c "adb shell && dd if=/dev/block/mtdblock0 | /dev/examiner/nc -l -p 8888"
  10. exec $SHELL
  11.  
  12. ! /bin/bash
  13. gnome-terminal -x bash -c "echo "received a dump partitions into the desktop." && nc 127.0.0.1 8888 > ~/work_folder/partitions/mtdblock0.dd"
  14. exec $SHELL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement