File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,11 @@ def handshake
61
61
62
62
@minver = $2. to_i
63
63
64
- # Forces client version 3 to be used. This adds support
65
- # for version 4 servers.
66
- # It may be necessary to hardcode a miniver as well
67
- # to do: add support for Version 4. Version 4 client
68
- # adds additional information to the packet regarding
69
- # supported authentication types.
64
+ # Forces version 3 to be used. This adds support for version 4 servers.
65
+ # It may be necessary to hardcode minver as well.
66
+ # TODO: Add support for Version 4.
67
+ # Version 4 adds additional information to the packet regarding supported
68
+ # authentication types.
70
69
our_ver = "RFB %03d.%03d\n " % [ 3 , @minver ]
71
70
@sock . put ( our_ver )
72
71
Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ module RFB
19
19
DefaultPort = 5900
20
20
21
21
# Version information
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 ]
22
+ MajorVersions = [ 3 , 4 ]
25
23
# NOTE: We will emulate whatever minor version the server reports.
26
24
27
25
# Security types
You can’t perform that action at this time.
0 commit comments