MojoSnooper
is a small but powerful Perl script which grabs HTML source
code from other sites and display it on your site, complete
with javascript codes, if any. MojoSnooper
is an easy to install, easy to maintain CGI program written
with Perl 5 to let you see the real code behind web pages.
MojoSnooper is useful
when:
-
You're curious how a particular webpage
works.
-
You want to see what the HTML code of
a framed website looks like.
-
Your browser's "view source"
only show some of the JavaScript and other code a web
page uses.
-
You typed in one URL and ended up somewhere
else.
-
and many more cases...
Requirements
- Unix/Linux or Windows server
- Perl 5 or higher
- Ability to run cgi and change file permissions
- CGI.pm module
- LWP::Simple
Installation
Open index.cgi file and change the first line to
your PERL location.
Open config.pl file and change the following values:
- change the $script_path variable to where you have upload
the files
- @okdomains: what domains can execute the script, avoiding
your server works for someone else
- $CONFIG{404}: the error message to display if the page
entered is not founf
- $CONFIG{miss}: the error message to dispay if there
is no URL entered
- $CONFIG{bgcolor}: the background color of the URL box
- $CONFIG{url}: the default URL when the page first load
- $TEMPLATE{index}: the location of the index.html page
Upload all files to a location on your server in ASCII,
and call index.cgi
thats' all.
DOWNLOAD
(Your must enter a correct email address, the download link will be sent to this address!)