Filled php script on find-xss.net, it showed me that there is SQL injection in the $ port parameter, here:
$port=$_SERVER['REMOTE_PORT']; mysql_query("insert into logs(logindate,username,ipaddr,timestamp,port) values('$date','$loguser','$ip','$timestamp','$port')");
How to make a SQL injection? Tried in different ways, did not fit.
REMOTE_PORT
is not generated by the client, but by the web server and is always a number. Not aware of the essence of the injection. - drdaeman