HTTP/2 Single Packet Attack low level library based on Scapy
Project description
H2SpaceX
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
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 Distribution
h2spacex-0.1.14.tar.gz
(22.5 kB
view details)
Built Distribution
h2spacex-0.1.14-py3-none-any.whl
(22.3 kB
view details)
File details
Details for the file h2spacex-0.1.14.tar.gz
.
File metadata
- Download URL: h2spacex-0.1.14.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5b5955b33c8be0fe4bbd907c761e8af63c7d9f061a8862d46c8c60ff659db6 |
|
MD5 | 955923f6e9037379085f2e34d2d83dd2 |
|
BLAKE2b-256 | bf3cbd05d96772b4cff3bb9a0fa4bbbcfabab04720c3e4813580659b2e9d2de6 |
File details
Details for the file h2spacex-0.1.14-py3-none-any.whl
.
File metadata
- Download URL: h2spacex-0.1.14-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbc61012e7ed1451f1ae0cae94defd78b8b6934aa3496a97399017a9c99a110a |
|
MD5 | fc32294171a8571d39028f00f1da0188 |
|
BLAKE2b-256 | 89099a05a3e7626855638ee441229ade3439d3c51b8171f3dd5519c6da34cb5e |