I use clamscan as an engine for my app known as scanvirus. It doesn't show any virus on one type command line. It does on another type command line. FYI, I download a test virus from a website. Clamscan normally finds the virus in the downloads folder.
This is the normal scan virus line. I can't post the whole app. It's too large.
Change the priority to lowest and send results to the the filter.
So, I simplied the line to this.
This finds no viruses.
This does find a virus.
This is the normal scan virus line. I can't post the whole app. It's too large.
Code:
nice -"$CS_Priority" clamscan -r / --exclude-dir=/sys --exclude-dir=/proc --exclude-dir=/dev --exclude-dir=/.snapshots --follow-dir-symlinks=0 --follow-file-symlinks=0 --cross-fs=no | Scan_Results_Filter
So, I simplied the line to this.
Code:
clamscan -r -i / --exclude-dir=/sys --exclude-dir=/proc --exclude-dir=/dev --exclude-dir=/.snapshots --follow-dir-symlinks=0 --follow-file-symlinks=0 --cross-fs=no
Code:
/home/username/Downloads # clamscan -r --exclude-dir=/sys --exclude-dir=/proc --exclude-dir=/dev --exclude-dir=/.snapshots --follow-dir-symlinks=0 --follow-file-symlinks=0 --cross-fs=no