Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
4ce2696d
Commit
4ce2696d
authored
May 11, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'merge_kevinykchan'
Conflicts: wsproxy.py Fix auth mode selection typo.
parents
2cec49d4
3ec5d7c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
vnc.js
vnc.js
+2
-2
wsproxy.py
wsproxy.py
+3
-1
No files found.
vnc.js
View file @
4ce2696d
...
...
@@ -269,7 +269,7 @@ init_msg: function () {
if
(
RFB
.
password
.
length
==
0
)
{
RFB
.
auth_scheme
=
1
;
}
else
{
RFB
.
auth_scheme
=
type
[
0
];
RFB
.
auth_scheme
=
types
[
0
];
}
RFB
.
send_array
([
RFB
.
auth_scheme
]);
}
else
if
(
RFB
.
version
==
3.3
)
{
...
...
wsproxy.py
View file @
4ce2696d
...
...
@@ -9,7 +9,7 @@ as taken from http://docs.python.org/dev/library/ssl.html#certificates
'''
import
sys
,
socket
,
ssl
import
sys
,
socket
,
ssl
,
time
from
select
import
select
from
websocket
import
*
...
...
@@ -35,6 +35,8 @@ def do_proxy(client, target):
socks
=
[
client
,
target
]
while
True
:
time
.
sleep
(
0.01
)
# 10ms
ins
,
outs
,
excepts
=
select
(
socks
,
socks
,
socks
,
1
)
if
excepts
:
raise
Exception
(
"Socket exception"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment