Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2207412

Browse files
committed
Removed one port from nmap discovery.
1 parent ebee409 commit 2207412

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

discover.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ echo
420420
echo $medium
421421
echo
422422

423-
nmap --randomize-hosts -iL $location --excludefile $excludefile --privileged -n -PE -PS21-23,25,53,80,110-111,135,139,143,443,445,993,995,1723,3306,3389,5900,8080 -PU53,67-69,123,135,137-139,161-162,445,500,514,520,631,1434,1900,4500,5353,49152 -$S -$U -O --osscan-guess --max-os-tries 1 -p T:$tcp,U:$udp --max-retries 2 --min-rtt-timeout 100ms --max-rtt-timeout $maxrtt --initial-rtt-timeout 500ms --defeat-rst-ratelimit --min-rate 450 --max-rate 15000 --open --stats-every 30s -g $sourceport --scan-delay $delay -oA $name/nmap
423+
nmap --randomize-hosts -iL $location --excludefile $excludefile --privileged -n -PE -PS21-23,25,53,80,110-111,135,139,143,443,445,993,995,1723,3306,3389,5900,8080 -PU53,67-69,123,135,137-139,161-162,445,500,514,520,631,1434,1900,4500,49152 -$S -$U -p T:$tcp,U:$udp -O --osscan-guess --max-os-tries 1 --max-retries 2 --min-rtt-timeout 100ms --max-rtt-timeout $maxrtt --initial-rtt-timeout 500ms --defeat-rst-ratelimit --min-rate 450 --max-rate 15000 --open --stats-every 30s -g $sourceport --scan-delay $delay -oA $name/nmap
424424

425425
if [[ -n $(grep '(0 hosts up)' $name/nmap.nmap) ]]; then
426426
rm -rf "$name" tmp*

0 commit comments

Comments
 (0)