Digital Point Forums
Wire Transfer

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jun 5th 2005, 8:50 pm
soapbath's Avatar
soapbath soapbath is offline
Twilight Vanquisher
 
Join Date: Mar 2005
Posts: 910
soapbath is on a distinguished road
Whats this code doing?

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

Code:
<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>
Can anybody tell me what it is doing?
__________________
WooWooWahh!
Reply With Quote
  #2  
Old Jun 6th 2005, 9:42 am
soapbath's Avatar
soapbath soapbath is offline
Twilight Vanquisher
 
Join Date: Mar 2005
Posts: 910
soapbath is on a distinguished road
Could this be used to try and password blas?
__________________
WooWooWahh!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating two bits of code blueuniverse Programming 6 Dec 22nd 2005 11:33 am
IE troubles - code element robert_neville CSS 0 Apr 18th 2005 11:47 pm
1/21 code doesn't see ads, 2/22 code can't write ad file briandunning Setup / Validation Help 7 Feb 28th 2005 7:08 pm
Helpfull code for HTML people kyle422 Setup / Validation Help 9 Feb 13th 2005 7:16 am
Enter code from image and other PHP question.. ian_ok PHP 9 Dec 7th 2004 8:04 am


All times are GMT -8. The time now is 8:05 am.