summitt / Nope-Proxy

TCP/UDP Non-HTTP Proxy Extension (NoPE) for Burp Suite.
1.52k stars 236 forks source link

Capture TCP traffic through iptables & NoPE #60

Closed duane-zheng closed 1 year ago

duane-zheng commented 2 years ago

Dear Sir Currently, my environment is in kali with a hotspot turned on for the device, the device is in the same network as kali and the phone. Their IP addresses are as follows. kali: 10.42.0.1 APP: 10.42.0.107 Device: 10.42.0.79 Can I forward the traffic going to the device port 6668 to kali's NoPE via iptables? My attempt is as follows. Step 1. iptables -t nat -A PREROUTING -p tcp --dport 6668 -j DNAT --to-destination 10.42.0.1:6668 Step 2 Config the server config: Add server address and server port on that page Step 3: Intercept is ON

But there is no traffic shown in the Burpsuite. Could any guys tell me the reason? Thanks for your help~

duane-zheng commented 2 years ago

It works ~This idea is correct