Merge pull request #7867 from pentesttools-com/Fix-psql-detection

Fix pgsql-detect.yaml
patch-1
Dhiyaneshwaran 2023-08-09 01:44:25 +05:30 committed by GitHub
commit 54570db96d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 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,8 @@ 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:
- "HTTP/1.1"
negative: true