leebaird / discover

Custom bash scripts used to automate various penetration testing tasks including recon, scanning, enumeration, and malicious payload creation using Metasploit. For use with Kali Linux.
MIT License
3.39k stars 820 forks source link

delay and -g #198

Closed sec13b closed 1 year ago

sec13b commented 1 year ago

Remote Desktop sudo nmap -iL $name/3389.txt -Pn -n --open -p3389 --script-timeout 20s --script=rdp-vuln-ms12-020,rdp-enum-encryption,rdp-ntlm-info --min-hostgroup 100 -g $sourceport --scan-delay $delay > tmp

i dont understand -g what is exactly, can show a example ? , and what is the best delay you use for pentest

thank you

leebaird commented 1 year ago

-g source port: Internal scans: set to 88 for Kerberos External scans: set to 53 for DNS

Both of these options are automatically set when you choose internal or external scan.