Nod32 的命令行扫描程序

来源:互联网 发布:js设置td字体颜色红色 编辑:程序博客网 时间:2024/05/17 00:14

最近在用Live Messenger,传文件的时候老让我找个杀读软件扫描扫描,而Nod32又不能被识别,虽然可以随便指个程序走走过程,但总觉的不舒服~

于是放狗~~~~~~~

得到如下结果:

"C:/Program Files/ESET/ESET NOD32 Antivirus/ecls.exe" --log-file=log.txt --action=clean

解释一下

ecls.exe是nod32的命令行扫描程序,--log-file=log.txt选项是说在程序目录下面新建一个日志文件,并把扫描日志写进去,--action=clean是说可以自动清除病毒。

详细的使用方法~ecls.exe --help~得到如下信息:

ESET Security on-demand scanner
Usage: ecls [OPTIONS..] FILES..
Options
       /base-dir=FOLDER         load modules from FOLDER
       /quar-dir=FOLDER         quarantine FOLDER
       /exclude=MASK            exclude files matching MASK from scanning
       /subdir                  scan subfolders (default)
       /no-subdir               do not scan subfolders
       /max-subdir-level=LEVEL  maximum sub-level of folders within folders to
                                  scan
       /symlink                 follow symbolic links (default)
       /no-symlink              skip symbolic links
       /ads                     scan ADS (default)
       /no-ads                  do not scan ADS
       /log-file=FILE           log output to FILE
       /log-rewrite             overwrite output file (default - append)
       /log-console             log output to console (default)
       /no-log-console          do not log output to console
       /log-all                 also log clean files
       /no-log-all              do not log clean files (default)
       /aind                    show activity indicator
       /auto                    scan and automatically clean all local disks
Scanner options
       /files                   scan files (default)
       /no-files                do not scan files
       /memory                  scan memory.
       /boots                   scan boot sectors
       /no-boots                do not scan boot sectors (default)
       /arch                    scan archives (default)
       /no-arch                 do not scan archives
       /max-obj-size=SIZE       only scan files smaller than SIZE megabytes
                                  (default 0 = unlimited)
       /max-arch-level=LEVEL    maximum sub-level of archives within archives
                                  (nested archives) to scan
       /scan-timeout=LIMIT      scan archives for LIMIT seconds at maximum
       /max-arch-size=SIZE      only scan the files in an archive if they are
                                  smaller than SIZE (default 0 = unlimited)
       /max-sfx-size=SIZE       only scan the files in a self-extracting
                                  archive if they are smaller than SIZE
                                  megabytes (default 0 = unlimited)
       /mail                    scan email files (default)
       /no-mail                 do not scan email files
       /mailbox                 scan mailboxes (default)
       /no-mailbox              do not scan mailboxes
       /sfx                     scan self-extracting archives (default)
       /no-sfx                  do not scan self-extracting archives
       /rtp                     scan runtime packers (default)
       /no-rtp                  do not scan runtime packers
       /adware                  scan for Adware/Spyware/Riskware (default)
       /no-adware               do not scan for Adware/Spyware/Riskware
       /unsafe                  scan for potentially unsafe applications
       /no-unsafe               do not scan for potentially unsafe
                                  applications (default)
       /unwanted                scan for potentially unwanted applications
       /no-unwanted             do not scan for potentially unwanted
                                  applications (default)
       /pattern                 use signatures (default)
       /no-pattern              do not use signatures
       /heur                    enable heuristics (default)
       /no-heur                 disable heuristics
       /adv-heur                enable Advanced heuristics (default)
       /no-adv-heur             disable Advanced heuristics
       /ext=EXTENSIONS          scan only EXTENSIONS delimited by colon
       /ext-exclude=EXTENSIONS  exclude EXTENSIONS delimited by colon from
                                  scanning
       /clean-mode=MODE         use cleaning MODE for infected objects.
                                  Available options: none, standard (default),
                                  strict, rigorous, delete
       /quarantine              copy infected files (if cleaned) to Quarantine
                                  (supplements ACTION)
       /no-quarantine           do not copy infected files to Quarantine
General options
       /help                    show help and quit
       /version                 show version information and quit
       /preserve-time           preserve last access timestamp
Exit codes:
  0    no threat found
  1    threat found and cleaned
  10   some files could not be scanned (may be threats)
  50   threat found
  100  error

文字很清楚,就不解释了~

原创粉丝点击