8000 Burp not capturing traffic from xserver even after intercept proxy has been set · Issue #30 · monkeylord/XServer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Burp not capturing traffic from xserver even after intercept proxy has been set #30

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

Open
Green10026 opened this issue Jun 13, 2023 · 5 comments

Comments

@Green10026 8000
Copy link

No description provided.

@Green10026
Copy link
Author

the setup uses genymotion emulator, I've set a proxy on the PC itself and another proxy on the wifi interface of the emulator, even tried using a proxy on the access point, all to no avail, can you please attend to this and not treat it as mediocre, it has taken alot of my time, thank you

@Green10026
Copy link
Author

Hello can you kindly respond to this, I'm waiting on your reply

@monkeylord
Copy link
Owner

First, you shall make sure that XServer is running in target APP. If XServer is running, you will be able to access it's web page.
There will be several reasons, mostly because hook framework not work properly.

Then, you shall check proxy settings. When method is hooked, XServer will call it though HTTP and the server address will be 127.0.0.1:8000, with system proxy settings.
So, the HTTP traffic should be sent to your proxy, and then come back to XServer's port.
By this way, you can modify parameters and result of hooked method.
However, you should make sure BURP knows where is XServer's port. Mostly it's 127.0.0.1:8000 that BURP will proxy to, so you need to map 127.0.0.1:8000 to the port XServer listens.

Emulator sometimes I use, I use adb to map the port. Instead of set proxy in wifi settings, I use 3 adb command:
'adb forward tcp:8000 tcp:8000' to map XServer's port to PC.
'adb shell settings put global http_proxy 127.0.0.1:8080' to set proxy.
'adb reverse tcp:8080 tcp:8080' to map BURP's listening port to device.

@pharazone
Copy link

I use real android mobile to do this, but nothing to intercept too.

@monkeylord
Copy link
Owner

I use real android mobile to do this, but nothing to intercept too.

Can you open it's web page?
One should keep methodView page open, to have the interception on.

When methodView page open, it has a websocket connection. XServer websocket handler do intercept and proxy, so you must have the websocket connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0