-
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
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$74.99
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$157.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$89.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$27.49
TOSHIBA MD04ABA400V 4TB 128MB Cache SATA 6. 0Gb/s 3. 5"
$18.00
Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5" Internal HDD
$25.89
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99