![]() |
|
PHPSESSID decoding\encoding - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43) +---- Thread: PHPSESSID decoding\encoding (/showthread.php?tid=5903171) |
PHPSESSID decoding\encoding - z3nd3r - Nov 3, 2018 Hi guys. I have one task to log in to the website knowing only victim's username But I have other credentials. And I think I can log in to the webpage changing PHPSESSID. Just look at my PHPSESSID If I use username: test-user1 and pass:test-user1 I receive PHPSESSID=MTIudGVzdC11c2VyMS5YRFBSS1ZIUkVILiwhIyZmIzs3N3ksISMmZiM7Nzd5 which decodes to 12.test-user1.XDPRKVHREH.,!#&f#;77y,!#&f#;77y I know that "12" is ID of my user. And What should I do if I know the victim's ID = '11" and his username "richy"? If I encode "11.richy." I get "MTEucmljaHku" What should I add to this encoded string for logging to the webpage in the name of "richy"??? Thanks in advance! RE: PHPSESSID decoding\encoding - VoIPv2 - Nov 3, 2018 It would depend how the application renders a different session. If the session isn’t being checked then you can just do plug and play. Correct me if I am incorrect. RE: PHPSESSID decoding\encoding - M L T - Nov 4, 2018 (Nov 3, 2018 04:49 PM)z3nd3r Wrote: Hi guys. I have one task to log in to the website knowing only victim's username have you tried reversing the base64'd string? or double-encoding it? or maybe try a ceaser shift on the remaining chars e..g. the remainder of the string that isnt regular base64 encoded |