avscan - Linux

By Hamiltion
at 2011-10-24T12:16
at 2011-10-24T12:16
Table of Contents
我裝了avscan來掃雙系統的M$,我只會做掃毒的動作
其他功能只能用google翻釋,一知半解,try了也沒效果
且google到的資料都是M$版本的資訊,只好上版來問
我下指令
avscan -s --scan-in-archive --scan-mode=all --alert-action=delete
但往上跑的數據會超過捲軸而看不到,我希望能在掃完時輸出掃毒記錄檔
而且掃毒時是看的到過程,而非看著不動的終端機掃完才輸出
以下是它的 -help ,拜托幫我看看了
syntax: avscan [option ...] file ...
All non-option command line words are considered files or directories to be
scanned. (By default no recursion takes place beyond the first level of the
directory structure.)
Available options:
--help ................... display this help text (abbreviation: -h or -?)
--version ................ prints version info
--temp=<dir> ............. specify the directory for temporary files
--detect-prefixes="<type>=yes|no [<type>=yes|no ...]"
Activates/deactivates detection of possibly
unwanted
programs, which are not viruses. <type> can be
adspy, appl, bdc, dial, game, hiddenext, joke,
pck,
phish, spr or alltypes (for all known types).
Example: "joke=yes appl=no phish=yes"
--scan-in-archive[=yes|no] files in archives will be extracted and scanned
--scan-in-mbox[=yes|no] .. scan mailbox folders, too (might be time
consuming!)
--archive-max-size=<N> --archive-max-recursion=<N> --archive-max-ratio=<N>
anti DoS feature: do not scan archive content
which
would exceed the given file size, nesting level or
compression factor limits on extraction (0 means
unlimited)
--archive-max-count=<N> .. anti DoS feature: do not scan archive content
which
has at least N files in a recursion level
--max-reports-per-file=<N> anti DoS feature: stop scanning a file after the
N'th report message (set N=0 to disable this
feature)
--send-snmp-traps[=yes|no] whether SNMP traps should be sent or not
--snmp-verbosity-level=[information|warning|error|alert] defines for which
events traps should be sent
--snmp-recipient=[hostname/ip-address] defines the target for SNMP traps
--syslog-priority=[debug|information|warning|error|alert] defines for which
events messages should be logged
--scan-mode=<mode> ....... applies "extlist", "smart" or "all" scan methods:
"extlist" scans files according to their filename
extension, "smart" detects which files to scan
from
their name/content, "all" scans all files
regardless
of their name or content
--heur-macro[=yes|no] .... enable/disable macro heuristics
--heur-level=<N> ......... setup heuristics level: 0=off, 1-3=low-high
-e ....................... repair concerning files if possible
--alert-action=<spec> .... specifies which action to take when an alert was
found. Available options are:
none, ignore: ignore the alert
delete, del : delete the concerning file
rename, ren : rename the concerning file
quarantine : quarantine the file
(see --quarantine-dir)
--quarantine-dir=<dir> ... specifies the quarantine directory for infected
files
-onefs ................... do not cross file systems while following links
-s ....................... recurse into subdirectories
--follow-symlink[=yes|no] follow symbolic links (by default on)
--batch .................. disable interaction with the user
--max-runtime=<N> ........ time limit for a schedule/scan/scheduled job
--scan-continue-file=<filename> file for storing data to resume an aborted
job
--schedule-scan .......... schedule the scan instead of performing it
--query-results .......... query recent scheduled scan results
--query-alerts ........... query recent scheduled scan results for alerts
--query-warnings ......... query recent scheduled scan results for warnings
--query-statistics ....... display statistics for scheduled scans
--scan-scheduled-files ... start scanning scheduled files
-r1 ...................... write infections and warnings to report file
-r2 ...................... additionally write scanned paths
-r3 ...................... report all scanned files
-r4 ...................... verbose report mode
-rf=<filename> ........... name of report file
%d = day, %m = month, %y = year (two digits each)
-ra ...................... append new log data to existing file
-ro ...................... overwrite existing log file
--exclude-pattern=<spec> . specifies what to exclude from scans (PCRE
pattern)
--exclude-ext=<spec> ..... file extensions to exclude from scans
--log-file=<filename> .... specifies where to log messages to
list of return codes:
0: Normal program termination, nothing found, no error
1: Found concerning file
3: Suspicious file found
4: Warnings were issued
255: Internal error
254: Configuration error (invalid parameter in command-line
or configuration file)
253: Error while preparing on-demand scan
252: The avguard daemon is not running
251: The avguard daemon is not accessible
250: Cannot initialize scan process
249: Scan process not completed
248: No valid license found
211: Program aborted, because the self check failed
--
其他功能只能用google翻釋,一知半解,try了也沒效果
且google到的資料都是M$版本的資訊,只好上版來問
我下指令
avscan -s --scan-in-archive --scan-mode=all --alert-action=delete
但往上跑的數據會超過捲軸而看不到,我希望能在掃完時輸出掃毒記錄檔
而且掃毒時是看的到過程,而非看著不動的終端機掃完才輸出
以下是它的 -help ,拜托幫我看看了
syntax: avscan [option ...] file ...
All non-option command line words are considered files or directories to be
scanned. (By default no recursion takes place beyond the first level of the
directory structure.)
Available options:
--help ................... display this help text (abbreviation: -h or -?)
--version ................ prints version info
--temp=<dir> ............. specify the directory for temporary files
--detect-prefixes="<type>=yes|no [<type>=yes|no ...]"
Activates/deactivates detection of possibly
unwanted
programs, which are not viruses. <type> can be
adspy, appl, bdc, dial, game, hiddenext, joke,
pck,
phish, spr or alltypes (for all known types).
Example: "joke=yes appl=no phish=yes"
--scan-in-archive[=yes|no] files in archives will be extracted and scanned
--scan-in-mbox[=yes|no] .. scan mailbox folders, too (might be time
consuming!)
--archive-max-size=<N> --archive-max-recursion=<N> --archive-max-ratio=<N>
anti DoS feature: do not scan archive content
which
would exceed the given file size, nesting level or
compression factor limits on extraction (0 means
unlimited)
--archive-max-count=<N> .. anti DoS feature: do not scan archive content
which
has at least N files in a recursion level
--max-reports-per-file=<N> anti DoS feature: stop scanning a file after the
N'th report message (set N=0 to disable this
feature)
--send-snmp-traps[=yes|no] whether SNMP traps should be sent or not
--snmp-verbosity-level=[information|warning|error|alert] defines for which
events traps should be sent
--snmp-recipient=[hostname/ip-address] defines the target for SNMP traps
--syslog-priority=[debug|information|warning|error|alert] defines for which
events messages should be logged
--scan-mode=<mode> ....... applies "extlist", "smart" or "all" scan methods:
"extlist" scans files according to their filename
extension, "smart" detects which files to scan
from
their name/content, "all" scans all files
regardless
of their name or content
--heur-macro[=yes|no] .... enable/disable macro heuristics
--heur-level=<N> ......... setup heuristics level: 0=off, 1-3=low-high
-e ....................... repair concerning files if possible
--alert-action=<spec> .... specifies which action to take when an alert was
found. Available options are:
none, ignore: ignore the alert
delete, del : delete the concerning file
rename, ren : rename the concerning file
quarantine : quarantine the file
(see --quarantine-dir)
--quarantine-dir=<dir> ... specifies the quarantine directory for infected
files
-onefs ................... do not cross file systems while following links
-s ....................... recurse into subdirectories
--follow-symlink[=yes|no] follow symbolic links (by default on)
--batch .................. disable interaction with the user
--max-runtime=<N> ........ time limit for a schedule/scan/scheduled job
--scan-continue-file=<filename> file for storing data to resume an aborted
job
--schedule-scan .......... schedule the scan instead of performing it
--query-results .......... query recent scheduled scan results
--query-alerts ........... query recent scheduled scan results for alerts
--query-warnings ......... query recent scheduled scan results for warnings
--query-statistics ....... display statistics for scheduled scans
--scan-scheduled-files ... start scanning scheduled files
-r1 ...................... write infections and warnings to report file
-r2 ...................... additionally write scanned paths
-r3 ...................... report all scanned files
-r4 ...................... verbose report mode
-rf=<filename> ........... name of report file
%d = day, %m = month, %y = year (two digits each)
-ra ...................... append new log data to existing file
-ro ...................... overwrite existing log file
--exclude-pattern=<spec> . specifies what to exclude from scans (PCRE
pattern)
--exclude-ext=<spec> ..... file extensions to exclude from scans
--log-file=<filename> .... specifies where to log messages to
list of return codes:
0: Normal program termination, nothing found, no error
1: Found concerning file
3: Suspicious file found
4: Warnings were issued
255: Internal error
254: Configuration error (invalid parameter in command-line
or configuration file)
253: Error while preparing on-demand scan
252: The avguard daemon is not running
251: The avguard daemon is not accessible
250: Cannot initialize scan process
249: Scan process not completed
248: No valid license found
211: Program aborted, because the self check failed
--
Tags:
Linux
All Comments

By Poppy
at 2011-10-25T08:00
at 2011-10-25T08:00
Related Posts
請教目錄大小問題

By Sarah
at 2011-10-24T11:07
at 2011-10-24T11:07
製作Puppy Linux的開機隨身碟

By Doris
at 2011-10-24T08:36
at 2011-10-24T08:36
Linux 範例程式跑不過

By Dinah
at 2011-10-24T00:12
at 2011-10-24T00:12
分割磁區 新手問題

By Andrew
at 2011-10-23T22:20
at 2011-10-23T22:20
ubuntu新手

By Agnes
at 2011-10-23T13:36
at 2011-10-23T13:36