Thanks for posting the tip. It should come in handy.
Adam
Assuming you have enough memory, you can use the following shell script to configure nessus to use the ramdisk to get the latest updated nessus plugins:
#!/bin/sh
if ! [ "$USER" = 'root' ]
then
echo "You must be root to run this script!!"
exit 1
fi
echo "Removing symlink to nessus in etc directory"
rm -rf /etc/nessus
echo "(Re)creating nessus directories under ramdisk"
rm -rf /ramdisk/nessus
mkdir /ramdisk/nessus
mkdir /ramdisk/nessus/plugins
echo "creating symlink back to /etc/nessus"
ln -s /ramdisk/nessus /etc/nessus
echo "Moving all nessus files from CD to ramdisk"
cp /KNOPPIX/etc/nessus/* /ramdisk/nessus
echo "Updating location of plugins in nessusd.conf"
cat /ramdisk/nessus/nessusd.conf | grep -v "plugins_folder" > /ramdisk/scratch
mv -f /ramdisk/scratch /ramdisk/nessus/nessusd.conf
echo "plugins_folder = /ramdisk/nessus/plugins" >> /ramdisk/nessus/nessusd.conf
echo "updating plugins"
/usr/sbin/nessus-update-plugins -v
Thanks for posting the tip. It should come in handy.
Adam
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$9.97
Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster
$38.99
2-In-1 Air Duster & Vacuum 60000 RPM Rechargeable Auto Computer Keyboard USB
$26.95
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$30.95
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$10.87
Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US
$13.68
Milwaukee 49-90-2019 Wet Dry Shop Vacuum Tool & Attachment Storage Bag
$39.99
CRAFTSMAN 5-Gallons 4-HP Corded Wet/Dry Shop Vacuum with Accessories Included
$48.84
Ambiano Desktop Vacuum - Purple
$4.99
VIVOHOME RR250 Portable Refrigerant Recovery Vacuum Evacuation -– New
$468.00