Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Breakpoints/Map Local etc not working when using Atlantis over Personal Hotspot

Open cameroncooke opened this issue 1 year ago • 4 comments

Description

I'm using the Personal Hotspot feature of iOS between my laptop and iPhone and then using Atlantis to capture traffic. While I can see requests in Proxyman my enabled breakpoints are not triggering.

Map Local also doesn't work so it's likey neither does Map Remote but I haven't gone that far as testing.

Steps to Reproduce

  1. Connect a Mac and Phone using the phone's personal hotspot feature
  2. Install Atlantis as per the install instructions
  3. Enable Breakpoints and create a breakpoint for a URL that the app will making a request of

Current Behavior

See above.

Expected Behavior

Breakpoint to be executed

Environment

  • App version: Version 5.3.0 (50300)
  • macOS version: e.g macOS Sonoma 14.5 (23F79)

cameroncooke avatar May 23 '24 12:05 cameroncooke

it's how Atlantis works.

Atlantis doesn't perform any mitm-proxy, so it's not capable of modifying data by using Map Local, Breakpoint, etc

Atlantis, performs the method swizzling on URLSessions's methods on runtime -> Capture the data -> Send to Proxyman for previewing. As a result, it works out of the box, no need to install any certificates or configure the proxy.

It's a known limitation, and I don't have any solution to fix it.

Here is the summary:

  • To intercept/modify request/response -> Use normal proxy (with certificate)
  • To inspect data without certificate/proxy -> Use Atlantis

NghiaTranUIT avatar May 23 '24 13:05 NghiaTranUIT

Ah I see, that's not clear at all in the Proxyman setup UI, so it's assumed it has all the same functionality. Not an issue though I guess I can't do peer to peer proxying 😢

cameroncooke avatar May 23 '24 14:05 cameroncooke

Might be worth under the bullet points of the supported capability just listing what it isn't capable of doing, I assumed it was a magic bullet.

cameroncooke avatar May 23 '24 14:05 cameroncooke

Just realised I can do breakpoints in iOS app, can I import my breakpoint settings from Mac?

cameroncooke avatar May 23 '24 14:05 cameroncooke