Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cameroncooke opened this issue May 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cameroncooke
Copy link

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 cameroncooke added the bug Something isn't working label May 23, 2024
@NghiaTranUIT
Copy link
Member

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

@cameroncooke
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants