Score:0

Is there offset scan function in ClamAV? How to use offset?

il flag

Scanning files takes so much time. My idea is the first day to scan only files up to 20MB. The next day to scan files of 20MB and more. So I have the idea, that I could just skip first 20 MB bytes and pass to clamAV only the data from +20MB offset running it with the --max-filesize= argument. But how to "cut" these first +20MB of the file?

petep avatar
in flag
Look at "man clamscan"
waltinator avatar
it flag
You are aware that ClamAV is a tool for scanning Emails to detect Windows viruses, and not a general Linux scanning tool , aren't you? The idea of a "Linux virus" or a Windows Virus running on Linux is absurd. Do run a mail server for a bunch of Windows clients?
John Boe avatar
il flag
@waltinator: I am not running any server, but I need to check windows files on NTFS partitions and also Firefox profiles on NTFS and server files saved on local disk (data not published).
Score:0
il flag

Easy solution is to create list of files with specification of size like this:

find /media/user/disk -size +$((0*1024*1024+2))c -size -$((12*1024*1024))c > $a/1.f

And then run clamscan with --file-list parameter.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.