Raw HTTP Echo Server
Project description
waitress-raw
Raw HTTP Echo Server For Security Researchers and HTTP Debug
Installation
Prerequisites
- Python 3.7+.
- waitress (https://docs.pylonsproject.org/projects/waitress/en/latest/).
From pip
pip3 install waitress-raw
From Docker
docker pull realgam3/waitress-raw
From Source
git clone https://github.com/realgam3/waitress-raw.git
cd waitress-raw
# Install python dependencies.
pip3 install -r requirements.txt
# Confirm that everything works
python3 waitress-raw.py --help
Bug reports on installation issues are welcome!
Usage
Basic Usage
waitress-raw -lh 0.0.0.0 -lp 8000 -c ./examples/loggers/streamhandler.yml
Docker Usage
docker run -v "${PWD}/examples/loggers/streamhandler.yml:/usr/src/app/config.yml:ro" -p 8000:8000 --rm realgam3/waitress-raw
Command Line Arguments
waitress-raw --help
usage: waitress-raw [-h] [-v] [-lh HOST] [-lp PORT] [-s SCHEME] [-t CHANNEL_TIMEOUT] [-r] [-V] [-c CONFIG_PATH]
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-lh HOST, --host HOST
listen host. (default: 0.0.0.0)
-lp PORT, --port PORT
listen port (default: 8000)
-s SCHEME, --scheme SCHEME
url scheme (default: http)
-t CHANNEL_TIMEOUT, --timeout CHANNEL_TIMEOUT
timeout in seconds (default: 5)
-r, --reset-on-timeout
reset on timeout (default: False)
-V, --verbose verbose (default: False)
-c CONFIG_PATH, --config CONFIG_PATH
config path (default: config.yml)
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
waitress-raw-1.0.0.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file waitress-raw-1.0.0.tar.gz
.
File metadata
- Download URL: waitress-raw-1.0.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20d104eb94b9309699d9e3b3cd9abce2e5f91fd324191e673ff67ffe809ec09e |
|
MD5 | f8c9118365a054f2376c89fead24e977 |
|
BLAKE2b-256 | 84182f625f7cd532bfa1fcf7fb3d94d055ad6389f39d59c3669d73ebeabd3f08 |
File details
Details for the file waitress_raw-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: waitress_raw-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd00f940f41ba5823d7d39fcfa7ee8e3d898ed56c5df82255a5ec5c1ba232ca2 |
|
MD5 | 41b000eb523a19cb6488f6471b4cb671 |
|
BLAKE2b-256 | 37c690c60a29121cf00560acf16b7d0bb2305fa3c1d5e1a8bf1221ffcb6eb2f4 |