Skip to main content

Requests for hackers

Project description

ZeroXRequests

Raw Requests for python - without client-side security checking

Intro

With this lib, you can send invalid HTTP characters, invalid headers, duplicated headers, invalid methods, invalid pathnames, etc ...

Very useful for HTTP Request Smuggling vulnerabilities or others exploits that could not be exploited with HTTP libs for devs.

How to use

git clone the repo into your project

Method send_raw:

send_raw(raw_request, port, host, connection_timeout, use_ssl):

from ZeroXRequests import RawRequests

response = RawRequests.send_raw('GET / HTTP/1.1\r\nHost: www.example.com\r\n\r\n', 443, 'www.example.com', 7, True)

print(response)

Method send (Like python request but without security checking):

send(url, method, headers, body, timeout):

from ZeroXRequests import RawRequests

response = send('https://www.example.com', 'GET', {'User-Agent':'ZeroXRequests'}, '', 10)

print(response)

Project details


Download files

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

Source Distribution

ZeroXRequests-1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ZeroXRequests-1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file ZeroXRequests-1.1.tar.gz.

File metadata

  • Download URL: ZeroXRequests-1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for ZeroXRequests-1.1.tar.gz
Algorithm Hash digest
SHA256 de4480fc8133c28b21f68caf39cb33de6333106a2ff361de02d34797456e0ac5
MD5 ab40dcdb4ac5b2a83f3911153e5bda5f
BLAKE2b-256 1233b545fe193211a94633372e4fc4630c97acc4abdc4e5be2dbbf964cba580a

See more details on using hashes here.

File details

Details for the file ZeroXRequests-1.1-py3-none-any.whl.

File metadata

  • Download URL: ZeroXRequests-1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for ZeroXRequests-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96163758e19d92aa2cfcff8609001bbb477b4951af9638f2c38ccac1265e54c8
MD5 00257527afffc337a4d67cf34a7c61ba
BLAKE2b-256 f5962a0217dd4187fe420a619494e91294b956c7baa7fb8e4f5e9d38077e425f

See more details on using hashes here.

Supported by

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