You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[10:19:07] [INFO] testing if current user is DBA
[10:19:07] [PAYLOAD] 1 AND 7217=CAST(CHR(58)||CHR(111)||CHR(107)||CHR(118)||CHR(58)||(SELECT (CASE WHEN ((SELECT usesuper=true FROM pg_user WHERE usename=CURRENT_USER OFFSET 0 LIMIT 1)) THEN CHR(49) ELSE CHR(48) END))::text||CHR(58)||CHR(114)||CHR(103)||CHR(122)||CHR(58) AS NUMERIC)
[10:19:07] [INFO] retrieved: 1
[10:19:07] [DEBUG] performed 1 queries in 0 seconds
current user is DBA: False
Activity
stamparm commentedon Sep 13, 2012
Fix for an Issue #184
stamparm commentedon Sep 13, 2012
expected=EXPECTED.BOOLreturns boolean valueTrueorFalse, so making comparison with== "1"was causing this whole issue