Skip to main content

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

Project description

Scapy   H2SpaceX

pypi: 0.1.12 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
  • Response Parsing
    • implement
    • implement threaded response parser
    • Body Decompression
      • gzip
      • br
      • deflate

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.12.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

h2spacex-0.1.12-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: h2spacex-0.1.12.tar.gz
  • Upload date:
  • Size: 22.5 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.12.tar.gz
Algorithm Hash digest
SHA256 5a7e72c799a50838725de5746c02395274c1e46155f3f005500a4fd5e236d9a7
MD5 2d0f06a9e9650bd0793745a172ba7dea
BLAKE2b-256 e2c1829a710e002a23cd35fdf003dfcf9ee182e61a05d37e88c9c3c6206cdc6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: h2spacex-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 865e50c0e8edd9685a94e0a811960c81c37175445147bb912be9393501ebb815
MD5 6d46fa0c1a2417b34df4f93397c50bdd
BLAKE2b-256 419fafea62ef414ed7f01a7501e1a089a4bd081a5b51937cc394e79333658e65

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