mvfilter - Microsoft Word (and other OLE2) Macro Stripper
Synopsis
Description
Options
Exit Values
See Also
Bugs
Copyright
mvfilter [ -v ] [ -i ] [ -n ] [ -t extension ] file
mvfilter examines its file argument and strips the VBA Macros or the Pre-VBA Macros from the file. The Original file is backed up in a file named with a .bak extension unless a different extension is specified with the -s argument. For example, foo.doc will be backed up as foo.bak.
-t Tests the file to see what type of Macros are present. NOTE: Disinfection is NOT performed using this option. -v This option displays the version. -i This option will display information. NOTE: Disinfection is NOT performed using this option. -s extension Use extension instead of .bak for back-up files. Example:
mvfilter -s aaa foo.doc
-n This option will NOT write a backup file.
MVfilter returns different error codes based on what actions have been performed or what errors have occured. It returns:30 if VBA Macros were disinfected. 31 if Pre-VBA Macros were disinfected. 40 if disinfection was not completed. 80 if Input File was not opened. 81 if File has an invalid header. 82 if Backup file could not be opened. 98 if an invalid command line option is entered. 99 if No valid license key was found.
In Addition to the codes listed above, the mvfilter returns the following values when the -t (test) option is supplied:
10 if VBA Macros were found. 11 if Pre-VBA Macros were found. 20 if No Macros were found.
vfind(1)
Please report all bugs to support@cyber.com Make sure to include the version of mvfilter, the platform and OS, the script or command used, the complete output showing the bug, a short description of the problem, and contact information.
Copyright 2000 by CyberSoft, Inc. All rights reserved.
| CyberSoft, Inc. | mvfilter (1) | July 2001 |