3 lines
186 B
Bash
Executable File
3 lines
186 B
Bash
Executable File
ip_value=$(curl -s https://dnsleak.com/ | grep "You are connecting from an IPv4 address" -A 2 | grep "text" | awk '{ print $3}')
|
|
echo $ip_value | sed -e 's/value="//g' | sed -e 's/"//g'
|