ABaDy1996

level 3

Oct 25th, 2020
942
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. echo (isset($_POST['password']))?((($con = new mysqli("localhost", "root", "123123123","ragnar"))?(($r=$con->query("SELECT * FROM users where id=1 and password='".md5($_POST['password'])."'"))?(($r->num_rows)?"welcome":"error"):""):"")):"<html><head><title>Logon</title></head><body>Please Enter the password<br><form method='post'><input name='password' type'password'/><input type='submit' value='login'/><form/></body></html>"
  3. ?>
RAW Paste Data