I know that a lot of VPN users have it as a homepage to their browser, that is why I wanted to publish this warning.

You can replace it with:

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 7 months ago

For us Linux users (BTW), this wtfismyip script just dumps a text string. Just save it to /usr/local/bin or some other location in your path and make it executable, and install the lynx text www browser if you don't have it installed already.

There are a lot of ways to do this, but this works and I'm lazy...

root@tux:~# cat $(which wtfismyip)
#!/bin/bash

printf "%s\n" "Your fucking IP address is $(lynx -dump -nolist http://wtfismyip.com/text)."
root@tux:~# wtfismyip
Your fucking IP address is 13.107.226.41.
  • source