d9475507f46b40dcb00e8182a50f7f3f449240cc
[www.jankratochvil.net.git] / project / winvnc / index.html.pl
1 #! /usr/bin/perl
2
3 # $Id$
4 # Main page of 'My::Project::winvnc'
5 # Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; exactly version 2 of June 1991 is required
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
20
21 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
22 use vars qw($VERSION $CVS_ID);
23 $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
24 $CVS_ID=q$Id$;
25 use strict;
26 use warnings;
27
28 use My::Web;
29 use project::winvnc::ListItem;
30
31
32 My::Web->init_project(
33                 "ListItem"=>\%My::Project::winvnc::ListItem,
34                 );
35
36 print <<'HERE';
37 <p>Here is the table for bytes to patch in <tt>WinVNC.exe</tt> from <tt>vnc-3.3.3r7_x86_win32.zip</tt>.
38 You are not interested in this table if you download the <a href="vnc-3.3.3r7_x86_win32-exe-SECRET.zip">already patched
39 .EXE file</a> referenced in the heading.</p>
40 <table border="1" align="center">
41 <tr><th></th><th>File offset</th><th>Hex bytes</th></tr>
42 <tr><td>original</td>        <td><tt>0000C9F0</tt></td><td align="right">   53 55 56     8B  F1 57 8B 46   60 C7 46 68  58 00 00 00</td></tr>
43 <tr><td>'SECRET' patched</td><td><tt>0000C9F0</tt></td><td align="right"><b>C2 08 00</b> 8B  F1 57 8B 46   60 C7 46 68  58 00 00 00</td></tr>
44 </table>
45 <p>Here you can check whether your patch was successful:</p>
46 <table border="1" align="center">
47 <tr><th>File from package 3.3.3r7</th><th>MD5 sum</th></tr>
48 <tr><td><tt>WinVNC.exe</tt>, original</td>        <td><tt>d8d9d04901a4896f278d59a1cdc99aef</tt></td></tr>
49 <tr><td><tt>WinVNC.exe</tt>, 'SECRET' patched</td><td><tt>8423b8f9598893b517a4f5eebbf0749b</tt></td></tr>
50 </table>
51 HERE
52
53 My::Web->footer();