Fix psql-detect.yaml

patch-1
pentesttoolscom 2023-08-07 17:39:37 +03:00
parent b889c0fddb
commit 9435cca227
No known key found for this signature in database
GPG Key ID: F0A855624E6BD076
1 changed files with 9 additions and 0 deletions

View File

@ -31,6 +31,7 @@ tcp:
- "{{Host}}:5432" - "{{Host}}:5432"
read-size: 2048 read-size: 2048
matchers-condition: and
matchers: matchers:
- type: word - type: word
part: body part: body
@ -42,3 +43,11 @@ tcp:
- "user \"nuclei\"" # The user nuclei (sent in request) doesn't exist - "user \"nuclei\"" # The user nuclei (sent in request) doesn't exist
- "database \"nuclei\"" # The db nuclei (sent in request) doesn't exist" - "database \"nuclei\"" # The db nuclei (sent in request) doesn't exist"
condition: or condition: or
- type: word
words:
- denied
- Bad request
- HTTP
- 400
condition: or
negative: true