首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
HOWTO: Install and Setup ClamAV Windows 10 & Exclude JPG/PNG/TXT/LOG files Scan




Type(Type) 2021/10/13 17:43
ClamAV step-by-step install & test-scan in Windows 10

✅ Step-1: Download ClamAV windows version

e.g. 📁 https://www.clamav.net/downloads

✅ Step-2: Unzip the zip and put it in your C:\ or D:\

代碼:
D:\clamav-0.104.0.win.x64\

✅ Step-3: Setup your freshclam.conf & clamd.conf

代碼:
e.g.  Copy these files from conf_examples to D:\clamav-0.104.0.win.x64\ D:\clamav-0.104.0.win.x64\conf_examples\clamd.conf.sampleD:\clamav-0.104.0.win.x64\conf_examples\freshclam.conf.sampleremove the .sample extension name to 👉 D:\clamav-0.104.0.win.x64\clamd.conf👉  D:\clamav-0.104.0.win.x64\freshclam.conf

✅ Step-4: Edit these two conf-files and remove this line "Example"

代碼:
# Comment or remove the line below.Example

✅ Step-5: Update CVD (ClamAV Virus Database) by freshclamp

代碼:
D:\clamav-0.104.0.win.x64>freshclam.exe

✅ Step-6: Now you could start your scan by calling clamscan.exe

✅ Step-7: Scanning Virus with "-r" (recursive) and exclude options

