avscan - Linux

Hamiltion avatar
By Hamiltion
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

--
Tags: Linux

All Comments

Poppy avatar
By Poppy
at 2011-10-25T08:00
blahblah | tee log

請教目錄大小問題

Sarah avatar
By Sarah
at 2011-10-24T11:07
我有一個目錄專門是紀錄 Log 用的, 而這個 Log 會依進入網站的 Session 而開新檔來記錄, 所以這個目錄會因一直開新的檔案, 然後舊的檔案會再移到別處。 不過這個目錄的大小會一直增加, 即使我刪了所有檔案, 目錄的大小也不會減少, 導致存取上變得非常慢。 請問我要怎麼直接變更該目錄大小呢? ...

製作Puppy Linux的開機隨身碟

Doris avatar
By Doris
at 2011-10-24T08:36
我已經下載了Puppy Linux的iso 但他的iso不像Arch Linux的iso那樣光用dd指令就 能變出一個可開機的usb隨身碟(dd if=arch.iso of=/dev/usb_pen_drive路徑) 我本來打算用virtualbox開Puppy Linux(iso)後再把他灌到usb ...

Linux 範例程式跑不過

Dinah avatar
By Dinah
at 2011-10-24T00:12
※ 引述《aurora9624 (我還太淺)》之銘言: : 標題: [問題] Linux 範例程式跑不過 : 時間: Sun Oct 23 13:01:42 2011 : : : FILE fp =NULL; /*檔案物件指標,包含緩衝區和檔案*/ 不能在這裡給變數值。 : : : ...

分割磁區 新手問題

Andrew avatar
By Andrew
at 2011-10-23T22:20
不好意思各位大大 小弟最近想再筆電上安裝Ubuntu 已經燒綠在於DVD上準備安裝 但是我實在是搞不懂網路上分割磁區的意思 我在windows下已經將D槽 再多分割50G E槽出來準備來安裝linux 但是每次一到Ubuntu安裝界面那都找不道我所分割出來的E槽 真的看不懂網路上所講解的分割教學 又怕把原本的 ...

ubuntu新手

Agnes avatar
By Agnes
at 2011-10-23T13:36
看到這裡我有點不同的看法.. ※ 引述《da1221 (da!atat!)》之銘言: : andlt; 中間恕刪 andgt; : 但是有幾點一直沒辦法好好解決 : 1. 常用的軟體沒有完整支援,缺乏功能或不穩定 : (skype,pps,picasa) 我想您這點的抱怨應該是: Skype/p ...