Lorsrf - SSRF Parameter Bruteforce


Bruteforcing on Hidden parameters to find SSRF vulnerability using GET and POST Methods


NOTE

install
  • download it
➜  git clone https://github.com/knassar702/lorsrf➜  cd lorsrf➜  sudo pip3 install requests flask

Steps :

Ngrok
  • run your ngrok ./ngrok http 9090
  • run server.py script and add ngrok port python3 server.py 9090
  • run lorsrf.py and add ngrok host using -s option

requestbin.com

How can i use it .?

cat YOUR_LIST.txt | python3 lorsrf.py -t URL_TARGET -s YOUR_HOST -w wordlist.txt


Examples :
$ cat paramters.txt | python3 lorsrf.py -t http://target.com -s http://53252.ngrok.io
  • add threads
$ cat paramters.txt | python3 lorsrf.py -t http://target.com -s http://53252.ngrok.io --threads=50
  • add timeout
$ cat paramters.txt | python3 lorsrf.py -t http://target.com -s http://53252.ngrok.io --timeout=4
  • add cookies
$ cat paramters.txt | python3 lorsrf.py -t http://target.com -s http://53252.ngrok.io -c 'user=5&PHPSESSION=5232'
$ cat headers.txtCookie: test=1Auth: Basic TG9yU3JmCg==$ cat parameters.txt | python3 lorsrf.py -f headers.txt -s 'http://myhost.com' -t 'http://ssrf.hack.com'---------------------GET /?parameter={YOUR_HOST} HTTP/1.1Host: targer.comCookie: test=1Auth: Basic TG9yU3JmCg==
  • Follow redirects
$ cat paramters.txt | python3 lorsrf.py -t http://target.com -s http://53252.ngrok.io -r

Testing
python3 lorsrf.py -t 'http://testphp.vulnweb.com/showimage.php' -s 'https://YOUR_HOST.com' -w parameters.txt





Via: feedproxy.google.com
Lorsrf - SSRF Parameter Bruteforce Lorsrf - SSRF Parameter Bruteforce Reviewed by Anónimo on 8:33 Rating: 5