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
Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK
$39.00
Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty
$114.00
Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty
$195.00
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
New Linksys SE3005 5-port Gigabit Ethernet Switch
$18.99
Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch
$21.99
NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord
$30.00
Netgear Prosafe GS724T V2 24-Port 10/100/1000 Gigabit Ethernet Network Switch
$27.99
Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch
$99.99
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97