Vuln Http Desync Scanner is one of my projects. The README in the repo is short, so this page sticks to what the files themselves show.
What it is
Vuln Http Desync Scanner: 6 files, 264 counted lines across Python 246, Markdown 17, Text 1. One job, done in the open, in files you can read.
The biggest piece
main.py carries the most
lines. If the project grows, that file is where the growth
lands first, for better or worse.
The honest gap
No test files yet. That is the honest gap, and the roadmap in the visuals folder says what the first one should cover.
Run it
The repo README has the exact commands for this one. The shape is the shape for most of my projects: clone it, read the top file first so you know what will happen, then run it on something you do not mind breaking.
$ git clone https://github.com/ShadowGuard-AI/vuln-http-desync-scanner.git
$ cd vuln-http-desync-scanner
The code, as it sits in the repo
From main.py, line 212 on. I did
not tidy it for the page. What you see is what the file has.
def main():
"""The main function of the script."""
parser = setup_argparse()
args = parser.parse_args()
if not args.url:
parser.print_help()
sys.exit(1)
# Input validation
try:
timeout = int(args.timeout)
if timeout <= 0:
raise ValueError("Timeout must be a positive integer.")
except ValueError as e:
logging.error(f"Invalid timeout value: {e}")
sys.exit(1)
# Run the vulnerability test
result = test_http_desync(args.url, args.timeout, args.verbose, args.insecure)
The files that matter
| File | Lines |
|---|---|
main.py | 246 |
Names doing the work: setup_argparse, raw_exchange, _read_response, build_baseline_request, build_crafted_request, test_http_desync, main.
Drawn by hand
I sketch my projects on notebook paper so I have to understand them well enough to draw them. The full set, with the counts and how they were counted, is the vuln-http-desync-scanner-Visuals folder in the repo. Nothing is drawn over the binder holes. That is a rule, not a style.