Clamox
Antivirus library and virus scanner for .Net/Win32 based on ClamAV engine
  [Home]    [Download]    [Screenshots]    [ClamoxManage]    [C# samples]  

ClamoxManage.exe is a command-line tool coming with libclamox-win32. You can use it to manage virus database and test Clamox/ClamAV engine. See below (requires .Net 2.0 framework).

NOTE : many commands require administrator rights. Use "Run as..." on ClamoxManage.exe

Command Description
QUIT Close ClamoxManage
HELP Display a list of commands
STOPSV (1) Stop Clamox service
STARTSV (1) Start Clamox service
HASHFILE %1 Compute FNV hash of file %1
UPDATEDB Update virus database (folder /database in current directory containing ClamoxManage)
DBSTATS Display database stats (db stored in folder /database of current directory containing ClamoxManage)
DEBUGON Enable debug mode for libclamav.dll and others. Debugging information is written to files xxx.log in the current directory.
INSTALLSV (1) Register ClamoxSv.exe
UNINSTALLSV (1) Unregister ClamoxSv.exe
INSTALLDV (1) Register ClamoxDv.sys (on-access realtime scanner)
UNINSTALLDV (1) Unregister ClamoxDv.sys (on-access realtime scanner)
QLIST List quarantined files (folder /quarantine in current directory containing ClamoxManage)
QCOUNT Count quarantined files
QIN %1 Move a file into quarantine
QOUT %1 Remove a file from quarantine (file moved to original place)
QDELETE %1 Delete a file from quarantine without moving it to its original place
SCANFILE %1 Scan a file using current options and database
SCANMEMORY Do whole memory scan
TGZDB Compress /database into a tar.gz obfuscated file db.tgzo in current directory
UNTGZDB Uncompress db.tgzo, recreating virus database in sub-folder ./database
TGZODIR %1 Compress a directory into a tar.gz obfuscated file
MAGIC %1 Find magic number for a file
LOADCONFIG %1 Load config from branch named %1 in registry (%1 could be "default" for default options)
RESTORECONFIG Restore default config for Clamox in registry
SHOWCONFIG [%1] Show current options (or options in branch named %1)
CREATEREG Create Clamox default registry
REBOOT Reboot computer
TESTENGINE Do virus detection on ClamAV patterns (in file test.tgzo)
DUMPVIRUSLIST List virus names in file list.txt (in current directory)
   
   
   
   
(1) for use with complete antivirus package

ClamoxManage in use :

© N. Provost, 2009