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.0.tar.gz (1.8 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.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ZeroXRequests-1.0.tar.gz
Algorithm Hash digest
SHA256 eba891cdf64426e38db8fa7e068f1c7cf715b8f81c896455dc61863b08292ba8
MD5 5ea6ad7d2688fa41af242a965471c55c
BLAKE2b-256 7106f74b66c6e1dcc1edb2d0a34ca68cba22f519ff8607891a63d7c3e75e1e24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ZeroXRequests-1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf3062e6b17be0e967f414f0aec41665d630e9d4b5b0677d78dc6cfb1fcfceb9
MD5 a876816104898b87ba1a53148fd782fe
BLAKE2b-256 d7e6aa7aac8d2cf27f87df4ccbe812b4b71df0b4524f999e877fd7ef41aefd3b

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