Few tables:
register
signin
Columns in signin table:
Username
Password
Fucking lots of SQLi...
Login process:
$stmt=sprintf("SELECT * FROM login WHERE username='%s' AND password='%s'",$usr, $pwd);
$dblink=DBset() ;//Connect to the database...
$result = DBquery($stmt, $dblink) ;//Send Query
$totresult = mysql_num_rows($result);
$row = mysql_fetch_object($result);
Page.php:
$stmt=sprintf("SELECT Content FROM page WHERE Id='%s'",$_GET['recordID']);
$dblink=DBset() ;//Connect to the database...
Other scripts are also vulnerable but I am too lazy to post them, too.
Screenshots:
Thanks!!!
Guys well done.
ReplyDelete5p1!n73r