Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- </head>
- <body style="width: 100%;margin:0;padding:0;">
- <center>
- <br>
- <form action="" method="POST">
- <input type="text" name="user" placeholder="Username" style="text-align: center;">
- <br><br>
- <input type="password" name="pass" placeholder="Password" style="text-align: center;">
- <br><br>
- <input type="submit" name="submit" value="Login">
- <br><br>
- </form>
- <?php
- $user = $_POST['user'];
- $pass = $_POST['pass'];
- $submit = $_POST['submit'];
- if(isset($submit)){
- if(strcmp($user, "CV17-1")==0 && strcmp($pass, sha1(md5(base64_encode("CV17-1"))))==0){
- echo "IDX{4rr4y_4_w1nn3r}";
- }else{
- echo "<h1 style='color:red;'> ERR0R! </h1>";
- }
- }
- ?>
- </center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement