CVE-2017-5638# S2-Reaper
This project is used to collect vulnerable URLs that affected by Struts2 S2-045 from the Google search results.
## Usage
```
python reaper.py
```
## About
The `reaper.py` will run a google search crawler with keywords definded at `crawler.conf` to find vulnerable URLs.
### `crawler.conf`
`base_url` : the basic google search url
`keyword` : e.g. site:gov ext:action
`expect_num` : expect search results to be crawlered
`http/socks` : set a HTTP/SOCKS5 proxy for the crawler
## Dependence
You need to run the following command to install requirements.
```
pip install beautifulsoup4 requests
```
If you want to use a SOCKS5 proxy, then install requests[socks] with pip.
```
pip install requests[socks]
```
## Reference
>
> https://github.com/meibenjin/GoogleSearchCrawler
>
> http://www.freebuf.com/sectool/129224.html
>
[4.0K] /data/pocs/e528ff405a69443ad29617754c49701c65037dec
├── [ 189] crawler.conf
├── [ 34K] LICENSE
├── [ 853] README.md
├── [ 10K] reaper.py
└── [ 690] user_agents.txt
0 directories, 5 files