Garethp Posted September 22, 2008 Share Posted September 22, 2008 I want to play a prank on my sister, seeing as how she just spiked my coffee with Peri Peri Sauce, so I want to make a cookie stealer to get her session and use it to get into her myspace. Can I do that? This is what I have so far for the cookie steal script, I'll just send her a link to the page <?php $cookie = $HTTP_GET_VARS["cookie"]; $file = fopen('cookielog.txt', 'a'); fwrite($file, $cookie . "\n\n"); ?> But when I test it on myself, it says Undefined index cookie. Even when I set $HTTP_GET_VARS["cookie"]; to $HTTP_GET_VARS["MSSession"];, which is a cookie name that I know I have, it still says undefined index. Can you help me? Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/ Share on other sites More sharing options...
Mchl Posted September 22, 2008 Share Posted September 22, 2008 Just drop some ice cubes into her pants. Whole lotta funnier. Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647546 Share on other sites More sharing options...
Garethp Posted September 22, 2008 Author Share Posted September 22, 2008 I would, but I can't v.v I could just turn off the wireless network, but I'd rather do this if you could help Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647548 Share on other sites More sharing options...
xoligy Posted September 22, 2008 Share Posted September 22, 2008 make a fake virus instead, or make it so her computer wount work and she needs help its what i normally do haha Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647559 Share on other sites More sharing options...
waynew Posted September 22, 2008 Share Posted September 22, 2008 Just open notepad. Type in shutdown -f and save it as a .bat file. Then rename it something like MySpace Hack. Being curious, she'll more than likely click on it. Oh, and be honest. You're just wanting to steal cookies. Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647561 Share on other sites More sharing options...
xoligy Posted September 22, 2008 Share Posted September 22, 2008 Just open notepad. Type in shutdown -f and save it as a .bat file. Then rename it something like MySpace Hack. Being curious, she'll more than likely click on it. Oh, and be honest. You're just wanting to steal cookies. best way to do that actually is to have a time out so after "x" seconds/minutes the computer just shuts down, start it up in the start menu or hidden she'll never figure it out Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647564 Share on other sites More sharing options...
waynew Posted September 22, 2008 Share Posted September 22, 2008 There's a bat to .exe converter out there somewhere. Put a pretty icon on it and everything. The startup things sounds pretty interesting. Might try it on a few people. Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647565 Share on other sites More sharing options...
Garethp Posted September 22, 2008 Author Share Posted September 22, 2008 I like that one better. But no, It is for my sister. Unfortunatly, I taught her a fair bit about not clicking on suspisous links or programs, so I'll probably put it in the registry under the Windows Folder Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647602 Share on other sites More sharing options...
xoligy Posted September 22, 2008 Share Posted September 22, 2008 you could even hide the bat file and link it to a program so when she starts lets say word it will run the bat file and the computer will shut down im horrible i know haha Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647610 Share on other sites More sharing options...
Garethp Posted September 22, 2008 Author Share Posted September 22, 2008 Yay! I love this forum, so many nasty ideas... I'm gonna have to start writing virus's soon. Anyway, I found out what was wrong, the JS was meant to steal the cookies, not the PHP. But keep the ideas coming, I wanna know more... Link to comment https://forums.phpfreaks.com/topic/125270-cookie-theif/#findComment-647672 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.