zoukankan      html  css  js  c++  java
  • 使用nmap查看web服务支持的http methods

    安装nmap

    yum install nmap

    查看web server支持的http methods

    u02 ~]$ nmap -p 443 --script http-methods www.somewhere.cn
    
    Starting Nmap 6.40 ( http://nmap.org ) at 2017-05-24 17:16 CST
    Nmap scan report for www.somewhere.cn (60.20.31.68)
    Host is up (0.0065s latency).
    PORT    STATE SERVICE
    443/tcp open  https
    | http-methods: GET HEAD POST PUT DELETE TRACE OPTIONS PATCH
    | Potentially risky methods: PUT DELETE TRACE PATCH
    |_See http://nmap.org/nsedoc/scripts/http-methods.html
    
    Nmap done: 1 IP address (1 host up) scanned in 0.43 seconds

    如果web server不支持OPTIONS方法, 则会返回

    u02 ~]$ nmap -p 443 --script http-methods m.somewhere.cn
    
    Starting Nmap 6.40 ( http://nmap.org ) at 2017-05-24 17:15 CST
    Nmap scan report for m.somewhere.cn (60.25.311.71)
    Host is up (0.0070s latency).
    PORT    STATE SERVICE
    443/tcp open  https
    |_http-methods: No Allow or Public header in OPTIONS response (status code 403)
    
    Nmap done: 1 IP address (1 host up) scanned in 0.62 seconds
  • 相关阅读:
    MySql
    Docker
    达观数据
    Python面试题
    用Python构造ARP请求、扫描、欺骗
    git上传简单的命令行分析
    vue2自定义指令的作用
    自定义指令详解 vue
    文档打印 js
    通过Export2Zip实现表格内容下载成为excel文件
  • 原文地址:https://www.cnblogs.com/milton/p/6900022.html
Copyright © 2011-2022 走看看