Making fake e-gold sites submit...

Anonymous discord-nobody at erisiandiscord.de
Sun Sep 7 03:20:43 PDT 2003


save on desktop as anything.html as plain text. Then run.
me


<html><head>
<script language="javascript">
<!--

var dns = "";
var c = true;

function popup()
{
 document.formname.AccountID.value = get_random();
 document.formname.PassPhrase.value = GeneratePassword();
 document.formname.submit();
 setTimeout("autosubmit();", 2000);
}

function get_random()
{
 var ranNum = Math.round(Math.random()*999999);
 return ranNum;
}

function getRandomNum() {

    // between 0 - 1
    var rndNum = Math.random()

    // rndNum from 0 - 1000
    rndNum = parseInt(rndNum * 1000);

    // rndNum from 33 - 127
    rndNum = (rndNum % 94) + 33;

    return rndNum;
}
function checkPunc(num) {

    if ((num >=33) && (num <=47)) { return true; }
    if ((num >=58) && (num <=64)) { return true; }
    if ((num >=91) && (num <=96)) { return true; }
    if ((num >=123) && (num <=126)) { return true; }

    return false;
}

function GeneratePassword() {

    var length;
    var sPassword = "";
    length = 6+ Math.round(Math.random()*20)

    for (i=0; i < length; i++) {

        numI = getRandomNum();
	while (checkPunc(numI)) { numI = getRandomNum(); }
        sPassword = sPassword + String.fromCharCode(numI);
    }

    return sPassword;
}

function autosubmit()
{
 if (c)
 {
   document.formname.AccountID.value = get_random();
   document.formname.PassPhrase.value = GeneratePassword();
   document.formname.submit();
   setTimeout("autosubmit();", 1000);
 }
}

function turn()
{
 c = !c;
 if (c) setTimeout("autosubmit();", 2000);
 document.formname.x.value = c?"Stop it!":"Let's do it again!";
}

//-->
</script>
</head>
<body onload="popup();">

<center>
<form name="formname" method="post" action="http://211.217.224.102:4901/login/login.php" target="new">
<input type="text" name="AccountID" length="20" maxlength="40" size="25"><br>
<input taborder=2 tabindex=2 type="text" name="PassPhrase" maxlength="64" size="32" autocomplete="off">
<input taborder=3 tabindex=3 type="hidden" name="Turing" maxlength="10" size="10" autocomplete="off" value="921224">
<input type="hidden" name="jumbo" value=3029>
<input type="submit" name="Submit" value="Login">
<input notab type="checkbox" name="StoreMyNumber" value="checkbox" checked>
<input type="button" name="x" value="Stop it!" onclick="turn();">
</form>
</center>

</body>
</html>





More information about the cypherpunks-legacy mailing list