Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
python server to inspect php sessions
Python
branch: master

README.md

Blog Post:

Inspecting PHP Sessions From Python:

Usage:

python receiver.py

Commands:

isauth

isauth session_id1 session_id2 session_id3

returns 0 or 1 if the user of that session id is authenticated

each line of the response corresponds to one of the key passed

the lines are ended by \r\n

quit

closes the connection to the server

sample session:

telnet localhost 3002
isauth oglnp9phvn8ac04obdqjk6dko3
0
isauth bj6sc485t9s46o57qpngod5lm7
1
isauth bj6sc485t9s46o57qpngod5lm7 oglnp9phvn8ac04obdqjk6dko3 n63o4uk297c49131dcdg0h7g72
1
0
1
quit
Something went wrong with that request. Please try again.