Jump to content
Larry Ullman's Book Forums

Session Fixation Attack Problem


Recommended Posts

I am trying to simulate a session fixation attack by appending the session identifier to the link:

www.example.com/index.php?PHPSESSID=1234567890

where index.php is:

<?php

start_session();

print session_id();

// more code....

?>

and I can' t obtain the session_id 1234567890

What 's going on?

Link to comment
Share on other sites

I trust that the double post was a glitch in the forum and not you double posting on purpose, right? Didn't mean to sound rude there.

 

Anyway, all you need to do to get the number is access it via $_GET['PHPSESSID'].

 

Also, no offense, but if you're not even able to do that, I don't know why you're worried about trying to simulate session fixation attacks.

Link to comment
Share on other sites

 Share

×
×
  • Create New...