SSRF Proxy facilitates tunneling HTTP communications through servers vulnerable to Server-Side Request Forgery.
SSRF Proxy facilitates tunneling HTTP communications through servers vulnerable to Server-Side Request Forgery.
SSRF Proxy is a multi-threaded HTTP proxy server designed to tunnel client HTTP traffic through HTTP servers vulnerable to Server-Side Request Forgery (SSRF).
Once configured, SSRF Proxy attempts to format client HTTP requests appropriately for the vulnerable server. Likewise, the server's response is parsed and formatted for the client.
By correctly formatting the client request and stripping unwanted junk from the response it is possible to use SSRF Proxy as a HTTP proxy for web browsers, proxychains, and scanning tools such as sqlmap, nmap, dirb and nikto.
SSRF Proxy also assists with leveraging blind SSRF vulnerabilities to perform time-based attacks, such as blind time-based SQL injection with sqlmap.
Version
Github
https://github.com/bcoles/ssrf_proxy
Wiki
https://github.com/bcoles/ssrf_proxy/wiki
Documentation
http://www.rubydoc.info/github/bcoles/ssrf_proxy
Author
Brendan Coles
Copyright
2015-2017 Brendan Coles
LicenseRuby 2.2.2 or newer.
Ruby Gems:
$ gem install ssrf_proxy…Load the ssrf_proxy library:
require 'ssrf_proxy'Initialize the SSRFProxy::HTTP object:
…Refer to the documentation for additional configuration options.
Once initialized, the SSRFProxy::HTTP object can be used to send HTTP
requests via the SSRF using the send_uri and send_request methods.
# GET via SSRF
ssrf.send_uri('http://127.0.0.1/')
# POST via SSRF
ssrf.send_uri('http://127.0.0.1/', method: 'POST', headers: {}, body: '')
# GET via SSRF (using a raw HTTP request)
ssrf.send_request("GET http://127.0.0.1/ HTTP/1.1\n\n")Refer to the documentation for additional request options.
Refer to the wiki for more information and example usage: https://github.com/bcoles/ssrf_proxy/wiki
Refer to RubyDoc for code documentation: http://www.rubydoc.info/github/bcoles/ssrf_proxy
No open issues yet, or sync has not completed.