pentesting, updated

Testing HTTP Incoming Requests

Review what the application logs and how it reacts to malformed or unusual incoming requests.

Goal

Confirm the app handles malformed, oversized or unusual requests gracefully, without crashing or leaking internals.

How to test

Send oversized headers, unusual methods, and malformed request lines, then check both the response and (if you have access) the logs:

curl -s https://example.com/ -H "X-Custom: $(python3 -c 'print("A"*100000)')"
printf 'GET / HTTP/9.9\r\nHost: example.com\r\n\r\n' | nc example.com 80

What to look for

A stack trace, a crash, or a response that differs meaningfully from a clean request’s.

References

§ home
~/knubertus/home/
1,1 Top