http-cors
脚本使用类型:
portrule
脚本所属分类:
default, discovery, safe
脚本下载地址: http://nmap.org/svn/scripts/http-cors.nse
Tests an http server for Cross-Origin Resource Sharing (CORS), a way for domains to explicitly opt in to having certain methods invoked by another domain.
The script works by setting the Access-Control-Request-Method header field for certain enumerated methods in OPTIONS requests, and checking the responses.
The path to request. Defaults to
/
.
The origin used with requests. Defaults to
example.com
.
执行格式
nmap -p 80 --script http-cors <target>
80/tcp open |_cors.nse: GET POST OPTIONS
Author: Toni Ruottu
License: VER007 整理 http://www.ver007.com