Skip to content

Oh no, stop this. You can see my local IP address 😲! Use `foundation` attribute against CRC32 lookup table to reveal local IP address of a Chrome/Chromium visitor.

Notifications You must be signed in to change notification settings

niespodd/webrtc-local-ip-leak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC Local IP Leak Test 🍌

A demo page that reveals local IP address(es) from RTCIceCandidate.foundation parameter of WebRTC candidate report.

screenshot.png

For more information and the demo: https://niespodd.github.io/webrtc-local-ip-leak/

Lookup tables

This repository includes pre-generated lookup tables for IP-s in subnets:

  • 192.168.0.0/16
  • 10.0.0.0/8
  • 172.16.0.0/12
  • (extra) 172.0.0.1 - 172.255.255.1 (0-255 for the two middle bytes) this allows detection of local WSL subnet on Windows hosts

The output is split into chunks in db/[0-999].json.gz because a single file weights easily over 100-s of MBs and loading such in a browser would be (very likely?) painful. Pardon Github!

Use python lookup_gen.py to generate your own. There are (only as little as) 255^4 IPv4 so all possible combinations could be generated as well.

🛒 Cross-selling

You may also be interested in:

About

Oh no, stop this. You can see my local IP address 😲! Use `foundation` attribute against CRC32 lookup table to reveal local IP address of a Chrome/Chromium visitor.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •