Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/integration_tests/protocols/javascript/vnc-pass-brute.yaml
2843 views
1
id: vnc-password-test
2
3
info:
4
name: VNC Password Authentication Test
5
author: pdteam
6
severity: high
7
description: |
8
Tests VNC authentication with correct and incorrect passwords.
9
metadata:
10
shodan-query: product:"vnc"
11
tags: js,network,vnc,authentication
12
13
javascript:
14
- pre-condition: |
15
isPortOpen(Host,Port)
16
17
code: |
18
let vnc = require('nuclei/vnc');
19
let client = new vnc.VNCClient();
20
client.Connect(Host, Port, Password);
21
22
args:
23
Host: "{{Host}}"
24
Port: "5900"
25
Password: "{{passwords}}"
26
payloads:
27
passwords:
28
- ""
29
- root
30
- password
31
- admin
32
- mysecret
33
stop-at-first-match: true
34
35
matchers:
36
- type: dsl
37
dsl:
38
- "success == true"
39
40