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