add port scan
This commit is contained in:
parent
be0d92ebc1
commit
63a62572f2
9
scripts/port-scan
Executable file
9
scripts/port-scan
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
for port in {20..10000}
|
||||
do
|
||||
|
||||
(echo > /dev/tcp/$1/$port) &>/dev/null && echo Port $port open
|
||||
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user