CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/source/tightvnc/classes/RfbProto.class
Views: 11777
����-0	�
�	�											

	

				





 	!
"	#	$	%	&
'	(	)*+
,-	.
�'
/0
2�1
223
245
26
	7	89	:	;<
]=
>?@A	B
C
D
E
F
GH
I
>JKL
M
]N
]O
]P
)QR
US
UTUVWXYZ
]S[
_�	\	]	^	_	`ab
_cdefghijklmnopqrstuvwxyz{|}~����
�
�
_�
_���
��
_�		�	��
��
�	�	�	�	�	�	�	�	�	�	�	�	�	��
�
��
�?
��
��	�	�	�
��
��
�	�	�	�	�	�	��������	�	�
��	��
��	�
�
��
��
>�
����
��
���P�Q�R�S�T�U�V�W�c������������������������
����	�
��
����������
��
��
��
��
�
��
�'
�
)�
�

��
�
�
�
���versionMsg_3_3Ljava/lang/String;
ConstantValueversionMsg_3_7versionMsg_3_8StandardVendorTridiaVncVendorTightVncVendorSecTypeInvalidISecTypeNoneSecTypeVncAuthSecTypeTightNoTunnelingSigNoTunneling�AuthNoneAuthVNC
AuthUnixLogin�SigAuthNone
SigAuthVNCSigAuthUnixLogin�	VncAuthOK
VncAuthFailedVncAuthTooManyFramebufferUpdateSetColourMapEntriesBell
ServerCutTextEndOfContinuousUpdates�SigEndOfContinuousUpdates�SetPixelFormatFixColourMapEntriesSetEncodingsFramebufferUpdateRequest
KeyboardEventPointerEvent
ClientCutTextEnableContinuousUpdatesSigEnableContinuousUpdates�EncodingRawEncodingCopyRectEncodingRRE
EncodingCoRREEncodingHextileEncodingZlib
EncodingTightEncodingZRLEEncodingCompressLevel0���EncodingQualityLevel0����EncodingXCursor���EncodingRichCursor���EncodingPointerPos���EncodingLastRect��� EncodingNewFBSize���!SigEncodingRaw�SigEncodingCopyRectSigEncodingRRESigEncodingCoRRESigEncodingHextileSigEncodingZlibSigEncodingTightSigEncodingZRLESigEncodingCompressLevel0SigEncodingQualityLevel0SigEncodingXCursorSigEncodingRichCursorSigEncodingPointerPosSigEncodingLastRectSigEncodingNewFBSizeMaxNormalEncoding�
HextileRawHextileBackgroundSpecifiedHextileForegroundSpecifiedHextileAnySubrectsHextileSubrectsColouredTightMinToCompressTightExplicitFilter	TightFill	TightJpeg	TightMaxSubencodingTightFilterCopyTightFilterPaletteTightFilterGradienthostportsockLjava/net/Socket;osLjava/io/OutputStream;recLSessionRecorder;inNormalProtocolZviewerLVncViewer;isLjava/io/DataInputStream;numBytesReadJbrokenKeyPressedwereZlibUpdatesrecordFromBeginningzlibWarningShowntightWarningShownnumUpdatesInSessiontimingtimeWaitedIn100us
timedKbitsserverMajorserverMinorclientMajorclientMinorprotocolTightVNC
tunnelCapsLCapsContainer;authCaps
serverMsgCaps
clientMsgCapsencodingCapscloseddesktopNameframebufferWidthframebufferHeightbitsPerPixeldepth	bigEndian
trueColourredMaxgreenMaxblueMaxredShift
greenShift	blueShiftupdateNRectsupdateRectXupdateRectYupdateRectWupdateRectHupdateRectEncodingcopyRectSrcXcopyRectSrcYeventBuf[BeventBufLen	CTRL_MASK
SHIFT_MASK	META_MASKALT_MASKpointerMaskoldModifiersgetNumBytesRead()JCodeLineNumberTable<init>!(Ljava/lang/String;ILVncViewer;)V
Exceptionsclose()V()ZreadVersionMsgwriteVersionMsgnegotiateSecurity()IreadSecurityTypeselectSecurityTypeauthenticateNoneauthenticateVNC(Ljava/lang/String;)VreadSecurityResultreadConnFailedReasoninitCapabilitiessetupTunnelingnegotiateAuthenticationTightreadCapabilityList(LCapsContainer;I)VwriteInt(I)VwriteClientInitreadServerInitstartSessioncloseSessionsetFramebufferSize(II)VreadServerMessageTypereadFramebufferUpdatereadFramebufferUpdateRectHdrreadCopyRectreadServerCutText()Ljava/lang/String;readCompactLenwriteFramebufferUpdateRequest(IIIIZ)VwriteSetPixelFormat
(IIZZIIIIII)VwriteFixColourMapEntries(II[I[I[I)VwriteSetEncodings([II)VwriteClientCutTextwritePointerEvent(Ljava/awt/event/MouseEvent;)V
writeKeyEvent(Ljava/awt/event/KeyEvent;)V(IZ)VwriteModifierKeyEventsrecordCompressedData([BII)V([B)VrecordCompactLenstartTiming
stopTimingkbitsPerSecond
timeWaited	readFully	available	skipBytes(I)IreadU8readU16readU32
SourceFile
RfbProto.java���yz�z�z�z����{|qr��java/net/Socket��st�����
SocketFactory�z������java/lang/Exception���java/io/IOException����java/io/DataInputStreamjava/io/BufferedInputStream������}~��uv�z�������z���RFB socket closed���wx��java/lang/StringBufferHost �� port �� is not an RFB server����.RFB server does not support protocol version 3��RFB 003.008
�����RFB 003.007
RFB 003.003
�z����������'Unknown security type from RFB server: ����,Server did not offer supported security typeNo authentication����	DesCipher��VNC authentication	: success: failed: failed, too many tries: unknown result java/lang/String
CapsContainer����������STDVNOAUTH__	VNCAUTH_$Standard VNC password authenticationCOPYRECTStandard CopyRect encodingRRE_____Standard RRE encodingCORRE___Standard CoRRE encodingHEXTILE_Standard Hextile encodingZRLE____Standard ZRLE encodingTRDVZLIB____
Zlib encodingTGHTTIGHT___Tight encodingCOMPRLVLCompression levelJPEGQLVLJPEG quality levelX11CURSRX-style cursor shape updateRCHCURSRRich-color cursor shape updatePOINTPOSPointer position updateLASTRECTLastRect protocol extensionNEWFBSIZFramebuffer size change����
��'No suitable authentication scheme foundCapabilityInfo�
z��������z�z�������SessionRecorder�����z�z����������GWarning: Raw encoding will be used instead of Zlib in recorded session.DWarning: Re-compressing Tight-encoded updates for session recording.(Framebuffer update rectangle too large: x at (,)���z����� ���!"#$�%�&���java/util/zip/Deflater'�(�)*������+�,��-�.�/�RfbProtojava/lang/ObjectNOTUNNELULGNAUTHCUS_EOCUCUC_ENCURAW_____	VncViewer
socketFactory(Ljava/lang/String;I)Vjava/lang/ClassforName%(Ljava/lang/String;)Ljava/lang/Class;newInstance()Ljava/lang/Object;
inAnAppletcreateSocket:(Ljava/lang/String;ILjava/applet/Applet;)Ljava/net/Socket;mainArgs[Ljava/lang/String;9(Ljava/lang/String;I[Ljava/lang/String;)Ljava/net/Socket;java/lang/ThrowableprintStackTrace
getMessagegetInputStream()Ljava/io/InputStream;(Ljava/io/InputStream;I)V(Ljava/io/InputStream;)VgetOutputStream()Ljava/io/OutputStream;java/lang/SystemoutLjava/io/PrintStream;java/io/PrintStreamprintlnappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;(I)Ljava/lang/StringBuffer;toStringgetBytes()[Bjava/io/OutputStreamwritelength	substring(II)Ljava/lang/String;indexOf	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)Vencrypt	([BI[BI)Vadd:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
numEnabled
getByOrder(I[B[B)Venable(LCapabilityInfo;)ZoptionsLOptionsFrame;OptionsFrameshareDesktopdisableShareDesktopwriteHeader
writeIntBEwriteShortBE	writeByteflushjava/awt/event/InputEventgetModifiersreverseMouseButtons2And3java/awt/AWTEventgetIDjava/awt/event/MouseEventgetXgetYjava/awt/event/KeyEvent
getKeyChar()C
getKeyCodeisActionKey
isControlDownsetInputfinishdeflate([B)IcurrentTimeMillisjava/io/FilterInputStreamreadUnsignedBytereadUnsignedShortreadInt �DC@f	u
x

gi
 !"
#$%&'()*+
,-.&/012345(678
9:;0<2=4>?@ABCDEFGHIJKLMNOPQkRmSoTqUvVyWsX{Y}Z[�\�]�^�_`abc0defghi0jeklmln
opqrstuvwxyz{|}~��z�z�z�z�z��z���������z�����������z������z�z��������������������0�e��4���*��������*�*�*	�*�*�*�*H��*�*�	*-�
*+�*�*�
�
�*�Y*�*����n*�
�
�:��:*�
��**�*�*�
���**�*�*�
����:��Y���*�Y�Y*��@� �!�"**��#�$*�%*&�(*	�)�^���v��	�����%�*�/�4�9�>�H�^�j�t�~����������������������� ���t0*��**�+�,-�.*�/�*�/�0*�/�L+��'*�*
�"'*+/	 ���*�+�����^&�L*+�1+3R��+3F��+3B��+3 �}+30�u+39�m+30�e+39�]+30�T+39�K+3.�B+30�9+39�0+	30�'+	39�+
30�+
39�+3
�2�Y�2Y�34�5*��56�5*��78�5�9�:�*+30ddh+30d
h`+30d`�;*+30ddh+	30d
h`+
30d`�<*�;�
�Y=�:���&	
��#�$&'%)�����d*�>*�;�*�<�*�?*�$@�A�B�2*�<�*�?*�$C�A�B�*�?*�$D�A�B*�E*�F��21234+546:7I9N:Z<_=c>����-*�?�
*�G�*�H��F����oC*�I<�"  *�J���Y�2Y�3K�5�7�9�:��OQ S$T&W(Y������<*�L=�	*�J��N*-�16�#-3�*�E*�$�M�����6�!-3�-3�-3<�	�����
�YN�:�*�$�M��Zbefghjkn#o,p1q:r=nCwLx\yazdwj~nx�������0*�?�	*O�P���	���������M*,�1+�Q�+�RL+�S>�
+�RL�YTYTYTYTYTYTYTYT:+�A+�Q�T�UY�V:,,�W,,�W*�$,�B*X�P��>��
���!�&�-�U�d�o�x�������������*�I=�y6^�,�2Y�3+�5Y�5�9�.�e*�?�*�J�Y�2Y�3+�5Z�5�9�:��Y�2Y�3+�5[�5�9�:��Y�2Y�3+�5\�5�7�9�:���*
�� �9�<�E�I�d��������B*�I<�M*,�1�Y�]Y,�^�:����	�������(*�_Y�`�a*�_Y�`�b*�_Y�`�c*�_Y�`�d*�_Y�`�e*�bfgO�h*�bfij�h*�efkl�h*�efmn�h*�efop�h*�efqr�h*�efst�h*�euvw�h*�exyz�h*�e�x{|�h*�e�x}~�h*�e�x��h*�e�x���h*�e�x���h*�e� x���h*�e�!x���h��Z���!�,�7�E�S�a�o�}����������������'���@*�I<�**�a��*����
	�����K*�I<��**�b��=*�b���#*�b��>��
*������ػY��:��.	 !!*"4#9$; A'����u=�:�:6�+*�I>*�1*�1+��Y����W���ձ�&	012345%662<8����j:�M,z�~�T,z�~�T,z�~�T,�~�T*�$,�B��?@AB(C1D9E����S+*�
�����*�$�M�*�$�M*�
������L
MO Q*R����Y�**����**����**�L��**�L��**�L����**�L����**����**����**����**�L��**�L��**�L���L*+�1*�I=�N*-�1*�]Y-�^��*�E�8*��6*��6*��6*��W**�c��**�d��**�e��*���r`abc d0e@fHgPhXi`jhkpltmyn~o�p�q�t�u�v�w�x�y�z�{�~�����$�*��Y+���/*�/��*�/D�A��*�/��*�/*����*�/*�����Y TYTYTYTYTYTYTYTYTY	TY
TYTYTY
TYTYTM*�/,��*�/*���Q��*�/*���A��*��*��*�*��*����B����'�2�=�����������������������8*�/�*�/�0*�/����������+*��*������
����Y)*�L<*�/��*�/��*���
*�/��������� �'�����o;*��W**����*�/�*�/��*�/��*�/*����*Y��`����"�����%�0�:������b**����**����**����**����**�I��*���*���*���*�*�/��*���
*�/��*�/*����*�/*����*�/*����*�/*����*���)*��"*����,��.*��*�/���2*�/*����*���*��*����,��.*��*���
*�����*��*��`*���*��*��`*���J�Y�2Y�3��5*���7��5*���7��5*���7��5*���7��5�9�:���r���� �(�C�H�O�W�^�i�t����������������
��a����Z.**����**����*�/�*�/*����*�/*������!""#-%����E*��W*�I<�M*,�1�]Y,�^��-./01������
L+*�LO=+.~>+.�~�:+*�LO�+.~x�>+.�~�+*�LO�+.�~x�>*�/�$*��6�*�/+.��������F=>?
@AB%C(D4E>FEGHHULcMlNwM}P������
�:T���Tz�~�T�~�Tz�~�T�~�Tz�~�T�~�Tz�~�T	�~�T*�$�B��6
\^_`'a1b>cHdVeafpg|i�j������:T�T�T���T���Tz�~�T	�~�T
z�~�T�~�Tz�~�T
�~�T�T	�T
�T*�$�B��Fwyz{|&}6~EQ�`�l�{���������������:�h`�:Tz�~�T�~�Tz�~�T�~�T6��h`-.z�~�Th``-.�~�Th``.z�~�Th``.�~�Th``.z�~�Th``.�~�T���h*�$�B��B����'�4�>�G�^�t�������������������h`�N-T-z�~�T-�~�T6�X-h`+.z�~�T-h`+.z�~�T-h`+.z�~�T-h`+.�~�T����*�$-�B��2����!�*�>�R�g�y���������b+�Q`�M,T,+�Qz�~�T,+�Qz�~�T,+�Qz�~�T,+�Q�~�T+�A,+�Q�T*�$,�B��&	�
���-�=�J�Y�a������J+��=>6*�
�����>6+����3~�*��~=�H~�*��~=�4*��,+����"*�~��~=�~��~=*��*��+��6+��6�6�6*�*Y��Z`��T*�*Y��Z`��*��T*�*Y��Z`��z�~�T*�*Y��Z`���~�T*�*Y��Z`��z�~�T*�*Y��Z`���~�T*��*��*�$*�*���ı��$���
����&�-�2�:@FNV`el	t
z����������-#4$9'I(������+��=��=Ơ"+��>����	��+�����>+�șO+�ǫG!�"�#�$�%�&�'�(�p�q�rstuvw$x+y2z9{@���6�%�6��6��6��6�	�6��6���6���6���6���6���6���6���6���6���6���6���6���6���6���6���6 �Y+�ޙ	�`���D+	2
9@�6��6��6��6�8�
�6�*��"�
Ƥ �� ����Cş;�3ğ+��#֟������D�*��.*��'*��*+����*��*�$*�*�����*�*��*+����*���*��*�$*�*���ı��?3:	;=>?0A1HAKHRSTUVW#X*Y1Z8[?\F]M^T_[`baibpcwd~e�f�g�i�u�w�x�y�{�|�}�~������
�(�)�q�u�z���������������������������������*�*Y��Z`��T*�*Y��Z`�����T*�*Y��Z`��T*�*Y��Z`��T*�*Y��Z`��z�~�T*�*Y��Z`��z�~�T*�*Y��Z`��z�~�T*�*Y��Z`���~�T��&	��+�<�M�f����������}~*�	~�*�~����~*�	~�*�~����~*�	~�*�~����~*�	~�*�~����*�	��*
���)�:�F�W�e�w�|����{C��Y��:+��dl``6�:����6*��*�/���&	�	���"�'�0�6�B�����%	*++����
�������^�M>,�~�T�?,d\3���T,�z~�T?��,d\3���T,�z�~�T*�/,���.�����#�1�8�D�S]����Q)*�%*�(�**�)�i*�(m�)*�(��	
!(
���F"*�%*�(*�)�m��**�)�m�(��!���&*�)�i*�(m�����*�(�����%	*++�����
%&������	7*�%���7*�"+��*�%�\��7e�i7h�l6

�h���
�h�7
l���

l�7*Y�(a�(*Y�)
�a�)*Y��a���:)*
+-/ 0%102:6P7b9m:y=�>���� *�"����A����6*�"��=*Y��a���G	HI����4*�"��<*Y�
a���MNO����6*�"��<*Y��a���STU����6*�"��<*Y��a���YZ[���