Skip to content

ImBearChild/tarpitd.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tarpitd.py

中文

Tarpitd.py will partly simulate common internet services, for an instance, HTTP, but respond in a way that may make the client not work properly, slowing them down or making them crash.

Qucik start

Note: tarpitd.py require Python 3.11 or above!

Just download the script and run it:

wget --output-document tarpitd.py \
https:/ImBearChild/tarpitd.py/raw/main/src/tarpitd.py

python ./tarpitd.py -s endlessh:0.0.0.0:2222

Now an endlessh tarpit is running on your host listening port 2222.

Install

You don't need to run pip install or git clone. Just download the script called tarpitd.py in this repo, and put it somewhere you see fit.

If you want it act like an executable binary, put it inside your $PATH (usually /usr/local/bin or ~/.local/bin), and make it executable by chmod +x.

In case that you still want an installation with pip:

pip install \
git+https:/ImBearChild/tarpitd.py.git@main

Document

For online usage document, please refer to tarpitd.py(7) and tarpitd.py(1).

Or you can refer to embedded manual page, if you have the script downloaded:

python tarpitd.py --manual tarpitd.py.7

or you can just use text editor open this script.

About

making a port into tarpit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages