News for hackers. Stuff that matters.
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by Mattwmaster58 on Thursday March 03, 2022 @10:32AM (#30542298)
I'm interested in this for its potential reverse engineering apps on Android. I've had some success with `mitmproxy` but I'm wondering what other HN-ers use for this purpose.
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by ohgodplsno on Friday March 04, 2022 @03:43AM (#30552194)
Note that any properly made android app will pin its certificates and disallow user-added certificates, so you'll only see garbage go through. You need to install your certificate as a system certificate, which either requires root, or using the emulator.
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by sachinjain on Thursday March 03, 2022 @09:01PM (#30549694)
great collection. You can also create a Github awesome repo collection like awesome-requests-proxy-tools
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by michaelkariv on Saturday March 05, 2022 @01:45AM (#30565007)
Second that. Would be most useful, especially if maintained. I myself am still on fiddler

UPDATE: did that myself, but wish someone takes over. I only check for new and better stuff once in 3 years. The community deserves someone better.

https://github.com/michaelkariv/awesome-requests-proxy-list

Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by mzfr on Thursday March 03, 2022 @11:41AM (#30543275)
I use burp suite(community version) for the same purpose along with frida. There is also Brida[1] its sort of a bridge between both of them.

Something which I don't like is that every time I need the traffic to go through burp I need to go the WiFi settings and modify the "advance option" to use proxy. And if I keep the proxy settings on all the time then I've had issues with playstore and other such app, on the testing device. So that small bit of manual work is what I don't like.

In another comment[2] they mentioned they'll be releasing an android interceptor which would work without proxy, I think that would make me try this.

[1] [https://github.com/federicodotta/Brida](https://github.com/f...

[2] [https://news.ycombinator.com/item?id=30541263](https://news....

Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by johnmaguire on Thursday March 03, 2022 @10:42AM (#30542399)
I recently used Fiddler along with Frida[1] to deal with cert pinning in the app I was looking into.

[1] https://github.com/httptoolkit/frida-android-unpinning

Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by abdusco on Thursday March 03, 2022 @11:16AM (#30542908)
Sweet, thanks for the link.

I was looking for something like this. Tried mitmproxy but it was useless against cert pinning. So I went with decompiling the app to extract the auth keys and urls for the internal API it was using.

Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by c0wb0yc0d3r on Friday March 04, 2022 @12:46AM (#30551125)
Is there a way to deal cert pinning without decompiling the app?
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by franga2000 on Saturday March 05, 2022 @08:41AM (#30567486)
Here's my setup (for private projects, work stuff is under NDA):

- Android device running Android 10 (generally using older versions is better) - Magisk for root + Trust User Certificates module - mitmproxy (sometimes using mitmweb) - ProxyDroid to connect to mitmproxy - Frida with a one of a handful open source SSL pinning bypass scripts (and a custom one at work)

When network requests aren't enough, I reach for JADX-GUI for decompilation and Frida (REPL and custom scripts) for extracting data at runtime (taking the necessary "cleanroom" precautions for commercial projects).

Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by chrisweekly on Thursday March 03, 2022 @02:58PM (#30545994)
Same. mitmproxy (and its built-in mitmdump lib), along w/ the (criminally obscure / amazing) lnav (https://lnav.org), have served me very well in the past for this kind of thing.
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by sachinjain on Thursday March 03, 2022 @08:26PM (#30549429)
I have seen Inav earlier but never used it. Does it also provide response modification capabilities?
Re:Launch HN: Requestly (YC W22) – Network debugging proxy f... by chrisweekly on Friday March 04, 2022 @10:02AM (#30555777)
No, at least not out of the box, bc that's outside its intended realm; lnav (short for log navigator) is like a mini-ETL CLI powertool w/ embedded SQLite. You can pipe (semi/)structured data in, then query and optionally transform and/or export it out. Its API makes it convenient for chaining w/ tools like mitmproxy, so you could do almost anything with it in a custom script pipeline.