HOME>>>>>>>>>

File http-put

脚本使用类型: portrule
脚本所属分类: discovery, intrusive
脚本下载地址: http://nmap.org/svn/scripts/http-put.nse

User Summary

Uploads a local file to a remote web server using the HTTP PUT method. You must specify the filename and URL path with NSE arguments.

Script Arguments

http-put.file

- The full path to the local file that should be uploaded to the server

http-put.url

- The remote directory and filename to store the file to e.g. (/uploads/file.txt)

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

http.max-cache-size, http.max-pipeline, http.pipeline, http.useragent

See the documentation for the http library.

Example Usage

执行格式

nmap -p 80 <ip> --script http-put --script-args http-put.url='/uploads/rootme.php',http-put.file='/tmp/rootme.php'

Script Output

PORT     STATE SERVICE
PORT   STATE SERVICE
80/tcp open  http
|_http-put: /uploads/rootme.php was successfully created

Requires


Author: Patrik Karlsson

License: VER007 整理 http://www.ver007.com