pentesting, updated

Testing for HTML injection

Check whether input is reflected into the HTML body unescaped, even without achieving script execution — still enough for phishing and defacement.

Goal

Confirm HTML-meaningful characters in input are encoded on output.

How to test

curl -s "https://example.com/search?q=<h1>pwned</h1>"
curl -s "https://example.com/search?q=<a href=//evil.com>click</a>"

What to look for

Injected markup rendering as real HTML — layout breakage, injected links, or a convincing fake login form planted on the real page.

References

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