Results 1 to 7 of 7

Thread: Nessus-update-plugins

  1. #1
    Junior Member
    Join Date
    May 2004
    Posts
    8

    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

  2. #2
    Member registered user
    Join Date
    Dec 2003
    Posts
    42
    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

  3. #3
    Junior Member
    Join Date
    Jan 2003
    Posts
    3
    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.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Knoppix already has a way to update Nessus.

    /usr/sbin/nessus-update-plugins

  5. #5
    Junior Member
    Join Date
    Aug 2004
    Posts
    3
    Quote 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.

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Quote Originally Posted by Monicker
    Quote 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?

  7. #7
    Junior Member
    Join Date
    Aug 2004
    Posts
    3
    Quote Originally Posted by aay
    Quote Originally Posted by Monicker
    Quote 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

  1. updating Nessus plugins
    By uber in forum General Support
    Replies: 4
    Last Post: 02-25-2005, 08:17 PM
  2. Nessus-Update-Plugins Troubleshooting (Hard Disk Install)
    By velvet in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-16-2005, 05:07 PM
  3. Updating nessus plugins in KNOPPIX
    By ehoward777 in forum Tips and Tricks
    Replies: 1
    Last Post: 08-24-2003, 03:36 AM
  4. Nessus plugins, again....
    By jafo in forum General Support
    Replies: 0
    Last Post: 04-27-2003, 11:24 AM
  5. Nessus plugins
    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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98