Answer the question
In order to leave comments, you need to log in
How to show that the site is not safe?
In general, the site is written purely in php. With queries like:
function login($email,$password)
{
$mysqli=$this->dbconnect();
$email=mysqli_real_escape_string($mysqli,$email);
$password=sha1($password);
$login_sql="select * from `u_clients` where email='$email' and password='$password'";
$login_result=mysqli_query($mysqli,$login_sql) or die(mysqli_error($mysqli));
$rows=array();
while($row=mysqli_fetch_array($login_result,MYSQLI_ASSOC))
{
$rows[]=$row;
}
mysqli_close($mysqli);
return $rows;
}
Answer the question
In order to leave comments, you need to log in
If you do not understand where the security problems are, then how will you remake it into a more secure one?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question