1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Whats this code doing?

Discussion in 'JavaScript' started by soapbath, Jun 5, 2005.

  1. #1
    Someone has a script of which I saw on my stats as refering 402 people.

    <html><body> 
    <form name=dl><br> 
    <input type="hidden" name="urlinput" value="http://www.5gbx.com/index.php?action=login&benutzername=irsdw1rmtd&maildomain=5gbx.com&passwort=82191067&sprache=English" size='80'><br> 
    <textarea name="dslcode" cols='80' rows='10'>
    dlurl&file=524
    </textarea><br> 
    <br> 
    <input type="button" value="³sµ²" onClick="go(document.dl.urlinput.value)"> 
    </form> 
    <script type="text/javascript"><!-- 
    xmlhttp = false; 
    run = false; 
    htmldata = ""; 
    
    try { 
       xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); 
    } catch (e) { 
       try { 
          xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
       } catch (E) { 
          alert("Microsofts XML parsers!!"); 
       } 
    } 
    
    function RSchange() { 
       if (xmlhttp.readyState==4){ 
          htmldata = xmlhttp.responseText; 
       } 
    } 
    
    function go(str) { 
       if (run) return; 
       if (!(xmlhttp && str)) return; 
       run = true; 
    
       xmlhttp.open("GET",str,false); 
       xmlhttp.onreadystatechange=RSchange; 
       xmlhttp.send(null); 
       dlurl="http://www.5gbx.com/webdisk.php?"+htmldata.slice(htmldata.indexOf("bmsession="),htmldata.indexOf('" rel="stylesheet"')); 
       tmp=document.dl.dslcode.value; 
       document.dl.dslcode.value = ReplaceAll(tmp,"dlurl",dlurl); 
       document.dl.dslcode.select(); 
       run = false; 
    } 
    
    function ReplaceAll(strOrg,strFind,strReplace){ 
       var index = 0; 
       while(strOrg.indexOf(strFind,index) != -1){ 
          strOrg = strOrg.replace(strFind,strReplace); 
          index = strOrg.indexOf(strFind,index); 
       } 
       return strOrg 
    } 
    //--></script> 
    </body></html> 
    Code (markup):
    Can anybody tell me what it is doing?
     
    soapbath, Jun 5, 2005 IP
  2. soapbath

    soapbath Peon

    Messages:
    909
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could this be used to try and password blas?
     
    soapbath, Jun 6, 2005 IP