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
  •  


ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS ROG STRIX X870E-E GAMING WIFI picture

ASUS ROG STRIX X870E-E GAMING WIFI

$289.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



GIGABYTE Motherboard, INTEL CPU, COOLER Combo  picture

GIGABYTE Motherboard, INTEL CPU, COOLER Combo

$65.00



GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard picture

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard

$76.49



ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU picture

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU

$45.00



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99