Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

clamscan line not finding a test virus

$
0
0
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.

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
Change the priority to lowest and send results to the the 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
This finds no viruses.


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
This does find a virus.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>