Title: How secure is this?
Post by: onlinepro on September 17, 2014, 09:30:18 AM
Is it easy to get in this site without knowing the password? <script> function submitentry(){ password = document.password1.password2.value.toLowerCase() username = document.password1.username2.value.toLowerCase() passcode = 1 usercode = 1 for(i = 0; i < password.length; i++) { passcode *= password.charCodeAt(i); } for(x = 0; x < username.length; x++) { usercode *= username.charCodeAt(x); } //CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD if(usercode==2181915624136248000&&passcode==2.839901787122729e+39) //CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD { window.location=password+".html"} else{ alert("password/username combination wrong")} } </script>
<form name="password1"> <strong>Enter username: </strong> <input type="text" name="username2" size="15"> <br> <strong>Enter password: </strong> <input type="password" name="password2" size="15">
<input type="button" value="Submit" onClick="submitentry()"> </form>
Title: Re: How secure is this?
Post by: jersey19957 on September 17, 2014, 10:01:18 AM
Not sure if i want to click there.
Title: Re: How secure is this?
Post by: BiTJack on September 17, 2014, 11:45:47 AM
Nobody's gona click on random links like that. :'(
Title: Re: How secure is this?
Post by: yeponlyone on September 17, 2014, 11:48:27 AM
This smells like scam: Do not click the link!!! I repeat do not click the link!
Title: Re: How secure is this?
Post by: lepirate on September 17, 2014, 12:14:27 PM
This smells like scam: Do not click the link!!! I repeat do not click the link!
How could that in any way be a scam? It just asks you for your username and password! The script didn't seem fishy either.
Title: Re: How secure is this?
Post by: onlinepro on September 17, 2014, 01:09:03 PM
This smells like scam: Do not click the link!!! I repeat do not click the link!
It isn't. That is all it contains: <script> function submitentry(){ password = document.password1.password2.value.toLowerCase() username = document.password1.username2.value.toLowerCase() passcode = 1 usercode = 1 for(i = 0; i < password.length; i++) { passcode *= password.charCodeAt(i); } for(x = 0; x < username.length; x++) { usercode *= username.charCodeAt(x); } //CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD if(usercode==2181915624136248000&&passcode==2.839901787122729e+39) //CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD { window.location=password+".html"} else{ alert("password/username combination wrong")} } </script>
<form name="password1"> <strong>Enter username: </strong> <input type="text" name="username2" size="15"> <br> <strong>Enter password: </strong> <input type="password" name="password2" size="15">
<input type="button" value="Submit" onClick="submitentry()"> </form>
|