New network info script

This commit is contained in:
2024-04-07 23:24:02 +01:00
parent 8f52625d88
commit 241e4abb61
2 changed files with 12 additions and 0 deletions

10
scripts/network.sh Executable file
View File

@@ -0,0 +1,10 @@
echo "PUBLIC IP:"
wget -qO - https://api.ipify.org; echo
echo
echo "TOR PUBLIC IP:"
torsocks wget -qO - https://api.ipify.org; echo
echo
echo "OPEN PORTS:"
sudo ss -tupln