Name: Anonymous 2012-02-17 7:35
http://ishygddt.org/ is some shitty babby's first PHP + MySQL minisite, with more holes than a... I'm bad with metaphors.
* any value after / is passed directly to mysql_query without any quotes or escaping
* the query looks like "SELECT * FROM tsia_ishygddt.msgs WHERE id = $input"
* mysql_error() spits out HTML, so HTML injection works
* strip_tags is used on user output
* addslashes is used on query input, but of course this is completely useless as no single quotes were used around input in the query
* runs on a typical ubuntu/mysql/php setup
e.g. http://ishygddt.org/1 OR 1=1
* any value after / is passed directly to mysql_query without any quotes or escaping
* the query looks like "SELECT * FROM tsia_ishygddt.msgs WHERE id = $input"
* mysql_error() spits out HTML, so HTML injection works
* strip_tags is used on user output
* addslashes is used on query input, but of course this is completely useless as no single quotes were used around input in the query
* runs on a typical ubuntu/mysql/php setup
e.g. http://ishygddt.org/1 OR 1=1