This commit is contained in:
luk.lu
2022-12-26 17:56:32 +08:00
parent 3e513801bd
commit 45edb0c583
14 changed files with 80 additions and 77 deletions

9
portscan-mac.sh Normal file
View File

@@ -0,0 +1,9 @@
if [ "$1" ]
then
PORT=$1
else
echo "=== 需要查看的端口号:"
read -p ">>> " PORT
fi
lsof -i tcp:$PORT