Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Программное обеспечение > Параметры для проверки файла


Автор: try_to_get 1.9.2007, 14:12
В FlashGet есть возможность после закачки файла проверить антивирусом. Проблема в том, чтобы проверить файл, нужно передать какие то параметры или ключи АВ'у Avira AntiVir PersonalEdition Classic, а я не знаю. Какие нужно передать параметры avscan.exe для проверки файла?

Без параметров выдает ошибку...

Добавлено через 13 минут и 48 секунд
нашел какие то параметры в справке...
-s установил этот параметр, но все равно выдает ошибку!!! smile 

Автор: ZeeLax 1.9.2007, 14:47
Что за пераметр то? Справку внимательно читали?

Автор: try_to_get 1.9.2007, 15:14
Command line scanner

Добавлено через 1 минуту и 17 секунд
Код

FAQ, Tips :: Command line scanner
The AVCMD Command line scanner supplied with Avira AntiVir PersonalEdition Classic enables you to control the scan for viruses and unwanted programs by command line. Various command line parameters are available for controlling the scan.

Usage is

AVCMD [options] [path[*.ext]] [*.ext]

List of parameters

Parameter
 Description
 
-? / -h
 Displays the help text
 
-allfiles
 Scan all files
 
-defext
 Only scans files with the defined standard extensions
 
-allboot
 Scan all boot records
 
-alldrives
 Scan all drives
 
-allhard 
 Scan all hard disks
 
-allremote
 Scan all network drives
 
-wub
 Save unknown boot records to file '.ukb.sav'
 
-s
 Scan subdirectories
 
-z
 Files in archives will be extracted and scanned
 
-noboot
 Do not check any boot records
 
-nombr 
 Do not check any master boot records
 
-nobreak
 No abort possible via Ctrl-C or Ctrl-Break
 
-v
 Verbose scan mode
 
-nopack
 Do not scan inside packed files
 
-e [-del | -ren] 
 Repair detected files if possible
[-del] non-repairable files will be deleted
[-ren] non-reparable files are renamed
 
-ren 
 Rename detected files (*.COM->*.VOM,...)
 
-del
 Delete detected files
 
-dmnoheur
 Disable macro heuristic
 
-dmdel
 Delete documents containing suspicious macros
 
-dmdas
 Delete all macros if one appears to be suspicious
 
-dmse
 Set exit code to 101 if any macro was found
 
-heuristic[:|=]1
 Heuristic detection level low
 
-heuristic[:|=]2
 Heuristic detection level medium
 
-heuristic[:|=]3
 Heuristic detection level high
 
-r1
 Just log infections and warnings
 
-r2 
 Log all scanned paths in addition
 
-r3
 Log all scanned files
 
-r4
 Select verbose log mode
 
-rs
 Select single-line log messages
 
-rf<filename>
 Name of log file
? d = day, ?m = month, ?y = year (two digits each)
 
-ra
 Append new log data to existing file
 
-ro
 Overwrite existing log file
 
-q
 Quiet mode
 
-lang[:|=]DE 
 Use German texts
 
-lang[:|=]EN
 Use English texts
 
-once
 Run AVCMD Command line scanner only once a day
 
-x<dir>
 AVCMD Command line scanner looks for it's files e.g. antivir3.vdf in <dir>
 
-tmp<dir>
 Specify the directory for temporary files
 
-if<filename>
 AVCMD Command line scanner uses the given ini file
 
-kf<filename>
 AVCMD Command line scanner uses the given license file (hbedv.key)
 
-with-<type>
 Detects unwanted programs,
like "dial", "joke", "game", "bdc", "heur-dblext", "pck", "spr"
The following types are enabled by default:
"dial", "bdc", "heur-dblext"
 
-without-<type>
 Like -with-<type>, but disables this type
 
-alltypes
 Combination of all known -with-<type> options
 
-qua-<type> <dir>
 The quarantine function enables detected files to be isolated in a special directory by specifying: 
"-qua-move <dir>", "-qua-copy <dir>" bzw. "-qua-restore <dir>", "-qua-delete <dir>" to restore or delete files
 
@<rspdatei>
 Read parameters from the file <rspfile> with each option in a separate line
 

List of return codes:

Return codes
 Description
 
0
 Normal program termination, no malware, no error
 
1
 Signature was found in a file or boot sector
 
2
 A signature was found in memory
 
3
 Suspicious file found
 
100
 AVCMD Command line scanner only has displayed this help text
 
101
 A macro was found in a document file
 
102
 The parameter -once was given and AVCMD Command line scanner already ran today
 
200
 Program aborted, not enough memory available
 
201
 The given response file could not be found
 
202
 Within a response file another @<rsp> directive was found
 
203
 Invalid parameter
 
204
 Invalid (non-existent) directory given at command line
 
205
 The log file could not be created
 
210
 AVCMD Command line scanner could not find a necessary dll file
 
211
 Program aborted, because the self check failed
 
212
 Virus definition file could not be found or read error
 
213
 An error occurred during initializations
 

Examples

Scan all files on drive C:

AVCMD -s C:\*

Scan program files on drive C: and D:.

AVCMD C:\ D:\ -s



Автор: ZeeLax 1.9.2007, 15:48
А имя файла flashget по-дефолту в конец командной строки подставляет, или это тоже указывать надо?

Автор: try_to_get 1.9.2007, 16:25
Вот скриншот...

Автор: ZeeLax 1.9.2007, 16:31
Зачем мне скриншот? Вы хэлп к флэшгету читали?

Автор: try_to_get 1.9.2007, 16:48
ZeeLax, Там все на китайском написано!...  smile 

Автор: ZeeLax 1.9.2007, 16:51
Версия какая?

Автор: try_to_get 1.9.2007, 17:07
1.9.0.1012

Там нет справочника, при клике на помощь заходит на сайт...

Автор: ZeeLax 1.9.2007, 17:07
Руками его запустить попробуйте с именем файла в конце, без параметров

Автор: try_to_get 1.9.2007, 17:57
Все сам разобрался...

Автор: ZeeLax 1.9.2007, 18:00
Что было то?

Автор: try_to_get 1.9.2007, 18:02
Нужно было использовать AVCMD.exe вместо avscan.exe

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)