mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-05 02:03:35 +08:00
JS pre-condition - update
This commit is contained in:
@@ -13,8 +13,11 @@ info:
|
||||
max-request: 1
|
||||
shodan-query: "product:\"PostgreSQL\""
|
||||
tags: js,network,postgresql,authenticated
|
||||
|
||||
javascript:
|
||||
- code: |
|
||||
- pre-condition: |
|
||||
isPortOpen(Host,Port);
|
||||
code: |
|
||||
const postgres = require('nuclei/postgres');
|
||||
const client = new postgres.PGClient;
|
||||
const connected = client.Connect(Host, Port, User, Pass);
|
||||
|
||||
Reference in New Issue
Block a user