This project is used to collect vulnerable URLs that affected by Struts2 S2-045 from the Google search results.
python reaper.py
The reaper.py
will run a google search crawler with keywords definded at crawler.conf
to find vulnerable URLs.
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
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]