BitDefender integration

Using

10

BitDefender

 

#Now let's run the scan process xterm -e "bdscan --no-list $*; \

echo -n 'Press ENTER to continue...'; \ read"

#End of the script

Do not forget to give it executable rights.

#chmod 755 ~/.rox_choices/SendTo/BitDefender

You can right-click a file or a directory, select Send to BitDefender menu and the scanning process will start. When finished, you will need to close the window, after reading the output messages.

10.1.5. Pine

Pine® - a Program for Internet News & Email - is a tool for reading, sending, and managing electronic messages.

—Pine Information Center

To scan an email from some mail user agent, you have to save the message on the filesystem and scan that file. Fortunately, these actions can be automated, by using a shell script. Save the following file to some convenient location, such as the BitDefender installation directory, /opt/BitDefender-scanner. Name it bdscanpipe and remember the full path to it: /opt/BitDefender-scanner/bin/bdscanpipe.

#!/bin/sh

#BitDefender STDIN scanner integration script

#Copyright (C) 1996-2006 SOFTWIN SRL. All rights reserved.

#Place this script in your BitDefender installation directory

#and name it bdscanpipe, such as:

#/opt/BitDefender-scanner/bin/bdscanpipe

#Set some parameters

BDSCAN=bdscan

TMPFILE=/tmp/bdscanpipe_$$

# Save the standard-input to a temporary file

63

Page 63
Image 63
Unisar 1.24.1867 manual Pine Information Center