Skip to main content

python anti ssrf by hijack requests

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pyAntiSSRF-0.0.3-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

pyAntiSSRF-0.0.3-py2-none-any.whl (4.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page