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
  •  


AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock picture

AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock

$74.00



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



Intel Core i9-14900KF Unlocked Desktop Processor picture

Intel Core i9-14900KF Unlocked Desktop Processor

$579.99



AMD Ryzen 5 5600X Desktop Processor (4.6GHz, 6 Cores, Socket AM4) picture

AMD Ryzen 5 5600X Desktop Processor (4.6GHz, 6 Cores, Socket AM4)

$119.00



Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread picture

Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread

$539.99



AMD Ryzen 5 5600 Processor (3.5 GHz, 6 Cores, Socket AM4) - 100-100000927BOX picture

AMD Ryzen 5 5600 Processor (3.5 GHz, 6 Cores, Socket AM4) - 100-100000927BOX

$100.00



AMD Ryzen 5 4500 Processor (3.6 GHz, 6 Cores, Socket AM4) - 100-100000644BOX picture

AMD Ryzen 5 4500 Processor (3.6 GHz, 6 Cores, Socket AM4) - 100-100000644BOX

$69.99