Results 1 to 2 of 2

Thread: Nessus update tool

  1. #1

    Nessus update tool

    I think it would be nice to be able to update nessus without installing it to the hard drive.
    I found this and it would be nice to have a script to at automate this.
    Code:
    Nessus allows for a detailed (and noisy) look at a given network or a given host. It probes each subnet, domain, and host that it finds in the ways that you direct it to.
    
    To make Nessus as useful as possible, new plug-ins for Nessus are published frequently. You can get these plug-ins for your Nessus server by running the script nessus-update-plugins. While this script eliminates the time-consuming work of downloading plug-ins, it isn't without risk. The plug-ins are not signed, and it is possible for an attacker to hijack your updates and replace them with their own malware, so don't run this on an insecure network (such as HOPE or Defcon). This is a known risk; the manpage has more information on this subject.
    
    To run the update script, you need root privileges, so click K MenuKNOPPIXRoot Shell. The default /etc/nessus configuration directory and the /usr/lib/nessus/plugins directory are on read-only media, so you must move it out of the way, and copy it back to the ramdisk so you can download the new plug-ins to it:
    
    root@ttyp0[knoppix]# mv /etc/nessus /etc/nessus.bak
    
    root@ttyp0[knoppix]# mkdir /etc/nessus
    
    root@ttyp0[knoppix]# cp -a /etc/nessus.bak/* /etc/nessus/
    
    root@ttyp0[knoppix]# cp -a /usr/lib/nessus/plugins /etc/nessus/
    
    
    Now edit /etc/nessus/nessusd.conf and change:
    
    plugins_folder = /usr/lib/nessus/plugins
    
    
    to:
    
    plugins_folder = /etc/nessus/plugins
    
    
    Now run the nessus-update-plugins script and download all of the new plug-ins:
    
    root@ttyp0[knoppix]# nessus-update-plugins -v
    
    . . .
    
    ./osticket_view_attachments.nasl
    
    ./freebsd_php_438.nasl
    
    ./php_strip_tags_memory_limit_vuln.nasl
    
    root@ttyp0[knoppix]#
    
    
    With all of the latest plug-ins ready to use, click K MenuSystemSecurityNessus Security Tool to launch the Nessus client.

    BTW i am having problems with this part
    Now edit /etc/nessus/nessusd.conf and change:

    plugins_folder = /usr/lib/nessus/plugins


    to:

    plugins_folder = /etc/nessus/plugins
    I guess I need to edit it in the root shell but I don't know how to get to the file and how to edit the file in the root shell

    Tell me what you think

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    to get to a root shell is easy enough ( probally the most asked question on this forum )..

    To edit the file you use a command line / console editor.

    The easiest is probally nano or pico.

    So run nano /path/to/the/file

Similar Threads

  1. Using Nessus
    By a_hic in forum General Support
    Replies: 5
    Last Post: 05-02-2005, 06:46 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. need help with nessus
    By happyholger in forum Customising & Remastering
    Replies: 0
    Last Post: 10-03-2003, 05:31 PM
  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
  •  


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



Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty picture

Juniper EX2200-C-12T-2G 12 Port L3 EX2200-C Compact Fanless Switch 1YearWarranty

$195.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch picture

Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch

$130.00



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P picture

Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P

$299.99



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$205.00



Juniper QFX5100-48T-AFO   48 100M/1G/10G Base-T 6 QSFP AFO picture

Juniper QFX5100-48T-AFO 48 100M/1G/10G Base-T 6 QSFP AFO

$485.00



Juniper Networks EX3400-48T 48 Port Gigabit 4 SFP 1/10G Network Switch #73 picture

Juniper Networks EX3400-48T 48 Port Gigabit 4 SFP 1/10G Network Switch #73

$239.99