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
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
MSI X470 GAMING PLUS AM4 ATX AMD Motherboard
$69.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard
$46.99
Gigabyte GA-B75M-HD3 Intel LGA1155 DDR3 Desktop Motherboard MicroATX USB 3.0
$26.99
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99
GIGABYTE GA-Z77M-D3H-MVP LGA1155 DDR3 Intel Z77 Micro ATX Motherboard
$59.00