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.9.tar.gz
(15.1 kB
view details)
Built Distribution
h2spacex-0.1.9-py3-none-any.whl
(14.8 kB
view details)
File details
Details for the file h2spacex-0.1.9.tar.gz
.
File metadata
- Download URL: h2spacex-0.1.9.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a7259fb1f387d9f7a6b467a23ef8b93c99b262926efe86d8ef2e46bc8a3f574 |
|
MD5 | 7373452c40cb2c4216bb486ba998fd8a |
|
BLAKE2b-256 | abf81420d4cf144da0b5c6aa5b1a46fdcb1f2fe5b06651458ff7b7b816919b3d |
File details
Details for the file h2spacex-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: h2spacex-0.1.9-py3-none-any.whl
- Upload date:
- Size: 14.8 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 | 6754246cfdfbad61a751298b687f4bc577fbe9f38293dbbca3f0624967e07f4a |
|
MD5 | 9fd98a06b292ed9c76807d9de9551175 |
|
BLAKE2b-256 | 28d13cad9a1c25abebb9e2873c43a403e1c6a7f50417163e4c128d38a900492b |