More specifically I'm making a file uploader for a mate of mine and naturally I need to scan the files that gets uploaded. Now he has something called sophos to do so, and it works with this command/opt/sophos-av/bin/savscan -nc -nb -ss -remove -p=$transpdir/last_scan.txt -archive -suspicious *file*Which I've tested and it works (I even know the exit status for virus found and clean file (3 and 0 respectively)) but the problem I have is it takes a few seconds for the the command to work. Now I'm considering calling the command herehttps://github.com/inabahare/lewd2/blob/master/src/Routes/upload.js#L87but I'm not really sure how I would go about it
Submitted June 30, 2018 at 11:29PM by inabahare
No comments:
Post a Comment