Results 1 to 2 of 2

Thread: Updating nessus plugins in KNOPPIX

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    1

    Updating nessus plugins in KNOPPIX

    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

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Thanks for posting the tip. It should come in handy.

    Adam

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. Nessus-update-plugins
    By victorhooi in forum Ideas
    Replies: 6
    Last Post: 08-31-2004, 03:27 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
  •  


Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK

$39.00



Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty picture

Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty

$114.00



Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty picture

Juniper EX4300-24T Layer 3 24 Ports Manageable Ethernet Switch 1 Year Warranty

$195.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch picture

Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch

$21.99



NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord picture

NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord

$30.00



Netgear Prosafe GS724T V2 24-Port 10/100/1000 Gigabit Ethernet Network Switch  picture

Netgear Prosafe GS724T V2 24-Port 10/100/1000 Gigabit Ethernet Network Switch

$27.99



Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch picture

Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch

$99.99



Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture

Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED

$99.97