1.添加的BitDefender库密钥
wget http://download.bitdefender.com/repos/deb/bd.key.asc
apt-key add bd.key.asc
2.添加源列表并更新
sudo vi /etc/apt/sources.list
加入以下源
deb http://download.bitdefender.com/repos/deb/ bitdefender non-free
3.更新源
sudo apt-get update
4.安装
sudo apt-get install bitdefender-scanner
5.如果需要图形界面,可以安装 bitdefender-scanner-gui
sudo apt-get install bitdefender-scanner-gui
6.使用的方法
bdscan
bdscan [options] path
Options:
–no-archive – don’t scan archives
–no-mail – don’t scan mail databases
–no-pack – don’t scan packed programs
–no-recursive – don’t recurse into subdirectories
–follow-link – scan symbolic links
–recursive-level=n – set maximum directory depth level [default 0(all)]
–archive-level=n – set maximum archive depth level [default 12]
–ext[=ext1:ext2] – scan only these extensions
default: see Extensions in bdscan.conf
–exclude-ext[=ext] – exclude these extensions from scanning
default: see ExcludeExtensions in bdscan.conf
–action=[disinfect|quarantine|delete|ignore]
– action to take when an infected file is detected
–suspect-copy – copy suspected files to quarantine
–suspect-move – move suspected files to quarantine
–quarantine=path – path to quarantine
[default /opt/BitDefender-scanner/var/quarantine]
–conf-file=path – path to configuration file
–log[=file] – enable logging and set log file
[default /opt/BitDefender-scanner/var/log/bdscan.log]
–log-overwrite – overwrite existing log file (use it with –log)
–no-list – do not display scanned files
–no-warnings – do not display warnings
–verbose – display debug information
–update – update virus definitions
–force-insecure-update – do not verify server signature file
–virus-list – display virus list
–info – information about this product
–version – display version number
–help,–? – this help
比如我要检测
/mnt/hda1
里的所有文件,那么就输入:
bdsan /mnt/hda1