Advertisement
Guest User

PAD Sniffing

a guest
Nov 28th, 2013
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Packet Sniffing for Fun and Profit
  2.  
  3. Disclaimer: The ethics of doing this are not in your favor, but I will offer these rationalizations:
  4.  
  5. 1. Packet sniffing will not win the game for you. You still need a proper team and to spend stones for Descends.
  6. 2. PAD is a literal pay2win game. Every build is viable if you give Gungho enough money. There's a video of a guy who spent 130+ stones to clear Zeus Dios with Anubis.
  7. 3. PAD is a single player game. Nobody else suffers from packet sniffing; if anything, others benefit because now they have friends with better leaders.
  8. 4. Spending stones on a 40% drop rate is bullshit
  9.  
  10. You will need:
  11.  
  12. Your phone, connected to a Wifi network
  13. A computer, with a wireless network adaptor
  14. Packet sniffing software. I use Wireshark (http://www.wireshark.org/)
  15. (Optional) Packet recording app on your phone. For Android, I use "Shark for Root" (https://play.google.com/store/apps/details?id=lv.n3o.shark)
  16.  
  17. The guide:
  18.  
  19. Setting Up Wireshark
  20.  
  21. Open Wireshark
  22. Click on "Capture Options" (In left pane of start screen; alternatively, click the gear icon on the toolbar)
  23. Check the Wifi network that your phone is currently connected to
  24. Confirm settings; DON'T START CAPTURING YET
  25.  
  26. Preparing in PAD
  27.  
  28. Prepare your team, navigate to dungeon via menu, and pick a friend
  29. STOP RIGHT THERE
  30. DO NOT ENTER DUNGEON YET
  31. Start capture on Wireshark
  32. Enter dungeon
  33. When the first round loads, stop the capture on Wireshark
  34.  
  35. Reading the Packets
  36.  
  37. You should see lots and lots of packets listed. Only a few of these were sent by PAD.
  38.  
  39. PAD packets are always HTTP, so sort by Protocol column first
  40. At a glance, if you see under the Info column: GET /api.php?action=sneak_dungeon, then you've done the previous steps correctly and definitely have some PAD packets
  41. The drop packet will read: HTTP/1.1 200 OK (text/html) under Info; there will be more than one of these, usually two.
  42. Look at the contents of these packets
  43. (if you don't know how, the foolproof way:
  44. Click on the packet
  45. In the middle Wireshark pane, scroll down to "Line-based text data",
  46. Right-click on "Line-based text data" > Copy > Bytes > Printable Text Only
  47. Paste in a text editor)
  48.  
  49. The data should look like this (if it doesn't, try another packet):
  50.  
  51. {"res":0,"hash":"XXXXX","btype":0,"barg":0,"fp":0,"waves":[{"seq":"1","monsters":[{"type":3,"num":"191","lv":10,"item":0,"inum":0,"pval":0},{"type":3,"num":"193","lv":10,"item":"0","inum":10,"pval":0},{"type":3,"num":"195","lv":10,"item":0,"inum":0,"pval":0},{"type":3,"num":"197","lv":10,"item":0,"inum":0,"pval":0},{"type":3,"num":"199","lv":10,"item":0,"inum":0,"pval":0}]},{"seq":"2","monsters":[{"type":3,"num":"171","lv":1,"item":"0","inum":1,"pval":0},{"type":3,"num":"172","lv":1,"item":0,"inum":0,"pval":0},{"type":3,"num":"173","lv":1,"item":0,"inum":0,"pval":0},{"type":0,"num":"175","lv":1,"item":0,"inum":0,"pval":0}]},{"seq":"3","monsters":[{"type":0,"num":"320","lv":5,"item":"86","inum":5,"pval":0}]},{"seq":"4","monsters":[{"type":0,"num":"476","lv":5,"item":0,"inum":0,"pval":0},{"type":0,"num":"475","lv":5,"item":"475","inum":5,"pval":0}]},{"seq":"5","monsters":[{"type":1,"num":"226","lv":6,"item":0,"inum":0,"pval":0}]}]}
  52.  
  53. Each bracket represents a round
  54. Seq is the round #
  55. Num is the card ID of the monster(s) you're fighting
  56. Item is the card ID of the drop; 0 means no drop; any number that doesn't correspond to an ID is a gold drop
  57.  
  58. The above was from a Goddess Descended-Legend run. In round 5 (seq: 5), I fought Great Valkyrie (num: 226), and didn't get a drop (item: 0). Gungtrolled.
  59.  
  60. Another example, but from a successful Goddess Descended-Legend run
  61.  
  62. {"res":0,"hash":"XXXXX","btype":0,"barg":0,"fp":0,"waves":[{"seq":"1","monsters":[{"type":3,"num":"191","lv":10,"item":0,"inum":0,"pval":0},{"type":3,"num":"193","lv":10,"item":0,"inum":0,"pval":0},{"type":3,"num":"195","lv":10,"item":"195","inum":10,"pval":1},{"type":3,"num":"197","lv":10,"item":0,"inum":0,"pval":0},{"type":3,"num":"199","lv":10,"item":0,"inum":0,"pval":0}]},{"seq":"2","monsters":[{"type":3,"num":"171","lv":1,"item":0,"inum":0,"pval":0},{"type":3,"num":"172","lv":1,"item":0,"inum":0,"pval":0},{"type":3,"num":"173","lv":1,"item":"0","inum":1,"pval":0},{"type":0,"num":"175","lv":1,"item":0,"inum":0,"pval":0}]},{"seq":"3","monsters":[{"type":0,"num":"320","lv":5,"item":"0","inum":5,"pval":0}]},{"seq":"4","monsters":[{"type":0,"num":"476","lv":5,"item":"476","inum":5,"pval":0},{"type":0,"num":"476","lv":5,"item":0,"inum":0,"pval":0}]},{"seq":"5","monsters":[{"type":1,"num":"226","lv":6,"item":"225","inum":6,"pval":0}]}]}
  63.  
  64. Again, in round 5 (seq 5), I fought Great Valkyrie (num 226). However, this time she dropped a Valkyrie (item: 225).
  65.  
  66. Apply this technique to other dungeons and you'll never have to burn stones to get nothing or, worse still, a goddamn cockteasing treasure chest.
  67.  
  68.  
  69. Troubleshooting:
  70.  
  71. Before trying this out on a Descend, test it on a regular dungeon to see if you can properly and reliably capture PAD packets. Some wireless adapters have a hard time catching every packet.
  72.  
  73. If you can't, no matter what (read the Wireshark manual), you may have to capture packets from your phone itself. The upside with this is that you don't need a Wifi network; mobile data (3G/4G) can be captured too.
  74. For Android, I use Shark for Root (https://play.google.com/store/apps/details?id=lv.n3o.shark ;requires root, no shit). No idea what's available for iOS (>using iOS)
  75. With Shark for Root, just switch to the app before entering a dungeon, start capture, enter the dungeon, and stop capture. Same deal with Wireshark (Shark is a port of Wireshark)
  76. Move the .pcap (Shark will display the directory) to your computer and view it with Wireshark. Don't try to open the file on your phone; Shark Reader is a piece of crap. Proceed with reading the captured packets as above.
  77.  
  78. If you still cant capture packets, the other surest way to get them is to create an ad-hoc network on your pc/mac as a wireless hotspot. Once created connect your device to the newly created hot spot and wireshark will certainly capture the packets because it most go through your pc first before going to your mobile device. Virtual Router Plus is an easy way to create a wireless hotspot on windows 7/8 http://virtualwifihotspot.codeplex.com/.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement