-
Nessus-update-plugins
Knoppix-std has the ability to update nessus plugins using the nessus-update-plugins scripts whilst running off the CD. On vanilla knoppix, it fails with the cannot create regular file, read only file system error.
Any chance of adding this capability to knoppix (or is there alternative way of doing it right now) ?
Thanks,
Victor
-
I think I got this script from a post somewhere on this forum. You might want to do a search if you need more information about it.
#!/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
-
In case it helps anyone else, I ran into this problem using the Security Tools Distribution (STD), which is based on knoppix. File locations had shifted enough that the above script would have taken some work (maybe I'll try to adapt it).
In my case, I was getting a lot of cp (copy) errors as files from:
/usr/lib/knoppix/plugins/*
had symbolic links to the cd (/KNOPPIX/???/nessus/plugins/* ).
To work around, since I don't recommend a scan with anything less than the latest plugins, I deleted /usr/lib/knoppix/plugins/* and it's subdirectory (.../plugins/.desc/*),
then re-ran nessus-update-plugins. Bingo.
Hope this helps.
-
Senior Member
registered user
Knoppix already has a way to update Nessus.
/usr/sbin/nessus-update-plugins
-

Originally Posted by
aay
Knoppix already has a way to update Nessus.
/usr/sbin/nessus-update-plugins
Tried it under 3.6 and that does not work.
-
Senior Member
registered user

Originally Posted by
Monicker

Originally Posted by
aay
Knoppix already has a way to update Nessus.
/usr/sbin/nessus-update-plugins
Tried it under 3.6 and that does not work.
I haven't tried this under 3.6, but did you do this as root?
-

Originally Posted by
aay

Originally Posted by
Monicker

Originally Posted by
aay
Knoppix already has a way to update Nessus.
/usr/sbin/nessus-update-plugins
Tried it under 3.6 and that does not work.
I haven't tried this under 3.6, but did you do this as root?
Yes, I ws logged in as root.
Similar Threads
-
By uber in forum General Support
Replies: 4
Last Post: 02-25-2005, 08:17 PM
-
By velvet in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-16-2005, 05:07 PM
-
By ehoward777 in forum Tips and Tricks
Replies: 1
Last Post: 08-24-2003, 03:36 AM
-
By jafo in forum General Support
Replies: 0
Last Post: 04-27-2003, 11:24 AM
-
By timix in forum General Support
Replies: 2
Last Post: 04-16-2003, 07:04 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card
$195.00

ORICO 4/5 Bay External Hard Drive Enclosure USB3.0/Type C for 2.5/3.5'' HDD SSD
$103.99

LSI SAS9207-8e 8-Port PCIe IT Mode 9207-8e SAS 6Gb/s External HBA RAID Card
$41.00

LSI MegaRAID 9364-8i SAS3108 LENOVO 03T6792 12G RAID Controller Card 1GB BATTERY
$59.00

G-Technology G-Raid 4TB External Hard Drive Array 0G00273 Firewire USB 2 eSATA
$30.00

Adaptec - ASR-7805 6Gbs SAS- PCI EXPRESS 3.0 X8 -1GB Cache RAID Controller Card
$24.99

ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$36.44

Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA HDD Controller 9300-8i
$14.99

LSI Megaraid Sas 9271-8i L3-25413 6GB 8port SATA/SAS Raid Controller
$21.84

Dell 0878M PERC H740P 12Gbps 8GB Cache Mini Mono RAID Controller
$66.99