代碼:
D:\clamav-0.104.0.win.x64>clamscan D:\clamav-0.104.0.win.x64\ -r  --exclude="\.(jpg|jpeg|png|bmp|tiff|gif|heic|txt|log|csv|nlp|ini)"Loading:    16s, ETA:   0s [========================>]    8.57M/8.57M sigsCompiling:   3s, ETA:   0s [========================>]       41/41 tasksD:\clamav-0.104.0.win.x64\clamav.lib: OKD:\clamav-0.104.0.win.x64\clambc.exe: OKD:\clamav-0.104.0.win.x64\clamconf.exe: OKD:\clamav-0.104.0.win.x64\clamd.conf: OKD:\clamav-0.104.0.win.x64\clamd.exe: OKD:\clamav-0.104.0.win.x64\clamdscan.exe: OKD:\clamav-0.104.0.win.x64\clamdtop.exe: OKD:\clamav-0.104.0.win.x64\clammspack.lib: OKD:\clamav-0.104.0.win.x64\clamscan.exe: OKD:\clamav-0.104.0.win.x64\clamsubmit.exe: OKD:\clamav-0.104.0.win.x64\clamunrar.lib: OKD:\clamav-0.104.0.win.x64\clamunrar_iface.lib: OKD:\clamav-0.104.0.win.x64\concrt140.dll: OKD:\clamav-0.104.0.win.x64\conf_examples\clamd.conf.sample: OKD:\clamav-0.104.0.win.x64\conf_examples\freshclam.conf.sample: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.bzip2: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.curl: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.file: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.getopt: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.LGPL: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.llvm: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.lzma: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.pcre: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.regex: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.unrar: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.YARA: OKD:\clamav-0.104.0.win.x64\COPYING\COPYING.zlib: OKD:\clamav-0.104.0.win.x64\COPYING.txt: ExcludedD:\clamav-0.104.0.win.x64\database\bytecode.cvd: OKD:\clamav-0.104.0.win.x64\database\daily.cld: OKD:\clamav-0.104.0.win.x64\database\freshclam.dat: OKD:\clamav-0.104.0.win.x64\database\main.cvd: OKD:\clamav-0.104.0.win.x64\freshclam.conf: OKD:\clamav-0.104.0.win.x64\freshclam.exe: OKD:\clamav-0.104.0.win.x64\freshclam.lib: OKD:\clamav-0.104.0.win.x64\howto-setup-install-clamav-scan-in-Windows.jpg: ExcludedD:\clamav-0.104.0.win.x64\include\clamav-types.h: OKD:\clamav-0.104.0.win.x64\include\clamav-version.h: OKD:\clamav-0.104.0.win.x64\include\clamav.h: OKD:\clamav-0.104.0.win.x64\include\libfreshclam.h: OKD:\clamav-0.104.0.win.x64\json-c.dll: OKD:\clamav-0.104.0.win.x64\libbz2.dll: OKD:\clamav-0.104.0.win.x64\libclamav.dll: OKD:\clamav-0.104.0.win.x64\libclammspack.dll: OKD:\clamav-0.104.0.win.x64\libclamunrar.dll: OKD:\clamav-0.104.0.win.x64\libclamunrar_iface.dll: OKD:\clamav-0.104.0.win.x64\libcrypto-1_1-x64.dll: OKD:\clamav-0.104.0.win.x64\libcurl.dll: OKD:\clamav-0.104.0.win.x64\libfreshclam.dll: OKD:\clamav-0.104.0.win.x64\libssh2.dll: OKD:\clamav-0.104.0.win.x64\libssl-1_1-x64.dll: OKD:\clamav-0.104.0.win.x64\libxml2.dll: OKD:\clamav-0.104.0.win.x64\msvcp140.dll: OKD:\clamav-0.104.0.win.x64\msvcp140_1.dll: OKD:\clamav-0.104.0.win.x64\msvcp140_2.dll: OKD:\clamav-0.104.0.win.x64\NEWS.md: OKD:\clamav-0.104.0.win.x64\nghttp2.dll: OKD:\clamav-0.104.0.win.x64\pcre2-8.dll: OKD:\clamav-0.104.0.win.x64\pdcurses.dll: OKD:\clamav-0.104.0.win.x64\pthreadvc2.dll: OKD:\clamav-0.104.0.win.x64\README.md: OKD:\clamav-0.104.0.win.x64\sigtool.exe: OKD:\clamav-0.104.0.win.x64\test_test_test.csv: ExcludedD:\clamav-0.104.0.win.x64\test_test_test.log: ExcludedD:\clamav-0.104.0.win.x64\test_test_test.txt: ExcludedD:\clamav-0.104.0.win.x64\test_test_test_test.jpg: ExcludedD:\clamav-0.104.0.win.x64\UserManual\404.html: OKD:\clamav-0.104.0.win.x64\UserManual\ace.js: OKD:\clamav-0.104.0.win.x64\UserManual\appendix\Appendix.html: OKD:\clamav-0.104.0.win.x64\UserManual\appendix\Authenticode.html: OKD:\clamav-0.104.0.win.x64\UserManual\appendix\CvdPrivateMirror.html: OKD:\clamav-0.104.0.win.x64\UserManual\appendix\FileTypes.html: OKD:\clamav-0.104.0.win.x64\UserManual\appendix\FunctionalityLevels.html: OKD:\clamav-0.104.0.win.x64\UserManual\appendix\Terminology.html: OKD:\clamav-0.104.0.win.x64\UserManual\ayu-highlight.css: OKD:\clamav-0.104.0.win.x64\UserManual\book.js: OKD:\clamav-0.104.0.win.x64\UserManual\clipboard.min.js: OKD:\clamav-0.104.0.win.x64\UserManual\css\chrome.css: OKD:\clamav-0.104.0.win.x64\UserManual\css\general.css: OKD:\clamav-0.104.0.win.x64\UserManual\css\print.css: OKD:\clamav-0.104.0.win.x64\UserManual\css\variables.css: OKD:\clamav-0.104.0.win.x64\UserManual\editor.js: OKD:\clamav-0.104.0.win.x64\UserManual\elasticlunr.min.js: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-cvd.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-eol.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-freshclam.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-ignore.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-misc.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-ml.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-pua.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-safebrowsing.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-scan-alerts.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-troubleshoot.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-uninstall.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-upgrade.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-whichversion.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq-win32.html: OKD:\clamav-0.104.0.win.x64\UserManual\faq\faq.html: OKD:\clamav-0.104.0.win.x64\UserManual\favicon.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\css\font-awesome.css: OKD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\fonts\fontawesome-webfont.eot: OKD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\fonts\fontawesome-webfont.svg: OKD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\fonts\fontawesome-webfont.ttf: OKD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\fonts\fontawesome-webfont.woff: OKD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\fonts\fontawesome-webfont.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\FontAwesome\fonts\FontAwesome.ttf: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\fonts.css: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\OPEN-SANS-LICENSE.txt: ExcludedD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-300.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-300italic.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-600.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-600italic.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-700.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-700italic.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-800.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-800italic.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-italic.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\open-sans-v17-all-charsets-regular.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\fonts\SOURCE-CODE-PRO-LICENSE.txt: ExcludedD:\clamav-0.104.0.win.x64\UserManual\fonts\source-code-pro-v11-all-charsets-500.woff2: OKD:\clamav-0.104.0.win.x64\UserManual\highlight.css: OKD:\clamav-0.104.0.win.x64\UserManual\highlight.js: OKD:\clamav-0.104.0.win.x64\UserManual\images\change-fork-name.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\cisco.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\clone-your-fork.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\create-a-fork.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\demon.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\flamegraph.svg: OKD:\clamav-0.104.0.win.x64\UserManual\images\fork-is-behind.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\logo.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\new-git-workflow.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\images\old-git-workflow.png: ExcludedD:\clamav-0.104.0.win.x64\UserManual\index.html: OKD:\clamav-0.104.0.win.x64\UserManual\Introduction.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\build-installer-packages.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\clamav-git-work-flow.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\code-coverage.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\Contribute.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\development-builds.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\fuzzing-sanitizers.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\github-pr-basics.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\libclamav.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\performance-profiling.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\personal-forks.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\testing-pull-requests.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development\tips-and-tricks.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Development.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Add-clamav-user.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Community-projects.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Docker.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Installing-from-source-Unix-old.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Installing-from-source-Unix.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Installing-from-source-Windows.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing\Packages.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Installing.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\OnAccess.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\AllowLists.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\AuthenticodeRules.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\BodySignatureFormat.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\BytecodeSignatures.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\ContainerMetadata.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\DatabaseInfo.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\DynamicConfig.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\EncryptedArchives.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\ExtendedSignatures.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\FileTypeMagic.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\HashSignatures.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\LogicalSignatures.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\PhishSigs.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures\YaraRules.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Signatures.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Usage\Configuration.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Usage\ReportABug.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Usage\Scanning.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Usage\Services.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Usage\SignatureManagement.html: OKD:\clamav-0.104.0.win.x64\UserManual\manual\Usage.html: OKD:\clamav-0.104.0.win.x64\UserManual\mark.min.js: OKD:\clamav-0.104.0.win.x64\UserManual\mode-rust.js: OKD:\clamav-0.104.0.win.x64\UserManual\print.html: OKD:\clamav-0.104.0.win.x64\UserManual\searcher.js: OKD:\clamav-0.104.0.win.x64\UserManual\searchindex.js: OKD:\clamav-0.104.0.win.x64\UserManual\searchindex.json: OKD:\clamav-0.104.0.win.x64\UserManual\theme-dawn.js: OKD:\clamav-0.104.0.win.x64\UserManual\theme-tomorrow_night.js: OKD:\clamav-0.104.0.win.x64\UserManual\tomorrow-night.css: OKD:\clamav-0.104.0.win.x64\vcruntime140.dll: OK----------- SCAN SUMMARY -----------Known viruses: 8569722Engine version: 0.104.0Scanned directories: 19Scanned files: 169Infected files: 0Data scanned: 33.12 MBData read: 354.56 MB (ratio 0.09:1)Time: 36.815 sec (0 m 36 s)Start Date: 2021:10:13 17:55:30End Date:   2021:10:13 17:56:07D:\clamav-0.104.0.win.x64>

(922 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體


"HOWTO: Install and Setup ClamAV Windows 10 & Exclude JPG/PNG/TXT/LOG files Scan" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版
© Vovo2000.com Mobile Version 小哈手機版 2022