Open pussycat0x opened 1 month ago
Steps To Reproduce:
javascript: - code: | const ldap = require('nuclei/ldap'); const cfg = new ldap.Config(); cfg.Upgrade = true; const client = new ldap.Client(Host, Port); const metadata = client.CollectMetadata(); log(json_to(metadata)) args: Host: "ldap://{{Host}}" Port: 389
The parameters passed to ldap.Client
in ldap-metadata.yaml
seem to be incorrect. You might want to try modifying them to:
javascript:
- pre-condition: |
isPortOpen(Host,Port);
code: |
const ldap = require('nuclei/ldap');
const cfg = new ldap.Config();
cfg.Upgrade = true;
const client = new ldap.Client(Url, Realm, cfg);
const metadata = client.CollectMetadata();
log(json_to(metadata))
args:
Url: "ldap://{{Host}}:{{Port}}"
Realm: ldap.example
Host: "{{Host}}"
Port: 389
Nuclei version:
v3.3.0
Current Behavior:
CollectMetadata() and another functions are not returning anydata in response.
Expected Behavior:
Steps To Reproduce:
Anything else:
DebugData