Skip to main content

HTTP/2 Single Packet Attack low level library based on Scapy

Project description

Scapy   H2SpaceX

pypi: 0.1.8.1 Python: 3.10 License: GPL v3

HTTP/2 Single Packet Attack (Race Condition) low level library based on Scapy

TODO

  • Single Packet Attack - POST &...
    • implement
    • test functionality on different H2 frameworks
  • Single Packet Attack - GET
    • implement
    • Content-Length: 1 Method
    • POST Request with x-override-method: GET header
    • test functionality on different H2 frameworks
  • Threading Response Parsing
    • implement

Installation

H2SpaceX works with Python 3 (preferred: >=3.10)

pip install h2spacex

Quick Start

You can import the HTTP/2 TLS Connection and set up the connection. After setting up the connection, you can do other things:

from h2spacex import H2OnTlsConnection

h2_conn = H2OnTlsConnection(
    hostname='http2.github.io',
    port_number=443
)

h2_conn.setup_connection()
...

see more examples in Wiki Page

References & Resources

I also got some ideas from a previous developed library h2tinker.

Finally, thanks again to James Kettle for directly helping and pointing some other techniques.

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

h2spacex-0.1.8.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

h2spacex-0.1.8.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file h2spacex-0.1.8.1.tar.gz.

File metadata

  • Download URL: h2spacex-0.1.8.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for h2spacex-0.1.8.1.tar.gz
Algorithm Hash digest
SHA256 af516568b2a7437d786d2d600026e183d208f23c5ab4c0c8f4f5ac862641b28d
MD5 7796b978a5d0feb3215f0070f9ba5314
BLAKE2b-256 bce5fc29e5d6a6625a848e2f6e1cceaef123c790c0d38c644a51912c058e6140

See more details on using hashes here.

File details

Details for the file h2spacex-0.1.8.1-py3-none-any.whl.

File metadata

  • Download URL: h2spacex-0.1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for h2spacex-0.1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90751c724b9de630774278ea139a6cab196bea26eff278e8bd4fc1333286adc5
MD5 210bba37f49a340ff1ec879bf82edd66
BLAKE2b-256 1bf4ddfa4d9588ad1fac050161f8f2215fb64d49af094b6487b5947431b58f0c

See more details on using hashes here.

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