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
  •  


Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card picture

Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card

$28.20



Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller picture

Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller

$28.00



LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



RAID Enclosure - 2 Disks - 3.5

RAID Enclosure - 2 Disks - 3.5" or 2.5" RAOD 0, 1, JBOD - RAID Switch on Device

$46.65



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00