From ed7f45fd03b757a458e25b53b00893c0efa1c3ac Mon Sep 17 00:00:00 2001 From: pussycat0x <65701233+pussycat0x@users.noreply.github.com> Date: Fri, 30 Dec 2022 15:43:22 +0530 Subject: [PATCH] condition -updated --- network/detection/pgsql-detect.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/network/detection/pgsql-detect.yaml b/network/detection/pgsql-detect.yaml index d2eb98c8db..3de2bc5dbc 100644 --- a/network/detection/pgsql-detect.yaml +++ b/network/detection/pgsql-detect.yaml @@ -30,9 +30,10 @@ network: - type: word part: body words: - - "28000" # Error code for invalid_authorization_specification - - "28P01" # Error code for invalid_password - - "SCRAM-SHA-256" # Authentication prompt - - "pg_hba.conf" # Client authentication config file - - "user \"nuclei\"" # The user nuclei (sent in request) doesn't exist - - "database \"nuclei\"" # The db nuclei (sent in request) doesn't exist + - "28000" + - "28P01" + - "SCRAM-SHA-256" + - "pg_hba.conf" + - "user \"nuclei\"" + - "database \"nuclei\"" + condition: or