Giter VIP home page Giter VIP logo

cve-2020-1938tomcatajpscanner's Introduction

CVE-2020-1938TomcatAjpScanner

批量扫描TomcatAJP漏洞

漏洞详情

2020年1月6日,国家信息安全漏洞共享平台(CNVD)收录了Apache Tomcat文件包含漏洞(CNVD-2020-10487,对应CVE-2020-1938)。攻击者利用该漏洞,可在未授权的情况下远程读取特定目录下的任意文件。目前,漏洞细节尚未公开,厂商已发布新版本完成漏洞修复。

漏洞分析

https://mp.weixin.qq.com/s/8Wueh4lkKBtfNisjxOSoWA

脚本使用

python CVE-2020-1938TomcatAjpScanner -h 可以查看使用说明 usage: CVE-2020-1938TomcatAjpScanner.py [-h] [-p PORT] [-f FILE] [-z ZIZHAN] target

使用方法:python CVE-2020-1938TomcatAjpScanner.py target [-p port] 其中target为ip地址,形式可以为字符串或者文件; 扫描结果将存放在当前路径下的result.txt中 支持python3

positional arguments: target Hostname or IP to attack---Support Inputting a txt file

optional arguments: -h, --help show this help message and exit -p PORT, --port PORT AJP port to attack (default is 8009) -f FILE, --file FILE file path :(WEB-INF/web.xml) -z ZIZHAN, --zizhan ZIZHAN zizhan path :(woaiqiukui)

[!]注意:使用时注意文件名冲突问题,为防止出现内容冲突,重复使用时请提前手动清空result.txt文件
[!]注意:请注意传递的ip的正确格式,不要传递一个目录

使用演示

这里使用的是本地搭建的apache-tomcat-7.0.86
  • usage:
    image

  • test.txt:
    image

  • display:
    image

  • result.txt:
    image

cve-2020-1938tomcatajpscanner's People

Contributors

woaiqiukui avatar

Stargazers

 avatar Lay0us avatar leslie avatar Komomon avatar 5l1v3r1 avatar Dusti Goodwin avatar anonymous avatar Antares avatar  avatar 秋冥虫吟 avatar  avatar yu-lc avatar  avatar Peter Campbell avatar Diazrael avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

hahasec 5l1v3r1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.