Merge pull request #9583 from daffainfo/main

fix the inconsistencies in the pgsql template ids
patch-1
pussycat0x 2024-04-15 15:13:37 +05:30 committed by GitHub
commit 56a4b492b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
id: postgresql-file-read
id: pgsql-file-read
info:
name: PostgreSQL File Read
@ -45,4 +45,4 @@ javascript:
- type: json
json:
- '.Rows[].pg_ls_dir'
# digest: 4a0a00473045022100b6a67073677ce62de92d8f1b512df26d6a72070825e67013aa2c8b33dc552c70022079606bcf388173437f77e0005077a2da82a4b6b2eb52667cb4e9619f27ad261e:922c64590222798bb761d5b6d8e72950
# digest: 4a0a00473045022100b6a67073677ce62de92d8f1b512df26d6a72070825e67013aa2c8b33dc552c70022079606bcf388173437f77e0005077a2da82a4b6b2eb52667cb4e9619f27ad261e:922c64590222798bb761d5b6d8e72950

View File

@ -1,4 +1,4 @@
id: postgresql-list-database
id: pgsql-list-database
info:
name: PostgreSQL List Database
@ -46,4 +46,4 @@ javascript:
- type: json
json:
- '.Rows[].datname'
# digest: 4a0a0047304502203031b028966e2139f57c1175b753001a3f1e34b0e8997994db3a4f4c6b2696b302210081533ae19bf2ed233488ee86fba7f9d8cae8570ad63fa7a0db828f76d1e01e98:922c64590222798bb761d5b6d8e72950
# digest: 4a0a0047304502203031b028966e2139f57c1175b753001a3f1e34b0e8997994db3a4f4c6b2696b302210081533ae19bf2ed233488ee86fba7f9d8cae8570ad63fa7a0db828f76d1e01e98:922c64590222798bb761d5b6d8e72950

View File

@ -1,4 +1,4 @@
id: pgsql-exec
id: pgsql-list-password-hashes
info:
name: PostgreSQL List Password Hashes
@ -47,4 +47,4 @@ javascript:
- type: json
json:
- '.Rows[] | "\(.usename) : \(.passwd)"'
# digest: 4a0a00473045022100b700cc8c5c9563ba0b0f0dd5a1b62b73818f8357b7a1759d46b94f735991b6c60220236a88a21e79fd1f0b0c545cfed89cd6de6f4e044fb2c717336b08a8c455a9f9:922c64590222798bb761d5b6d8e72950
# digest: 4a0a00473045022100b700cc8c5c9563ba0b0f0dd5a1b62b73818f8357b7a1759d46b94f735991b6c60220236a88a21e79fd1f0b0c545cfed89cd6de6f4e044fb2c717336b08a8c455a9f9:922c64590222798bb761d5b6d8e72950

View File

@ -1,4 +1,4 @@
id: postgresql-empty-password
id: pgsql-empty-password
info:
name: Postgresql Empty Password - Detect
@ -32,4 +32,4 @@ javascript:
- "success == true"
- "response == true"
condition: and
# digest: 490a004630440220538dc891e334a92a87ed69dc657a9906b8c70e18bd9d92c01c88165cf76416ad0220560867521ce6635eb8758da53dbff4bd9f2cc1642d7b5fb99eaa3b627d6260ba:922c64590222798bb761d5b6d8e72950
# digest: 490a004630440220538dc891e334a92a87ed69dc657a9906b8c70e18bd9d92c01c88165cf76416ad0220560867521ce6635eb8758da53dbff4bd9f2cc1642d7b5fb99eaa3b627d6260ba:922c64590222798bb761d5b6d8e72950