Exploiting incorrectly escaped `mysql_query() or die(mysql_error())` to exfiltrate data?

I ran across some legacy code that uses mysql_query($sql) or die(mysql_error())

Was curious and noticed that with a correctly placed ” in the email input … I am shown output from mysql_error() as a user.

You have an er… Continue reading Exploiting incorrectly escaped `mysql_query() or die(mysql_error())` to exfiltrate data?