2 # Main page of 'My::Project::netdnsspoof'
3 # Copyright (C) 2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 package project::netdnsspoof::Index;
20 require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
21 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
28 Wrequire 'product::Lib';
32 "name"=>"netdnsspoof",
33 "platform"=>"unixuser",
36 # FIXME: 'http://cvs.jankratochvil.net/viewcvs/' -> $W->{"project_viewcvs"}
37 "link-Source file"=>'http://cvs.jankratochvil.net/viewcvs/'."netdnsspoof/netdnsspoof?rev=HEAD",
38 "summary"=>"Network DNS proxy spoofing any nonexisting names",
40 "maintenance"=>"ready",
42 "description"=>sub { return <<"HERE"; },
43 <p>Would you like to catch requests to any even-nonexisting DNS queries on your
45 It may be useful for @{[ 'Plug & Play' ]}-like zero-configuration networks.</p>
46 <p>This project is a GPLed part of my product:
47 @{[ a_href '/product/hotelgate/',product::Lib->title(product::Lib->name_to_hashref("hotelgate")) ]}</p>
57 <p>This code can be used also as framework for any DNS-modifying requirements.
58 You may create virtual TLDs based on non-DNS resources etc.</p>
61 my $hotelgate_title=product::Lib->title(product::Lib->name_to_hashref("hotelgate"));
63 <table border="0" class="margin-center td-center">
65 img '/product/hotelgate/Admin-Login-icon.jpeg',$hotelgate_title,
66 "a_href"=>'/product/hotelgate/'
68 <tr><td style="font-size: xx-large;">@{[ a_href '/product/hotelgate/',$hotelgate_title ]}</td></tr>