; AmigaguideInspector - Inspects Amigaguide files for security risks; Copyright (C) 2004 Safalra (Stephen Morley);; This program is Free software; you can redistribute it and/or modify; it under the terms of the GNU General Public License as published by; the Free Software Foundation; either version 2 of the License, or; (at your option) any later version.;; This program is distributed in the hope that it will be useful,; but WITHOUT ANY WARRANTY; without even the implied warranty of; MERCHANTABILITY OR FITNESS For A PARTICULAR PURPOSE. See the; GNU General Public License For more details.;; You should have received a copy of the GNU General Public License; along with this program; if not, write to the Free Software; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.; Version string for the 'version' commandver$="$VER:1.0 (07/10/2004)"; Goto help subroutine if necessary   help <>1  help ܗ((1))="help"  help; Attempt to open file (0,(1)) ݂ "Error: The specified file could not be opened"  0; This makes the code simplerܙ ; Secrity risk countssystem=0onopen=0onclose=0rx=0rxs=0݁ "Security inspection in progress... " (0) text$=(1000) open=܉(text$,"@{") ܉(text$,"@onopen")>0 onopen=onopen+1 ܉(text$,"@onclose")>0 onclose=onclose+1 ; For link-style security risks open>0 close=܉(text$,"}",open) i=܉(text$," system ",open) i>0 B i0 B i0 B i