WillMaster Possibillites Logo EzineSeek Award
Master Sniffer
by
William Bontrager

Permission is granted to reprint the above article in its entirety, provided no reprints are sent in conjunction with or related to any unsolicited bulk email, provided no changes are made to the article, and provided the author's name, signature lines, and copyright line are printed with the article; except you may change the article's title.

Sniffer?

Yes. Send the robot out to sniff remote pages to see whether or not they contain what you're looking for.

You tell Master Sniffer what to look for and where. There are several options which I'll address those further below.

It will sniff one URL or hundreds.

You can type the URL(s) into the form or you can have a text file of URLs on your server for Master Sniffer's use. The latter method is especially welcome if you will be sniffing the same URLs every week or so.

Not everyone will have a use for Master Sniffer. But those who do will find the program very, very handy.

Master Sniffer can be used by those who exchange links. Just make a file of the web page URLs that are supposed to have a reciprocal link. Upload the file. And then send Master Sniffer out to see if the links are actually on the pages.

Master Sniffer can be used by those who exchange banners for services. Again, just send Master Sniffer out every week or so to confirm compliance.

Someone emails you saying they put something related to you on their site -- send the sniffer out to verify.

Master Sniffer is not a crawler. It only sniffs those URLs you specify. It does its job quickly and thoroughly.

Version 1.0 is free.

Master Sniffer is self-contained in one program file, including form and popup help. The only customizing you have to do is verify the location of your server's Perl 5 on the first line of the script. You can get Master Sniffer at http://willmaster.com/a/url.pl?sniff

(Note: Master Sniffer is not the same as Master Snooper. The sniffer is to quickly determine whether or not specific text is on a page or pages. The snooper is to retrieve the actual HTML coding of doorway pages, redirector pages, frameset pages, and whenever you suspect your browser's "view source" option is not showing you all the original source code.)

Master Sniffer has several options that may serve well if you have specific banner or other link requirements for remote pages. These are:

  1. Check if a META "Refresh" tag is on the page.

  2. Check for the "self.location" or "window.location" JavaScript statements.

  3. Check for the JavaScript "onLoad=..." directive.

  4. Check to see if your code is within HTML comment tags.

If any of the above are found, the URL can be manually checked to see that the page visitor is not immediately redirected to another URL and that the required code is not hidden.

Master Sniffer is quick, much faster than manually checking the pages. After the sniffer, you can manually check those pages which are found questionable.

Happy, sniffing!

Copyright 2000 by William and Mari Bontrager

William Bontrager, Programmer and Publisher
"Screaming Hot CGI" programs
"WillMaster Possibilities" e-Newsletter
http://willmaster.com/possibilities/
subscribe-possibilities@willmaster.com