dave-theunsub / clamtk

An easy to use, light-weight, on-demand virus scanner for Linux systems
https://gitlab.com/dave_m/clamtk/wikis/home
Other
349 stars 44 forks source link

Quarantin and log #119

Open Anonim19992 opened 4 years ago

Anonim19992 commented 4 years ago

Need help with clamtk. Made the following functions (in the Scan.pm file) line 368 = open ($ SCAN, '- |', "$ command --move = / home / anton / .clamtk / viruses $ directive -v --log = / home / anton / .clamtk / history / clamtk.log $ quoted 2> & 1 "); How to change / anton / to $ USER without breaking the script?

Anonim19992 commented 4 years ago

I also noticed one point that clamtk takes its own database (from clamav servers), without using the third-party clamav-unofficial-sigs database). I quickly sketched a simple script to copy files every 10 hours cp /var/lib/clamav/* /home/anton/.clamtk/db Because I do for myself, many moments (/ home / anton /) are individual