Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Tests whether logout invalidates server-side sessions, clears client tokens, and revokes "remember me" and multi-device sessions.
73% 100%+27 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 16 of 22 without it.
A security auditor wants to evaluate the mathematical entropy and randomness of generated session cookies (WSTG-SESS-02). Detail the process for gathering and testing session identifiers for predictable patterns.
Collect a sample set of unauthenticated session identifiers.
3 of 3 safety checks passed
WSTG-SESS-06
Testing for Logout Functionality
Logout functionality must properly terminate user sessions by invalidating session tokens on the server side. Improper logout implementation can allow continued access using old session tokens, session replay attacks, or leave users vulnerable if using shared computers.
#!/bin/bash
TARGET="https://target.com"
# Get authenticated session
session=$(curl -s -c - -X POST "$TARGET/login" \
-d "username=test&password=test" | grep -oP "SESSIONID=\K[^;]+")
echo "Session: $session"
Next to this one in the catalogue, plus more from the same author.