Skip to content

Demonstrates race conditions with asyncio & httpx. Sends concurrent HTTP requests, highlighting unpredictable outcomes.

Notifications You must be signed in to change notification settings

sayfpack13/race-condition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Race Condition Script

This script sends parallel HTTP requests but does not specifically demonstrate a race condition scenario where the outcome depends on the timing of the requests, such as with the "last byte wins" scenario.

Caution: This script is provided for educational purposes only. Race conditions can lead to unpredictable behavior and should be handled with caution. It is important to understand the implications of race conditions in concurrent programming. and do not use this script on platforms like Twitter or Facebook... as it may violate their terms of service.

Proof

(https://mmgc.live/topic/79-free-netflix-account-cookies/#comment-156) Proof

Usage

  1. Install Dependencies:
    pip install httpx
    

Requirements

Configuration

  • URL (url): Modify the url variable to specify the target URL where the requests will be sent.

  • HTTP Method (method): Set the method variable to either "post" or "get" to determine the type of HTTP request to be sent.

  • Request Count (count): Adjust the count variable to specify the number of concurrent requests to be sent.

  • Headers (headers): Customize the headers dictionary to include any additional headers required for your requests.

  • Request Body (body): Modify the body list to include different request bodies. Currently, it contains an empty string, but you can add more bodies if needed.

About

Demonstrates race conditions with asyncio & httpx. Sends concurrent HTTP requests, highlighting unpredictable outcomes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages