home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
v
/
vc50_jan.zip
/
VBAIT.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-24
|
4KB
|
91 lines
ECHO OFF
CLS
IF "%1"=="" GOTO HELP
IF NOT EXIST VCHECK ECHO You should be in the VC5 Home Directory to run %0
IF NOT EXIST VCHECK ECHO This enables you to keep everything in one place.
IF NOT EXIST VCHECK ECHO You may wish to edit %0.BAT to further customize it.
IF NOT EXIST VCHECK GOTO END
IF EXIST VBAIT.OLD GOTO DOCOMPARE
ECHO
ECHO ┌──────────────────────────────────────────────────────────────┐
ECHO │ We must make a reference file of your bait programs. │
ECHO │ Next time, we will make a fresh list to compare it with. │
ECHO │ Any changes to your bait data will cause immediate alarm. │
ECHO │ We now will make a reference list called VBAIT.OLD when │
ECHO │ you . . . │
ECHO └──────────────────────────────────────────────────────────────┘
ECHO [Strike any key to continue.]
PAUSE > NUL
VCHECK /VBAIT.OLD %1 %2 %3 %4 %5 %6 %7 %8 %9
ECHO
ECHO . . . Done!
ECHO The reference list has been made.
ECHO Unless you delete this list, VBAIT will from now on
ECHO be able to detect changes to the data files
ECHO which you have selected: %1 %2 %3 %4 %5 %6 %7 %8 %9
ECHO
GOTO ENDMSG
:DOCOMPARE
ECHO
ECHO
ECHO We must make a list for comparison. [Strike any key to continue.]
PAUSE > NUL
VCHECK /VBAIT.NEW %1 %2 %3 %4 %5 %6 %7 %8 %9
ECHO
ECHO New comparison list made. Comparing old and new statistics with VCOMP.
ECHO
VCOMP VBAIT.OLD VBAIT.NEW
if errorlevel 9 ECHO !!! WARNING: VCOMP is virus-infected !!!
if errorlevel 9 ECHO RUN VC1 and VC2 (VC.BAT) IMMEDIATELY
if errorlevel 9 goto end
if errorlevel 7 goto changes
if errorlevel 6 goto changes
if errorlevel 1 echo Trouble with VCOMP. Please check the program.
if errorlevel 1 goto end
ECHO ┌─────────────────────────────────────────────┐
ECHO │ Victor Charlie has looked and found │
ECHO │ your bait files to be unchanged since │
ECHO │ your last comparison. Rest easy. │
ECHO │ You can be sure no virus bomb is at work. │
ECHO └─────────────────────────────────────────────┘
ECHO
GOTO ENDMSG
:HELP
ECHO
ECHO ┌──────────────────────────────────────────────────────┐
ECHO │ VBAIT will help you detect changes to your data. │
ECHO │ If you have not yet selected files to use for bait, │
ECHO │ please refer to the Victor Charlie manual on │
ECHO │ "Protecting Your Data" for guidance. │
ECHO │ You then must tell this program how you have │
ECHO │ named your bomb-bait files. For example: │
ECHO │ VBAIT MYBAIT?.* [Enter] │
ECHO └──────────────────────────────────────────────────────┘
ECHO
GOTO END
:ENDMSG
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ Remember: if you change, add or delete any of your │
ECHO │ bait files, you should delete VBAIT.OLD from this │
ECHO │ directory. You then can make a fresh list with VBAIT. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO
GOTO END
:CHANGES
ECHO
ECHO ╔═════════════════════════════════════════════════════╗
ECHO ║ !!! WARNING !!! ║
ECHO ║ Victor Charlie has detected changes in your bait. ║
ECHO ║ If you yourself have made no changes ║
ECHO ║ to the file(s) listed above, you MAY ║
ECHO ║ be the victim of a virus bomb attack! ║
ECHO ║ Please look at the Victor Charlie manual section ║
ECHO ║ on monitoring data files for suggestions on how ║
ECHO ║ to proceed. Remember, VBAIT can determine if a ║
ECHO ║ file has been changed, but not the cause of such ║
ECHO ║ change. Ensure you have not changed the above ║
ECHO ║ files yourself before you start a virus search. ║
ECHO ║ Do run Victor Charlie detection immediately. Type: ║
ECHO ║ RUNVC [Enter] ║
ECHO ╚═════════════════════════════════════════════════════╝
:END