源码,源码,很不错的开源源码,你值得拥有
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-01 22:28 ultravnc-code-860
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project Root
目录 0 2014-01-01 22:29 ultravnc-code-860UltraVNC Project RootUltraVNC
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslations
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
es
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstat
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatminimizeup.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatfront.bmp
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatmaximizeup.bmp
文件 23934 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatmainicon.ico
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatcloseup.bmp
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatpinup.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatoth.bmp
文件 180054 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatflash.bmp
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatpindown.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstat
one.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatack.bmp
文件 297086 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esvncviewer.ico
文件 318 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esdrive.ico
文件 326 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
escursor1.cur
文件 297086 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esidr_tray.ico
文件 318 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esdir.ico
文件 6678 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esTango_lx.bmp
文件 318 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esfile.ico
文件 1118 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esquer.bmp
文件 56296 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esl1.bmp
文件 20022 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esl2.bmp
文件 777 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esvncviewer.exe.manifest
文件 85 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esuild-bcc32.bat
............此处省略1825个文件信息
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2002 UltraVNC Team Members. All Rights Reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License or
// (at your option) any later version.
//
// This program 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. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not write to the Free Software
// Foundation Inc. 59 Temple Place - Suite 330 Boston MA 02111-1307
// USA.
//
// If the source code for the program is not available from the place from
// which you received this file check
// http://www.uvnc.com
// /macine-vnc Greg Wood (wood@agressiv.com)
#include “authadmin.h“
#include “lm.h“
typedef struct _WKSTA_INFO_100_NT {
DWORD wki100_platform_id;
wchar_t * wki100_computername;
wchar_t * wki100_langroup;
DWORD wki100_ver_major;
DWORD wki100_ver_minor;
}WKSTA_INFO_100_NT;
BOOL APIENTRY DllMain( HANDLE hModule
DWORD ul_reason_for_call
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
bool IsAdmin() {
SC_HANDLE hSC;
hSC = OpenSCManager(
NULL
NULL
GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE
);
if( hSC == NULL ) {
return FALSE;
}
CloseServiceHandle( hSC );
return TRUE;
}
AUTHADMIN_API
BOOL CUGP(char * userinchar *passwordchar *machinechar *groupinint locdom)
{
DWORD dwLogonType;
DWORD dwLogonProvider;
HANDLE hToken;
bool returnvalue=false;
dwLogonType = LOGON32_LOGON_INTERACTIVE;
dwLogonProvider = LOGON32_PROVIDER_DEFAULT;
byte *buf = 0;
byte *buf2 = 0;
char domain[MAXLEN * sizeof(wchar_t)];
DWORD rcdomain = NetGetDCName( 0 0 &buf );
NetApiBufferFree( buf );
printf(“Logonuser: % s %s
“ userin “.“);
if (LogonUser(userin “.“ password dwLogonType dwLogonProvider &hToken))
if (ImpersonateLoggedOnUser(hToken))
{
returnvalue=IsAdmin();
RevertToSelf();
CloseHandle(hToken);
}
if (returnvalue==true) return returnvalue;
if (!rcdomain)
{
DWORD result=NetWkstaGetInfo( 0 100 &buf2 ) ;
if (!result)
{
wcstombs( domain ((WKSTA_INFO_100_NT *) buf2)->wki100_langroup MAXLEN );
NetApiBufferFree( buf2 );
printf(“Logonuser: % s
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-01 22:28 ultravnc-code-860
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project Root
目录 0 2014-01-01 22:29 ultravnc-code-860UltraVNC Project RootUltraVNC
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslations
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
es
目录 0 2014-01-01 22:28 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstat
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatminimizeup.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatfront.bmp
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatmaximizeup.bmp
文件 23934 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatmainicon.ico
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatcloseup.bmp
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatpinup.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatoth.bmp
文件 180054 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatflash.bmp
文件 1302 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatpindown.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstat
one.bmp
文件 1558 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esstatack.bmp
文件 297086 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esvncviewer.ico
文件 318 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esdrive.ico
文件 326 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
escursor1.cur
文件 297086 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esidr_tray.ico
文件 318 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esdir.ico
文件 6678 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esTango_lx.bmp
文件 318 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esfile.ico
文件 1118 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esquer.bmp
文件 56296 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esl1.bmp
文件 20022 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esl2.bmp
文件 777 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esvncviewer.exe.manifest
文件 85 2008-09-30 22:03 ultravnc-code-860UltraVNC Project RootUltraVNC ranslationsviewer
ussian
esuild-bcc32.bat
............此处省略1825个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)