ShadowArch/Shared/whatismyip

3 lines
134 B
Bash
Executable File

#!/bin/bash
/usr/bin/lynx -connect_timeout=5 -read_timeout=5 --dump whatismyipaddress.com | grep '/ip/' | head -n 1 | cut -f 5 -d '/'