0
1
S
T
U
N
I
P
#
$

STUN
IP extraction via P2P calls.

For security research and educational purposes only. Use responsibly.

A Go-based network analysis tool that captures IP addresses from P2P voice and video calls by intercepting STUN/TURN packets.

[ DOWNLOAD ] [ HOW IT WORKS ]
STUN PROTOCOL
P2P TARGET
GO LANGUAGE
1.16+ VERSION

HOW_IT_WORKS

0xDEADBEEF

STUN PACKET CAPTURE

Uses tshark (Wireshark CLI) to monitor network traffic and capture STUN Binding Request/Response packets that contain IP address information.

P2P CALL INTERCEPTION

When a P2P call is initiated (WhatsApp, Telegram, etc.), the application establishes direct connection between peers, exposing real IP addresses in STUN negotiation.

IP EXTRACTION

Parses XOR-MAPPED-ADDRESS attributes from STUN packets to extract both public and private IP addresses of the remote peer.

REAL-TIME DISPLAY

Outputs discovered IP addresses in real-time with timestamps, allowing immediate identification of peer locations.

DEPENDENCIES

0xCAFEBABE

Go 1.16+

Go programming language version 1.16 or higher required for compilation.

tshark

Wireshark command-line tool for packet capture. Auto-installs on macOS, Debian/Ubuntu, CentOS/RHEL.

Go Packages

golang.org/x/term, golang.org/x/sys - Terminal handling and system calls.

macOS / Linux

Tested on macOS (with Homebrew) and Linux distributions. Windows support limited.

COMMAND_LINE

0x8BADF00D
leak
macbook_compiled % sudo ./leak
Enter password: *******
[ LEAK // IP EXTRACTION TOOL ]
===============================
IP LEAK DETECTION SYSTEM v2.0.1
[ DATASEC PRODUCT ]
[!] PRIVACY BREACH DETECTOR ONLINE
[>] Real-time STUN protocol surveillance
[>] Hunting for IP leakage...
[SYSTEM STATUS] ARMED AND READY
[CTRL+C] Terminate scan
[~] Network interface: en0
[~] STUN protocol filters deployed
[DATASEC] Initiating deep packet inspection...
[@] Hunting for privacy breaches

GET_LEAK

0x1337C0DE

Compiled binary for macOS & Linux. Requires root/sudo for packet capture.

[ DOWNLOAD BINARY ]