u
This commit is contained in:
9
portscan-mac.sh
Normal file
9
portscan-mac.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
if [ "$1" ]
|
||||
then
|
||||
PORT=$1
|
||||
else
|
||||
echo "=== 需要查看的端口号:"
|
||||
read -p ">>> " PORT
|
||||
fi
|
||||
|
||||
lsof -i tcp:$PORT
|
||||
Reference in New Issue
Block a user