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
  •  


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 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



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



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



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G picture

A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G

$59.99