adz_619
Member
I am posting this here because there is no other section on the forum to post this sort of thing.
I am trying to crack a javascript challenge which has a password. The password is found through substring.
<script type="text/javascript">
var numletter="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
function submitentry(){
verification = document.getElementById("passwd").value;
alert("Searching.");
alert("Searching..");
alert("Searching...");
password = numletter.substring(11,12);
password = password + numletter.substring(18,19);
password = password + numletter.substring(23,24);
password = password + numletter.substring(16,17);
password = password + numletter.substring(24,25);
password = password + numletter.substring(1,4);
if(verification == password){
alert("Well done, you've got it!");
} else {
alert("Nahh, thats wrong!");
}
}
</script>
The script is above, can someone help me find the password!
Thanks
adam
I am trying to crack a javascript challenge which has a password. The password is found through substring.
<script type="text/javascript">
var numletter="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
function submitentry(){
verification = document.getElementById("passwd").value;
alert("Searching.");
alert("Searching..");
alert("Searching...");
password = numletter.substring(11,12);
password = password + numletter.substring(18,19);
password = password + numletter.substring(23,24);
password = password + numletter.substring(16,17);
password = password + numletter.substring(24,25);
password = password + numletter.substring(1,4);
if(verification == password){
alert("Well done, you've got it!");
} else {
alert("Nahh, thats wrong!");
}
}
</script>
The script is above, can someone help me find the password!
Thanks
adam