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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyAntiSSRF-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pyAntiSSRF-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.19.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc09a23dd1ad0114a90c943981728b387b668cd0be9d4d7919584e3c4a4ff478
|
|
| MD5 |
cda964f95356055a2ae970c9a419a62d
|
|
| BLAKE2b-256 |
a81bca75be737e47957019b825182bc30fc1126436c5ab1e65db1e9de09c88b1
|
File details
Details for the file pyAntiSSRF-0.0.3-py2-none-any.whl.
File metadata
- Download URL: pyAntiSSRF-0.0.3-py2-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.19.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c95b7e7618b538102ef384de4aee0804916d227f6b05af888f013ecc523883de
|
|
| MD5 |
1b947dc9edcacc5bc3d4fe32696ba566
|
|
| BLAKE2b-256 |
952f25ad94d301085dd9d71c0b3ab2c374418ca300518d91a159038ddb97a41a
|