ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.66k stars 187 forks source link

Ability to use proxy for some irritating apps #363

Open shirshak55 opened 4 years ago

shirshak55 commented 4 years ago

I think proxy man should support for those app that don't provide proxy support.

We can test this with firefox with no system proxy ?

I think this will require root privilege for getting raw sockets etc? But this will be very useful especially for cli apps.

NghiaTranUIT commented 4 years ago

I just did a research. It's possible to get the raw socket from the system level by using Network Kernel or NetworkExtension Framework.

Since it's huge task and and require to install a helper tool in Kernel, so I suppose that not much people would be willing to install it. For instance, AdGuard requires to install and manually install it in Security Tab, and I'm not willing to do it unless I completely trust AdGuard.

Overall, it's great idea to support it. I will put in in a Backlog 👍

shirshak55 commented 4 years ago

I think it should be available to user like me who trust proxyman completely :) And u know the cli apps most people provide dont have proxy options which is really annoying :(

shirshak55 commented 4 years ago

actually it is needed for some user. I wanted to check some suspicious commandline app but they don't use proxy and even they don't use system proxy. It would be better if proxyman can work just like Adguard. Yes there can be trust issue but those who are find with it should have choice to use it?

Easy way to test is just to use firefox and tick on no systemproxy and try to capture request from proxyman.

Thanks.

NghiaTranUIT commented 3 years ago

Hey @shirshak55, if your app doesn't support Proxy, you can use Reverse Proxy to do it 👍

Here is the step:

  1. Setup a Reverse Proxy Rule: For instance, Local Port = 10000, RemoteHost = , Remote Port
  2. Open your app, and change the URL Production to http://localhost:10000
  3. Proxyman will track all traffic from your app as usual 👍
shirshak55 commented 3 years ago

actually, this is not going to work because cli apps don't cooperate and cli apps or some GUI apps don't have proxy information. I am mostly talking from a reverse engineering perspective. Just try firefox with no system proxy option and you still want to enforce traffic from proxy man it seems impossible right? But adguard somehow works idk how.