Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

The literal most secure login form ever


pawnflow's Avatar
Member
0 0

Created an amazing login form. /s

Link: koolkk.comeze.com


In all seriousness though, how can this be exploited?

I literally just made a login form where you send your info as a post request and the data is compared to the admin data in an "if statement".

Source Code to adminlogin.php:

<?php if ($_POST["username"] == "" || $_POST["password"] == "") { echo "<strong>One of the forms was empty.</strong><br>"; } if ($_POST["username"] == "admin" && $_POST["password"] == "password" ) { echo "<strong>Success!</strong>"; } else { echo "Username or Password was Incorrect."; } ?>


Huitzilopochtli's Avatar
....
40 9

Well done the Grand Dragon will be really proud.


pawnflow's Avatar
Member
0 0

Thank you, I was hired by the Grand Wizard for this website design.