htmlentities -> htmlspecialchars
This commit is contained in:
@@ -26,7 +26,7 @@ function do_login($remote_site,$username,$password){
|
||||
);
|
||||
//echo "try login...";
|
||||
$data=curl_post_urlencoded($remote_site.'/login',$form);
|
||||
//echo htmlentities($remote_site.'/login');
|
||||
//echo htmlspecialchars($remote_site.'/login');
|
||||
if(str_contains($data,"Password")) return false;
|
||||
else return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user