Welcome to ScanGuide. What Is ScanGuide? ------------------ Current version: 1.0 ScanGuide is a small CLI tool I put togther after reading a post in the UseNet Amiga newsgroups about how oen could misuse the @onopen and @onclose commands supported by AmigaGuide to wreak havoc on an unsuspecting Amiga user. Tricks like formatting someone's harddisk or deleting all his files when he opens or closes an AmigaGuide document isn't my kind of humor. So I created ScanGuide. Just feed it the path and filename of an AmigaGuide document (say one from an archive you just downloaded) and it'll scan that document and report all lines containing @onopen and @onclose commands. Then it is up to you to check these lines for possible nastyness. The optional ALL parameter will make ScanGuide also search for " rx ", " rxs ", 'address command' and " system " commands. As these an be misused as well unfortunately. The WARN parameter has been added to facilitate script use. When used, all the output is suppressed and ScanGuide will return WARN (5) if it detects suspect lines and OK (0) if none are detected. The example AG script below shows how to use the ScanGuide program to scan every AmigaGuide file before it is passed on to the MultiView tool. Id it's clean, it'll display. If suspect lines are found, then MultiView will display these. If you don't want the suspect line sto be shown but just have Multiview not load the guide, replace the t:amigaguide.suspect part after Scanguide with WARN. Like in the 2nd script Just snip the script from between the lines, name it eg. C:AG and then just type Protect C:AG +s. Also make sure ScanGuide is in your path. Now all you need to do is type AG followed by the filename of the AmigaGuide document that you wish to view. Eg, AG myfile.guide ----------- AG -(with suspect display)------ .key guidefile ScanGuide ALL > t:AmigaGuide.suspect if WARN MultiView t:AmigaGuide.suspect else MultiView endif -------------------------------------------- ----------- AG -(without suspect display)--- .key guidefile ScanGuide ALL WARN if NOT WARN MultiView endif -------------------------------------------- Usage: ScanGuide [ALL] [WARN] That's about all. It's a freebie people, no charge! Just my contribution to making life a bit safer for 'Amiganoid lifeforms'. Now If you really feel it deserves renumeration, then check out the text below. 21st January 1996 Paul Kolenbrander UseFul Adresses: e-mail: paul@serena.iaehv.nl WWW : http://www.iaehv.nl/users/paul HTML-Heaven Support Page: http://www.iaehv.nl/users/paul/heaven.html ScanGuide Support Page : http://www.iaehv.nl/users/paul/amiga.html --------------------------------- Important --------------------------------- Now if you think ScanGuide deserves some monetary reward, why not make a donation to 1 of 2 very worthy causes. Both these causes are dedicated to letting the truth come out about the practices of the so-called Church of Scientolgy (the Dianetics people) 1. If you're in the Netherlands, why no donate towards the defence fund of the FishMan Affidavit posters. What is Scientology and who is Fishman? You can find info on http://www.iaehv.nl/users/paul/fishman/fishnet.html Gifts: Steunfonds rechtszaak CoS: giro 450 9627, Vrienden van K, Amsterdam 2. If you're in the rest of the world, why not help FactNet. This organisation is worth being supported and can use a donation. Donate something $5, $10, $25, $50 or more. Anything helps. Right now even 3-5,000 individual $5 checks will save factnet. To donate just point your web browser to the web page at http://www.lightlink.com/factnet1/ and make a credit card donation or call 1-303-473-0111 and follow the voice instructions for a credit card donation. If you want more security send a tax deductible check to us directly at FACTNet at 601 16th. St. C-217, Golden, CO. 80401 USA. -----------------------------------------------------------------------------