Skip to main content

Tiny package to test webraceconditions

Project description

webracecondition

Tiny package to test webraceconditions

:warning: This is for educational purpose. Do not try on live servers without permission!

Install

pip install webracecondition

Last-Frame-Sync Attack

from webracecondition import Engine, Request

engine = Engine("https://your-target.com")
for i in range(20):
    engine.add_request(Request("GET", "/demo"))

for roundtrip in engine.last_frame_sync_attack():
    print(roundtrip)

Dependant-Streams Attack

from webracecondition import Engine, Request, LongRunningChain

engine = Engine("https://your-target.com")

for i in range(20):
    engine.add_request(Request("GET", "/demo")

chain = LongRunningChain(Request("GET", "/long"))
for i in range(10):
    chain.add_request(chain.root)

for roundtrip in engine.dependant_streams_attack(chain):
    print(roundtrip)

License

MIT

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

webracecondition-0.0.9.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

webracecondition-0.0.9-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

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