X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=project%2Fwinvnc%2FIndex.pm;fp=project%2Fwinvnc%2FIndex.html.pl;h=cfdb7ea0f2d032690f5cde232b3757d6d24c79a5;hp=f7635e2d375450e22c86f7de10384984576cfa85;hb=f40e75167a045d189c3027a0b112a20c635d3e48;hpb=ef80d25b0a0307ee222d0a94eaae8abf1e9df31c diff --git a/project/winvnc/Index.html.pl b/project/winvnc/Index.pm old mode 100755 new mode 100644 similarity index 70% rename from project/winvnc/Index.html.pl rename to project/winvnc/Index.pm index f7635e2..cfdb7ea --- a/project/winvnc/Index.html.pl +++ b/project/winvnc/Index.pm @@ -1,8 +1,6 @@ -#! /usr/bin/perl -# # $Id$ # Main page of 'My::Project::winvnc' -# Copyright (C) 2003 Jan Kratochvil +# Copyright (C) 2003-2005 Jan Kratochvil # # 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 @@ -25,17 +23,40 @@ our $CVS_ID=q$Id$; use strict; use warnings; -BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,)[0]]}; eval "use lib '$top_dir'"; close F; } use My::Web; -Wuse 'My::Project'; -Wuse 'project::winvnc::ListItem'; +Wuse 'project::Lib'; -My::Project->init_project( - "__PACKAGE__"=>__PACKAGE__, - "ListItem"=>\@project::winvnc::ListItem::ListItem, +our @ListItem=( + "name"=>"WinVNC hide", + "platform"=>"w32", + "priority"=>560, + "icon"=>"nowinvnc", + "download-already patched version 4.0"=>"vnc-4.0-x86_win32-exe-SECRET.zip", + "download-original version 4.0"=>"http://www.realvnc.com/dist/vnc-4.0-x86_win32.exe", + "download-already patched version 3.3.3r9"=>"vnc-3.3.3r9_x86_win32-exe-SECRET.zip", + "download-original version 3.3.3r9"=>"http://www.uk.research.att.com/archive/vnc/dist/vnc-3.3.3r9_x86_win32.zip", + "download-already patched version 3.3.3r7"=>"vnc-3.3.3r7_x86_win32-exe-SECRET.zip", + "download-original version 3.3.3r7"=>"http://www.uk.research.att.com/archive/vnc/dist/vnc-3.3.3r7_x86_win32.zip", + "link-VNC Homepage"=>"http://www.realvnc.com/", + "summary"=>"Hide running WinVNC server", + "license"=>"PD", + "maintenance"=>"ready", + "language"=>"i386 asm patch", + "description"=>sub { return <<"HERE"; }, +

If you install WinVNC in +@{[ a_href 'http://www.microsoft.com/','MS' ]} @{[ a_href 'http://www.microsoft.com/windows/','Windows' ]} +environment, you will notice that it creates its own small icon in System Tray. +Sometimes you want to get rid of this visible icon and you cannot remove it by any configuration +settings.

+HERE ); +sub handler +{ +project::Lib->init(); + + print <<'HERE';

You need to download the original distribution archive, install it and later just replace its file C:\Program Files\ORL\VNC\WinVNC.exe. @@ -44,8 +65,8 @@ Otherwise error about missing omnithread_rt.dll will occur.

Here is the table for bytes to patch in WinVNC.exe from vnc-3.3.3r9_x86_win32.zip. You are not interested in this table if you download the already patched .EXE file referenced in the heading.

- - +
File offsetHex bytes
+ @@ -58,7 +79,7 @@ You are not interested in this table if you download the C2 08 00 8B F1 57 8B 46 60 C7 46 68 58 00 00 00
File offsetHex bytes
4.0 original 0000339000 6A 66 6A 69 6A 65 56 8D 8D F8 FE FF FF E8 2D
4.0 'SECRET' patched0000339000 6A 66 6A 69 6A 65 56 8D 8D F8 FE FF FF EB 03
4.0 original 000035E0F8 FE FF FF E8 97 F2 FF FF 53 E8 69 4D 02 00 8B

Here you can check whether your patch was successful:

- +
@@ -69,4 +90,7 @@ You are not interested in this table if you download the
File from packageMD5 sum
WinVNC.exe-4.0 , original 7043ddf51d7135c1d1b83b4213dfed61
WinVNC.exe-4.0 , 'SECRET' patched916c82e99e1dc17bebdc31aebc895b52