Skip to content

Instantly share code, notes, and snippets.

View vistad's full-sized avatar

Victor Stadnichenko vistad

View GitHub Profile
@vistad
vistad / ipleak.sh
Created November 19, 2024 11:58 — forked from AriPerkkio/ipleak.sh
ipleak.net CLI
#!/bin/bash
echo "IP"
curl -s https://ipv4.ipleak.net/json/ | grep -E 'country|city|region|continent|ip'
echo -e "\nDNS"
for i in {1..5}
do
HASH=$(head /dev/urandom | tr -dc a-z0-9 | head -c 39 ; echo '')
echo $(curl -s https://1$HASH.ipleak.net/dnsdetect/) &
create gist