Skip to content

About

ping,network,uptime,checker,python

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Ping_Checker

An interactive Python tool that sends HTTP requests to a URL while it varies speed, growth, payload size, stacking, and delay. Use it to find out when a website starts denying requests.

It runs in easy mode (guided prompts) or advanced mode (72 predefined test types).

Features

  • Interactive test runner: sends HTTP requests with configurable parameters.
  • Two modes:
    • Easy: guided prompts for speed, growth, size change, stacking, and delay.
    • Advanced: pick one of the 72 predefined test types.
  • Color-coded output: ANSI colors highlight speed, growth, size, and delay.
  • Live output: prints each response with its elapsed time, a nominal size value (not sent), and progress.
  • Stops on failure: the run ends when requests fail or are denied.

Parameters

The tool varies these attributes:

Parameter Options Description
Speed slow, fast, variable Sets the pacing when Delay is dynamic; no effect when Delay is none or fixed
Growth slow, rapid Sets how fast the nominal size value grows (nothing extra is sent)
Size bigger, same Whether the nominal size value changes (the size is not sent)
Stacking yes, no Sends several stacked pings per iteration (still in testing)
Delay none, fixed, dynamic Adds an artificial delay between requests

Combined, these give 72 unique test types.

Installation

git clone https://github.com/QWavey/Ping_Checker/
cd Ping_Checker
pip install requests

Usage

python Ping_Checker.py --url https://example.com --max_requests 50

The tool then asks you to choose easy mode or advanced mode.

Easy mode

Select mode (easy / advanced): easy
Choose Speed (Options: slow, fast, variable): fast
Choose Growth (Options: slow, rapid): rapid
Choose Size Change (Options: bigger, same): bigger
Choose Stacking (Options: no, yes): yes
Choose Delay (Options: none, fixed, dynamic): dynamic

Advanced mode

Advanced mode lists all 72 predefined test types in a table:

Select mode (easy / advanced): advanced
Select a test type (1-72):
+-----+----------+--------+-------------+----------+---------+
| Num | Speed    | Growth | Size Change | Stacking | Delay   |
+-----+----------+--------+-------------+----------+---------+
| 1   | slow     | slow   | bigger      | no       | none    |
| 2   | slow     | slow   | bigger      | no       | fixed   |
...
Enter test type number (1-72): 15

Example output

=== Running Test ===
Speed: fast, Growth Rate: rapid, Size Change: bigger, Stacking: yes, Delay: dynamic

Ping 3-2: status=200, time=0.045s, nominal size=144B (not sent), Speed: fast, Pings received: 10

Notes

  • The time= value covers the whole request: DNS lookup, TCP and TLS setup (each request opens a new connection), and waiting for the response headers. It is not pure server latency.
  • Use it against test or staging environments. Depending on the settings, it can generate heavy request loads.
  • Don't run it against production systems without permission.
  • The output depends on your network speed and CPU speed.
  • I am not responsible for damage this script causes. Whoever runs it is responsible for their own actions.

Planned

  • An option to hold a specific byte size, for tests that need an exact payload size.

About

ping,network,uptime,checker,python

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages