资源简介
VNC远程控制源码。
源码里面包含了:客户端和服务端。
屏幕监控研究必备

代码片段和文件信息
/*
* This is D3DES (V5.09) by Richard Outerbridge with the double and
* triple-length support removed for use in VNC. Also the bytebit[] array
* has been reversed so that the most significant bit in each byte of the
* key is ignored not the least significant.
*
* These changes are
* Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
*
* This software is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/* D3DES (V5.09) -
*
* A portable public domain version of the Data Encryption Standard.
*
* Written with Symantec‘s THINK (Lightspeed) C by Richard Outerbridge.
* Thanks to: Dan Hoey for his excellent Initial and Inverse permutation
* code; Jim Gillogly & Phil Karn for the DES key schedule code; Dennis
* Ferguson Eric Young and Dana How for comparing notes; and Ray Lau
* for humouring me on.
*
* Copyright (c) 19881989199019911992 by Richard Outerbridge.
* (GEnie : OUTER; CIS : [71755204]) Graven Imagery 1992.
*/
#include “d3des.h“
static void scrunch(unsigned char * unsigned long *);
static void unscrun(unsigned long * unsigned char *);
static void desfunc(unsigned long * unsigned long *);
static void cookey(unsigned long *);
static unsigned long KnL[32] = { 0L };
static unsigned long KnR[32] = { 0L };
static unsigned long Kn3[32] = { 0L };
static unsigned char Df_Key[24] = {
0x010x230x450x670x890xab0xcd0xef
0xfe0xdc0xba0x980x760x540x320x10
0x890xab0xcd0xef0x010x230x450x67 };
static unsigned short bytebit[8] = {
01 02 04 010 020 040 0100 0200 };
static unsigned long bigbyte[24] = {
0x800000L 0x400000L 0x200000L 0x100000L
0x80000L 0x40000L 0x20000L 0x10000L
0x8000L 0x4000L 0x2000L 0x1000L
0x800L 0x400L 0x200L 0x100L
0x80L 0x40L 0x20L 0x10L
0x8L 0x4L 0x2L 0x1L };
/* Use the key schedule specified in the Standard (ANSI X3.92-1981). */
static unsigned char pc1[56] = {
56 48 40 32 24 16 8 0 57 49 41 33 25 17
9 1 58 50 42 34 26 18 10 2 59 51 43 35
62 54 46 38 30 22 14 6 61 53 45 37 29 21
13 5 60 52 44 36 28 20 12 4 27 19 11 3 };
static unsigned char totrot[16] = {
124681012141517192123252728 };
static unsigned char pc2[48] = {
13 16 10 23 0 4 2 27 14 5 20 9
22 18 11 3 25 7 15 6 26 19 12 1
40 51 30 36 46 54 29 39 50 44 32 47
43 48 38 55 33 52 45 41 49 35 28 31 };
void deskey(key edf) /* Thanks to James Gillogly & Phil Karn! */
unsigned char *key;
int edf;
{
register int i j l m n;
unsigned char pc1m[56] pcr[56];
unsigned long kn[32];
for ( j = 0; j < 56; j++ ) {
l = pc1[j];
m = l & 07;
pc1m[j] = (key[l >> 3] & bytebit[m]) ? 1 : 0;
}
for( i = 0; i < 16;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
...D..R 0 2005-01-09 16:16 VNC\vncServer\AlphaDbg_No_CORBA
文件 1565 2001-09-18 11:31 VNC\vncServer\BUILDING.txt
文件 15925 2001-09-18 11:31 VNC\vncServer\d3des.c
文件 1754 2001-09-18 11:31 VNC\vncServer\d3des.h
文件 28385 2001-09-18 11:31 VNC\vncServer\History.txt
文件 4005 2001-09-18 11:31 VNC\vncServer\keysymdef.h
文件 3258 2001-09-18 14:26 VNC\vncServer\Log.cpp
文件 2205 2001-09-18 11:31 VNC\vncServer\Log.h
文件 1369 2001-09-18 11:31 VNC\vncServer\MinMax.cpp
文件 1394 2001-09-18 11:31 VNC\vncServer\MinMax.h
文件 176 2001-09-18 14:26 VNC\vncServer\mssccprj.scc
...D..R 0 2005-01-09 16:16 VNC\vncServer\omnithread\Debug
文件 20799 2000-05-26 18:46 VNC\vncServer\omnithread\omnithread\nt.cpp
文件 2062 2000-05-26 18:46 VNC\vncServer\omnithread\omnithread\nt.h
...D..R 0 2005-01-09 16:16 VNC\vncServer\omnithread\omnithread
文件 12887 2000-05-26 18:46 VNC\vncServer\omnithread\omnithread.dsp
文件 14999 2001-08-23 13:54 VNC\vncServer\omnithread\omnithread.h
文件 736 2002-06-12 10:29 VNC\vncServer\omnithread\omnithread.log
文件 1374 2003-05-21 22:25 VNC\vncServer\omnithread\omnithread.plg
...D..R 0 2005-01-09 16:16 VNC\vncServer\omnithread
文件 1689 2001-09-18 11:31 VNC\vncServer\RectList.cpp
文件 1463 2001-09-18 11:31 VNC\vncServer\RectList.h
文件 1329 2001-09-18 11:31 VNC\vncServer\res\animatedMemoryImageSource.class
文件 2068 2001-09-18 11:31 VNC\vncServer\res\authenticationPanel.class
文件 1761 2001-09-18 11:31 VNC\vncServer\res\clipboardfr
文件 7143 2001-09-18 11:31 VNC\vncServer\res\DesCipher.class
文件 3310 2001-09-18 11:31 VNC\vncServer\res\icon1.ico
文件 3489 2001-09-18 11:31 VNC\vncServer\res\optionsfr
文件 8309 2001-09-18 11:31 VNC\vncServer\res\rfbProto.class
文件 13228 2001-09-18 11:31 VNC\vncServer\res\vnc.bmp
............此处省略166个文件信息
- 上一篇:mbus测试软件
- 下一篇:夜神模拟器tcpdump抓包教程
相关资源
- Scratch源码
- E4A无障碍跨程序操作类库(带源码、
- 设备管理系统源码
- 安卓wifi直连app源码
- 我的世界源码(易语言版)
- labview编程软件滤波器以及编写程序设
- 我的界面(visual foxpro)源码
- 易语言:一键cf基址源码
- The Secret Path 3D 3D魔方迷宫[源码][scra
- scratch垃圾分类源码(最终版本).sb
- 安卓QQ6.71协议源码易语言,qq协议源码
- 编译原理实验工具及参考源码(lex&
- E盾偷后台工具源码
- VNCX
- UNIX/LINUX编程实践教程的源码
- 十以内加减法练习 powerbuilder源码
- 农场开发项目
- OCR源码
- PLC上位机编程软件
- 用foobar2000听google音乐[更新一下]
- 学生信息管理系统源码
- 用VC 编写的仿QQ聊天室程序源代码
- 毕业论文之温度传感器DS18B20(源码
- 可自定义导航网站源码
- 栅栏填充算法源码(VC)
- msp430F149操作红外接收模块源码
- [免费]图像识别c 源码
- 周易排盘源码
- RSA算法源码
- 一个人脸识别程序源码
评论
共有 条评论