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 Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP
$419.99
Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty
$114.00
Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E
$55.99
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
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch
$99.99
HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter
$37.99