Skip to content

Commit 772a5dd

Browse files
committed
Created array and added support for version 4
1 parent a39539f commit 772a5dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/rex/proto/rfb/constants.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ module RFB
1919
DefaultPort = 5900
2020

2121
# Version information
22-
MajorVersion = 3
22+
# Created array and added support for version 4. aux/scanner/vnc/vnc_login
23+
# was confirmed to work with version 004.001
24+
MajorVersions = [3,4]
2325
# NOTE: We will emulate whatever minor version the server reports.
2426

2527
# Security types

0 commit comments

Comments
 (0)