pentesting, updated

Testing for session hijacking

Check whether a captured session token can be reused from a different network, device or user agent without being flagged.

Goal

Confirm the app detects or prevents a stolen session token being used from an unexpected context.

How to test

Capture a valid session token, then replay it from a different IP / User-Agent:

curl -s https://example.com/account -H "Cookie: session=<captured-token>" -A "Totally Different UA/1.0"

What to look for

The session works identically regardless of origin, IP or device — no binding, re-auth prompt, or anomaly detection at all.

References

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