New network info script

This commit is contained in:
2024-04-07 23:24:02 +01:00
parent 1697f3ff82
commit e03d4f1581
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