
Google search crawler that collects URLs vulnerable to Apache Struts2 S2-045 (CVE-2017-5638) using configurable keywords and proxy support.
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.
crawler.confbase_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]