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
Release history Release notifications | RSS feed
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
Close
Hashes for pyAntiSSRF-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc09a23dd1ad0114a90c943981728b387b668cd0be9d4d7919584e3c4a4ff478 |
|
MD5 | cda964f95356055a2ae970c9a419a62d |
|
BLAKE2b-256 | a81bca75be737e47957019b825182bc30fc1126436c5ab1e65db1e9de09c88b1 |
Close
Hashes for pyAntiSSRF-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95b7e7618b538102ef384de4aee0804916d227f6b05af888f013ecc523883de |
|
MD5 | 1b947dc9edcacc5bc3d4fe32696ba566 |
|
BLAKE2b-256 | 952f25ad94d301085dd9d71c0b3ab2c374418ca300518d91a159038ddb97a41a |