[問題] avscan

看板Linux作者 (潑潑)時間14年前 (2011/10/24 12:16), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
我裝了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 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.252.121.30

10/24 13:10, , 1F
blahblah | tee log
10/24 13:10, 1F
原來這就是tee的功能啊,謝謝你啦。 當然有好心人可以的話幫我解釋一下avscan各種功能,麻煩了謝謝。 ※ 編輯: Qiqi 來自: 111.252.121.30 (10/24 14:46)
文章代碼(AID): #1EfEQOWQ (Linux)
文章代碼(AID): #1EfEQOWQ (Linux)