Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can I ask how you discovered the URL the app was making requests to?


Set up a proxy setup pointed to a squid or whatnot that logs request. Use tcpdump on the router. If you have a rooted Android device you can use tcpdump there, or instrument the HTTP framework code to log requests, or...

But assuming you have control of your home network and aren't just using a Linksys thing out of the box, just logging into the router and watching traffic is by far the most straightforward.


Decompile the apk with one of a number of tools (apktool, baksmali). Least that would be what I would do.



I'm guessing Wire Shark.


Correct. I created a tcpdump trace on my OpenWrt router and then opened it in Wireshark. The HTTP request was easy to spot from there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: