Sploitus

Exploit Code

MARKDOWN155 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-HAHWUL-A2SV
![MIT License](https://img.shields.io/badge/license-MIT-blue.svg) ![](https://assets.kitploit.com/production/public/readmes/942/64d6138f3015bc68028e7385a2970bdb29309e2b8d4bf288af805aa6c7080e12.png)

## 1\. A2SV?

自动扫描SSL漏洞。

HeartBleed、CCS注入、SSLv3 POODLE、FREAK……等。

A. 支持的漏洞

root@kitploit:~
    
    
    - CVE-2007-1858] 匿名密码
    - CVE-2012-4929] CRIME(SPDY)
    - CVE-2014-0160] CCS注入
    - CVE-2014-0224] HeartBleed
    - CVE-2014-3566] SSLv3 POODLE
    - CVE-2015-0204] FREAK攻击
    - CVE-2015-4000] LOGJAM攻击
    - CVE-2016-0800] SSLv2 DROWN
    

B. 开发计划

root@kitploit:~
    
    
    - 计划] SSL ACCF
    - 计划] SSL信息分析
    

## 2\. 如何安装?

A. 下载(克隆)和解压A2SV

root@kitploit:~
    
    
    $ git clone https://github.com/hahwul/a2sv.git
    $ cd a2sv
    

B. 安装Python包/OpenSSL

root@kitploit:~
    
    
    $ pip install argparse
    $ pip install netaddr
    
    $ apt-get install openssl
    

C. 运行A2SV

root@kitploit:~
    
    
    $ python a2sv.py -h
    

## 3\. 如何使用?

root@kitploit:~
    
    
    usage: a2sv [-h] [-t TARGET] [-tf TARGETFILE] [-p PORT] [-m MODULE]
    [-d DISPLAY] [-u] [-v]
    
    optional arguments:
      -h, --help            显示此帮助信息并退出
      -t TARGET, --target TARGET
                            目标URL或IP地址
                            $ e.g -t 127.0.0.1
      -tf TARGETFILE, --targetfile TARGETFILE
                            目标文件(列表)URL或IP地址
                            $ e.g -tf ./target.list
      -p PORT, --port PORT  自定义端口/默认:443
                            $ e.g -p 8080
      -m MODULE, --module MODULE
                            使用单个模块检查SSL漏洞
                            [anonymous]: https://raw.githubusercontent.com/hahwul/a2sv/HEAD/%E5%8C%BF%E5%90%8D%E5%AF%86%E7%A0%81
                            [crime]: https://raw.githubusercontent.com/hahwul/a2sv/HEAD/CRIME%EF%BC%88SPDY%EF%BC%89
                            [heart]: https://raw.githubusercontent.com/hahwul/a2sv/HEAD/HeartBleed
                            [ccs]: https://raw.githubusercontent.com/hahwul/a2sv/HEAD/CCS%E6%B3%A8%E5%85%A5
                            [poodle]: SSLv3 POODLE
                            [freak]: OpenSSL FREAK
                            [logjam]: OpenSSL LOGJAM
                            [drown]: SSLv2 DROWN
      -d DISPLAY, --display DISPLAY
                            显示输出
                            [Y,y] 显示输出
                            [N,n] 隐藏输出
      -o OUT, --out OUT     将结果写入文件
                            $ e.g -o /home/yourdir/result.txt
      -u, --update          更新A2SV(GIT)
      -v, --version         显示版本
    
    

[扫描SSL漏洞]

root@kitploit:~
    
    
    $ python a2sv.py -t 127.0.0.1
    
    $ python a2sv.py -t 127.0.0.1 -m heartbleed
    
    $ python a2sv.py -t 127.0.0.1 -d n
    
    $ python a2sv.py -t 127.0.0.1 -p 8111
    
    $ python a2sv.py -tf target_list.txt
    
    

[更新A2SV]

root@kitploit:~
    
    
    $ python a2sv.py -u
    
    $ python a2sv.py --update
    
    

## 4\. 支持

由于这是一个我没有太多精力关注的项目,回复速度非常慢。

## 5\. 捐赠

我喜欢咖啡!我是个咖啡上瘾者。  
![](https://www.paypalobjects.com/digitalassets/c/website/logo/full-text/pp_fc_hl.svg) ![Buy Me A Coffee](https://assets.kitploit.com/production/public/readmes/942/56bc6586ee8d5a934750957d1d15bf5ac2bb398d3c3bff0a78114df20e89687e.png)

## 6\. 截图

![](https://assets.kitploit.com/production/public/readmes/942/725cbaaf4b2de8518723690d6556038d9b1ad6bd41376a24c4e719c1b8ca75be.png) ![](https://assets.kitploit.com/production/public/readmes/942/10010dad6875776e623d8399e11a5b8a21d6d12d766da0d90a476b2e570e655e.png)

## 7\. 代码参考网站

root@kitploit:~
    
    
    - poodle : https://github.com/supersam654/Poodle-Checker
    
    - heartbleed : https://github.com/sensepost/heartbleed-poc
    
    - ccs injection : https://github.com/Tripwire/OpenSSL-CCS-Inject-Test
    
    - freak : https://gist.github.com/martinseener/d50473228719a9554e6a