Skip to content

yangbh/pyAntiSSRF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyAntiSSRF

anti ssrf by hijack requests

supports py2 & py3

install

pip install pyAntiSSRF

usage

import pyAntiSSRF

pyAntiSSRF.patchRequests()

import requests

# custom requests usage
requests.get("http://10.10.10.10/")

# patch requests by hijack requests.sessions.Session.request, default disable
requests.get("http://10.10.10.10/", anti_ssrf=False)

# raise Exception
requests.get("http://10.10.10.10/", anti_ssrf=True)

Releases

No releases published

Packages

No packages published

Languages