mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-01 00:03:15 +08:00
* adding telnet login + crypto
* smbauth lib porting + ntlm parsing over telnet
* gen lib
* adding telnet test
* adding breakout after max iterations
* fix(utils): broken pkt creation & impl `Create{LN,NT}Response`
Signed-off-by: Dwi Siswanto <git@dw1.io>
* chore(utils): satisfy lints
Signed-off-by: Dwi Siswanto <git@dw1.io>
---------
Signed-off-by: Dwi Siswanto <git@dw1.io>
Co-authored-by: Dwi Siswanto <git@dw1.io>
29 lines
506 B
YAML
29 lines
506 B
YAML
id: telnet-auth-test
|
|
|
|
info:
|
|
name: Telnet Authentication Test
|
|
author: pdteam
|
|
severity: info
|
|
metadata:
|
|
shodan-query: port:23
|
|
|
|
|
|
javascript:
|
|
- code: |
|
|
var m = require("nuclei/telnet");
|
|
var c = m.TelnetClient();
|
|
c.Connect(Host, Port, User, Password);
|
|
|
|
args:
|
|
Host: "{{Host}}"
|
|
Port: "23"
|
|
User: "dev"
|
|
Password: "mysecret"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- "response == true"
|
|
- "success == true"
|
|
condition: and
|