Psudeocode or PHP code desirable. References even better on the components and procedures to generate the PHPSESSID manually.
Psudeocode or PHP code desirable. References even better on the components and procedures to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The code that generates the sssion ID is here – but it’s C, since that’s how PHP itself is implemented.
Basically, it uses a cryptographic hash function and as input the remote IP address, the current time and some other stuff.
The hash function to use and optionally a source of additional entropy can be configured in php.ini.