Updated to 3.3.3r9_x86_win32 by the request of Dmitry Savy.
[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.3r9_x86_win32.zip</tt>.
38 You are not interested in this table if you download the <a href="vnc-3.3.3r9_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>3.3.3r9 original</td>        <td><tt>0000CD10</tt></td><td align="right">   53 55 56     8B  F1 57 8B 46   68 C7 46 70  58 00 00 00</td></tr>
43 <tr><td>3.3.3r9 'SECRET' patched</td><td><tt>0000CD10</tt></td><td align="right"><b>C2 08 00</b> 8B  F1 57 8B 46   68 C7 46 70  58 00 00 00</td></tr>
44 <tr><td>3.3.3r7 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>
45 <tr><td>3.3.3r7 '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>
46 </table>
47 <p>Here you can check whether your patch was successful:</p>
48 <table border="1" align="center">
49 <tr><th>File from package</th><th>MD5 sum</th></tr>
50 <tr><td><tt>WinVNC.exe-3.3.3r9</tt>, original</td>        <td><tt>f4910e28a285a13e642cdfe302e4ad91</tt></td></tr>
51 <tr><td><tt>WinVNC.exe-3.3.3r9</tt>, 'SECRET' patched</td><td><tt>6669d652357a56737b36e2cde0acd473</tt></td></tr>
52 <tr><td><tt>WinVNC.exe-3.3.3r7</tt>, original</td>        <td><tt>d8d9d04901a4896f278d59a1cdc99aef</tt></td></tr>
53 <tr><td><tt>WinVNC.exe-3.3.3r7</tt>, 'SECRET' patched</td><td><tt>8423b8f9598893b517a4f5eebbf0749b</tt></td></tr>
54 </table>
55 HERE
56
57 My::Web->footer();