Package Details: nessus 10.1.2-1

Git Clone URL: https://aur.archlinux.org/nessus.git (read-only, click to copy)
Package Base: nessus
Description: Nessus vulnerability scanner
Upstream URL: https://www.tenable.com/downloads/nessus
Keywords: scanner security vulnerability
Licenses: custom
Submitter: r4um
Maintainer: noraj
Last Packager: noraj
Votes: 66
Popularity: 0.064084
First Submitted: 2007-03-11 15:14 (UTC)
Last Updated: 2022-03-31 16:54 (UTC)

Pinned Comments

Latest Comments

noraj commented on 2022-01-27 16:25 (UTC)

@kvasthval Thx I added inetutils as makedeps

kvasthval commented on 2022-01-26 23:39 (UTC)

nessus.install spits out an error unless inetutils is installed because it uses its /usr/bin/hostname executable for obtaining the system hostname. A solution could be to use /usr/lib/gettext/hostname instead (on line 48). gettext is required by the "base" group, so it should be available on all Arch systems. This is primarily an issue on newer Arch installations, because Xorg and many other common packages used to depend on inetutils until not too long ago.

TechVio commented on 2021-09-21 04:16 (UTC)

@noraj i made an updated version of PKGBUILD:

# Maintainer: noraj <printf %s 'YWxleGFuZHJlLnphbm5pQGV1cm9wZS5jb20='|base64 -d>
# Contributor: Kenneth Endfinger <kaendfinger@gmail.com>
# Contributor: MattWoelk
# Contributor: xsmile <sascha_r gmx de>

pkgname=nessus
pkgver=8.15.1
pkgrel=1
pkgdesc="Nessus vulnerability scanner"
arch=('x86_64')
depends=('gnupg')
license=('custom')
url="https://www.tenable.com/downloads/nessus"
install=${pkgname}.install

source=("nessus-${pkgver}-fc20.x86_64.rpm::https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/14952/download?i_agree_to_tenable_license_agreement=true"
        nessus.desktop
        nessus.sh
        LICENSE)

sha256sums=('4cd26e04f6c33a2e38cdf31a350656fd0b0f4a5d57b9ba23ffa5c82f03fe1061'
            '8c5e82d609a7290c34cbfa5635012cb66820e4e2c1db2bf5808fc306fcefdc30'
            '9b8e2c15d86ce7b83806a27bd6685f009ad339f3ea52022b87a75fbd2802ec5a'
            'd647aedd39d571faa3f1a9906db561eecbd9c41605ba7f562261ffb04877ba26')

package() {
  install -Dm755 $pkgname.sh "$pkgdir/etc/profile.d/$pkgname.sh"

  mkdir -p "$pkgdir/etc/ld.so.conf.d" "$pkgdir/usr/share" "$pkgdir/opt/nessus" \
           "$pkgdir/usr/lib"

  cp -a usr/lib "$pkgdir/usr"

  # path to libraries
  echo /opt/nessus/lib > "$pkgdir/etc/ld.so.conf.d/nessus.conf"

  # main files
  cp -a opt/nessus/{bin,com,etc,lib,sbin,var} "$pkgdir/opt/nessus"

  # license
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nessus/LICENSE"

  # menu entry
  install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}

torusr222 commented on 2021-08-10 19:40 (UTC)

change PKGBUILD lines

pkgver=8.15.1

source=("Nessus-${pkgver}-fc20.x86_64.rpm::https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/13043/download?i_agree_to_tenable_license_agreement=true"

sha256sums=('b97f6f9475774355f421234be8ed52d0d38f16878f3ccb8366212205a4d178d8'


makepkg -si

siryu commented on 2021-07-06 09:09 (UTC)

@brad87 nessuscli update --all will solve your problem :)

brad87 commented on 2021-06-25 06:14 (UTC)

Error 404 while attempting download

zangoku commented on 2021-04-09 06:04 (UTC)

error 404 fails to build

zuzavo commented on 2021-04-03 13:28 (UTC) (edited on 2021-04-03 13:29 (UTC) by zuzavo)

Thanks for the new commit, installed and working fine as always.

zuzavo commented on 2021-04-02 18:49 (UTC)

Hi. Dead link to nessus-8.13.1-fc20.x86_64.rpm

Thanks

peterpan commented on 2020-12-08 12:59 (UTC) (edited on 2020-12-09 09:50 (UTC) by peterpan)

Solution:

Download snapsot from right top panel.

tar -xvf nessus

cd nessus

Now change 3 lines in PKGBUILD:

pkgver=8.13.0

source=("nessus-${pkgver}-fc20.x86_64.rpm::https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/12106/download?i_agree_to_tenable_license_agreement=true"

and

sha256sums=('7a500dd432e4272905b7082b4fa688c510e5ac82c00ae4b338eef8cd56577469'

then run:

makepkg -si

all good.

peterpan commented on 2020-12-08 11:27 (UTC) (edited on 2020-12-08 11:28 (UTC) by peterpan)

==> Retrieving sources...

-> Downloading nessus-8.12.1-fc20.x86_64.rpm...

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

curl: (22) The requested URL returned error: 404

==> ERROR: Failure while downloading https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/11768 /download?i_agree_to_tenable_license_agreement=true

Aborting...

error downloading sources: nessus

simon04 commented on 2020-11-24 20:54 (UTC)

systemd warning shown in journalctl:

systemd[1]: Configuration file /usr/lib/systemd/system/nessusd.service is marked executable. Please remove executable permission bits. Proceeding anyway.

noraj commented on 2020-10-12 17:35 (UTC)

@zuzavo I updated from 8.11.1 to 8.12.0, next time just mark the package as outdated ;)

zuzavo commented on 2020-10-11 19:30 (UTC)

Hi friends !! I've just done a fresh install of my Arch Linux (since 8 years,it's time to clean some rubbish..) I've tried to download the nessus package from their web but as usually the link is already dead. Someone knows about an active link to the nessus package from their web right now?

Thanks.

noraj commented on 2020-08-26 11:53 (UTC)

@monksy: updated 8.11.0 -> 8.11.1

monksy commented on 2020-08-25 19:14 (UTC)

I'm also having issues with downloading this. The link is bad.

zuzavo commented on 2020-07-23 17:24 (UTC)

Upgrade works fine, as always..

luntik2012 commented on 2020-07-23 07:22 (UTC) (edited on 2020-07-23 07:28 (UTC) by luntik2012)

==> Retrieving sources...
  -> Downloading nessus-8.10.1-fc20.x86_64.rpm...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404 
==> ERROR: Failure while downloading https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/11047/download?i_agree_to_tenable_license_agreement=true
    Aborting...
==> ERROR: Makepkg was unable to build nessus.
==> Restart building nessus ? [y/N]

working link:

https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/11249/download?i_agree_to_tenable_license_agreement=true

fe7b56cbbdcd657193463ed164fe8a143e471c07f32bcfbb2d0a551b11f97ef0

getting this now

==> Validating source files with sha256sums...
    nessus-8.10.1-fc20.x86_64.rpm ... Passed
    nessus.desktop ... Passed
    nessus.sh ... Passed
    LICENSE ... Passed
==> Extracting sources...
  -> Extracting nessus-8.10.1-fc20.x86_64.rpm with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'usr/lib': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Makepkg was unable to build nessus.

noraj commented on 2020-05-27 12:10 (UTC)

@shabinder you can't update because you've already installed this version, no problem, just wait the next one.

shabinder commented on 2020-05-26 14:22 (UTC)

@noraj i updated the PKGBUILD file manually download link and sha256 , and after u release the update it is showing an upgrade but since i did it manually , now i cant upgrade,can u help me the solution options i now have?

noraj commented on 2020-05-26 12:50 (UTC)

@shabinder No, it's just that a new release (8.10.1) is out. I'm updating.

shabinder commented on 2020-05-26 05:44 (UTC)

download link dead any fix ?

kuminamoya commented on 2020-03-25 08:52 (UTC)

New version: 8.10.0 Downloadlink: https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/10846/download?i_agree_to_tenable_license_agreement=true sha256sum: 295cf508812c3aff21daad24085c89e8c1647be89baf9dd7f3314c2eb59f127f

I hope the downloadlink is correct, got it out of my download history.

Thank you!

zuzavo commented on 2020-03-06 18:56 (UTC)

@Tendel10, Yesterday worked fine. I updated without any problem

Tendel10 commented on 2020-03-05 00:22 (UTC)

URL is out of date, please fix

zuzavo commented on 2019-10-12 22:27 (UTC) (edited on 2019-10-12 22:27 (UTC) by zuzavo)

Hi @ter0k, Very grateful for your help. Installed and running.

ter0k commented on 2019-10-12 00:28 (UTC) (edited on 2019-10-12 00:29 (UTC) by ter0k)

Hi @zuzavo,

The current URL for Nessus(8.7.1-fc20.x86_64.rpm) doesn't work anymore. The new version has been released : Nessus-8.7.2

You can use this link for Nessus-8.7.2-fc20.x86_64.rpm: https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/10086/download?i_agree_to_tenable_license_agreement=true SHA256: 32c987c5065903806041148fe98a8204d32c67e296618e439c82a01d89daa666

zuzavo commented on 2019-10-10 18:20 (UTC) (edited on 2019-10-10 18:21 (UTC) by zuzavo)

n the last days I am lost with the installation of this package. I have always used the same method: put the nessus file in the same folder as the PKGBUILD. But now the download path inside the pkgbuild is always dead. If I use the script and modify the pkgbuild obviously doesn't pass the validation control. Any suggestions?

noraj commented on 2019-10-10 15:15 (UTC)

Ty @parly for the script.

parly commented on 2019-09-25 11:18 (UTC) (edited on 2019-09-28 11:12 (UTC) by parly)

8.7.1 is released and the current link seems to be dead.

You can use this link: https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/10006/download?i_agree_to_tenable_license_agreement=true

And also, I made a script to get a new download link: https://gist.github.com/parly/a62d3f69abab8a16e878134d610d8cdc

noraj commented on 2019-09-24 12:48 (UTC)

I updated the install process to allow an automatic install again.

Thanks @sipaktli for the API.

commented on 2019-09-22 00:51 (UTC)

Use this link: https://www.tenable.com/downloads/api/v1/public/pages/nessus/downloads/9752/download?i_agree_to_tenable_license_agreement=true

noraj commented on 2019-05-28 18:12 (UTC)

@jnbrains: As I already said, the web server is optional.

or just put the file in the same folder as the PKGBUILD

jnbrains commented on 2019-05-26 17:38 (UTC)

Thanks noraj,

It would be easier to replace steps 4 through 8 with a simple modification in the PKGBUILD file, using: source=("file://Nessus-x.x.x-fc20.x86_64.rpm" instead of source=("http://localhost:8000/Nessus-${pkgver}-fc20.x86_64.rpm" and you won't need to deal with web server of any kind.

P.S. You will still need to deal with the checksum. (or 'SKIP')

noraj commented on 2019-05-04 12:29 (UTC) (edited on 2019-05-04 12:32 (UTC) by noraj)

@hotty. As I already said, the web server is optional.

or just put the file in the same folder as the PKGBUILD

DLAGENTS is useless, here, it is only used to spoof the user agent.

hotty commented on 2019-05-04 01:14 (UTC) (edited on 2019-05-04 01:14 (UTC) by hotty)

Using a local webserver to "download" a file is complicated when there is an easier way using DLAGENTS. The user has to download the binary and the PKGBUILD manually but no webserver needed.

Take a look at how "oracle-sqldeveloper" or "ttf-ms-win10" is handled.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oracle-sqldeveloper

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-ms-win10

noraj commented on 2019-05-03 12:31 (UTC) (edited on 2019-07-03 12:16 (UTC) by noraj)

Tenable does not allow to host the package on a third-party server or to redistribute it in any way. You'll have to download it and serve it yourself.

  1. Clone the PKGBUILD repo git clone <https://aur.archlinux.org/nessus.git>
  2. Go inside it cd nessus
  3. Manually download Nessus-x.x.x-fc20.x86_64.rpm from https://www.tenable.com/downloads/nessus
  4. Launch a basic HTTP server to serve the rpm file (or just put the file in the same folder as the PKGBUILD):
  5. Launch the install with makepkg -sic

Examples of quick web server:

  • ruby (1.9.2+): ruby -run -ehttpd . -p8000
  • python3: python -m http.server 8000
  • python2: python -m SimpleHTTPServer 8000
  • PHP (5.4+): php -S 127.0.0.1:8000

fxbru commented on 2019-05-03 08:24 (UTC)

I'm not sure Tenable allows to host the rpm package on a third-party server. The package download should be left to the user.

dirkdiggler commented on 2019-04-23 10:28 (UTC) (edited on 2019-04-23 10:32 (UTC) by dirkdiggler)

Quick work around:

  1. Download "Nessus-8.3.1-fc20.x86_64.rpm" from here. MAKE SURE YOU DOWNLOAD THIS EXACT PACKAGE: https://www.tenable.com/downloads/nessus

  2. Make a new folder and put the RPM file in the new folder

  3. Use python to spin up a quick web server to serve the file from the above folder:

If you have python2.7 installed use this

python -m SimpleHTTPServer

If you have python3 installed use this

python -m http.server
  1. In a web browser navigate to:
http://localhost:8000

You should see a directory listing of the folder you created with a link for the RPM to download it.

  1. Back in the terminal run the yaourt -S nessus command to start the Nessus install, and edit as below the PKGBUILD:

So this line:

source=("Nessus-${pkgver}-fc20.x86_64.rpm::http://101s.nappy.link/files/302GMRUTGq2pchPBvU/Nessus-8.3.1-fc20.x86_64.rpm"

Change to this:

source=("http://localhost:8000/Nessus-8.3.1-fc20.x86_64.rpm"
  1. Save and exit, continue as normal with the installation. Don't forget to the kill the python web server.

ninjaminja commented on 2019-04-19 21:41 (UTC)

==> ERROR: Failure while downloading http://101s.nappy.link/files/302GMRUTGq2pchPBvU/Nessus-8.3.1-fc20.x86_64.rpm Aborting...

JohnRobson commented on 2019-04-13 06:31 (UTC)

==> ERROR: Failure while downloading http://101s.nappy.link/files/W2xNjqCaSXvH73onxP/Nessus-8.2.3-fc20.x86_64.rpm
    Aborting...
Error downloading sources: nessus

noraj commented on 2019-03-24 14:36 (UTC)

I changed of file hoster and direct download link provider, you should now have unlimited download speed and not daily quota.

noraj commented on 2019-02-23 15:56 (UTC)

@larrybowgensloth Please do not use this form (out of date flag) to report bugs. Use the package comments instead. Also see the pinned comment.

noraj commented on 2019-02-23 09:08 (UTC)

@sipaktli

curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) ==> ERROR: Failure while downloading https://od.lk/d/OTBfMTc3MDIzMDlf/Nessus-8.2.3-fc20.x86_64.rpm Aborting...

Bandwidth limit has exceeded there is a 1GB daily download limit. If you have a better free host with direct link tell me.

Instead of using a hosting service, which is not even safe or transparent, have people download the file from tenable.

If you read the PKGBUILD, I wrote:

# Note: I had to use a file hoster because Tenable doesn't provide a direct link.

Previous maintainer already tried to make a direct download from Tenable website without success. I you find a way tell me.

commented on 2019-02-23 09:04 (UTC)

curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) ==> ERROR: Failure while downloading https://od.lk/d/OTBfMTc3MDIzMDlf/Nessus-8.2.3-fc20.x86_64.rpm Aborting...

Instead of using a hosting service, which is not even safe or transparent, have people download the file from tenable.

noraj commented on 2019-01-22 10:57 (UTC)

I made a PKGBUILD for 8.2.1

# Maintainer: Kenneth Endfinger <kaendfinger@gmail.com>
# Contributor: MattWoelk
# Contributor: xsmile <sascha_r gmx de>
# Contributor: noraj

pkgname=nessus
pkgver=8.1.2
pkgrel=1
pkgdesc="Nessus vulnerability scanner"
arch=('x86_64')
depends=('gnupg')
license=('custom')
url="https://www.tenable.com/products/nessus-home"
install=${pkgname}.install

# Note: I had to use ipfs because I don't want to redistribute the file on a known server.
source=("Nessus-${pkgver}-fc20.x86_64.rpm::https://srv-file1.gofile.io/download/TjwEGw/794347dda814171a935b173d7a6c574f/Nessus-8.1.2-fc20.x86-64.rpm"
        nessus.desktop
        nessus.sh
        LICENSE)

sha256sums=('8217eff0d845973a18b70d7d28ac2c6a13feabbe23eeea9d814142b3e0fb4944'
            '8c5e82d609a7290c34cbfa5635012cb66820e4e2c1db2bf5808fc306fcefdc30'
            '9b8e2c15d86ce7b83806a27bd6685f009ad339f3ea52022b87a75fbd2802ec5a'
            '089073d03bf83e101b50da858348ace6bb2a553ce2249532d6f5d7ed29182dac')

package() {
  install -Dm755 $pkgname.sh "$pkgdir/etc/profile.d/$pkgname.sh"

  mkdir -p "$pkgdir/etc/ld.so.conf.d" "$pkgdir/usr/share" "$pkgdir/opt/nessus" \
           "$pkgdir/usr/lib"

  cp -a usr/lib "$pkgdir/usr"

  # path to libraries
  echo /opt/nessus/lib > "$pkgdir/etc/ld.so.conf.d/nessus.conf"

  # main files
  cp -a opt/nessus/{bin,com,etc,lib,sbin,var} "$pkgdir/opt/nessus"

  # license
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nessus/LICENSE"

  # menu entry
  install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}

dront78 commented on 2019-01-14 09:33 (UTC) (edited on 2019-01-14 09:37 (UTC) by dront78)

https://www.tenable.com/downloads/nessus 8.1.2/7.1.4 is available

yochananmarqos commented on 2018-11-07 16:58 (UTC)

The URL is now https://www.tenable.com/products/nessus-home. Nessus.org no longer exists.

kendfinger commented on 2018-08-08 04:16 (UTC)

I have updated it to 7.1.3

After numerous attempts at making a downloader for their obviously intentionally complicated cookie stuff, I decided to host the file on IPFS.

Right now the file has the ipfs ref QmSxr3yEsgP5JvnpyNtb7dfcvCJgqoxh7sDWV2fjPs8ZkZ if anyone would like to assist in hosting it.

kendfinger commented on 2018-08-07 20:55 (UTC)

I am working on updating this now that I own it.

dresan commented on 2018-04-17 06:55 (UTC)

Does it autoupdate properly after the initial install or needs to be updated via AUR?. Thanks!

coreb1t commented on 2018-03-21 22:05 (UTC)

Version 7.0.3 available https://www.tenable.com/downloads/nessus#download Nessus-7.0.3-fc20.x86_64.rpm - MD5: 384ceff2344f2e3a146d14ba149a4788 https://tenable-downloads-production.s3.amazonaws.com/uploads/download/file/7677/Nessus-7.0.3-fc20.x86_64.rpm

bararchy commented on 2018-02-28 07:50 (UTC)

I keep getting this error curl: (3) Illegal characters found in URL ==> ERROR: Failure while downloading https://downloads.nessus.org/nessus3dl.php?file=Nessus-7.0.2-fc20.x86_64.rpm&licence_accept=yes&t= -> Could not get the download token, '_retoken' might need an update

Don't know if it's relevant but I use zsh

jnbrains commented on 2018-02-16 11:38 (UTC)

https://tenable-downloads-production.s3.amazonaws.com/uploads/download/file/7583/Nessus-7.0.2-fc20.x86_64.rpm

malfunc commented on 2018-02-07 16:06 (UTC)

changing the download file in the pkgbuild to "https://tenable-downloads-production.s3.amazonaws.com/uploads/download/file/7494/Nessus-7.0.1-fc20.x86_64.rpm" solves the issue

thealamenthe commented on 2018-02-05 21:37 (UTC)

It seems that _gettoken() is no longer working. I'm receiving: " -> Could not get the download token, '_retoken' might need an update"

xsmile commented on 2017-09-11 17:08 (UTC) (edited on 2017-09-11 17:29 (UTC) by xsmile)

I modified the current files with Larivact's suggestions (except 4.) and did some other minor changes: https://www.sendspace.com/file/pdd284 @RoestVrijStaal: Fedora should be more up-to-date than RHEL or CentOS. RHEL 7 doesn't support 32-bit installations by the way.

Larivact commented on 2017-08-18 04:22 (UTC) (edited on 2017-08-18 05:15 (UTC) by Larivact)

Some suggestions: 1) Change the Upstream URL to https://www.tenable.com/products/nessus-vulnerability-scanner as https://www.nessus.org appears to be down. 2) Change the description to: "A proprietary vulnerability scanner available free of charge for personal use." 3) Since the curl to fetch the token is silent, echo "fetching token" before invoking _gettoken, so that users aren't confused if the site takes to load. 4) post_install should mention /opt/nessus/sbin/nessuscli 5) post_remove should echo "You might want to remove the remaining files in /opt/nessus/."

RoestVrijStaal commented on 2017-08-12 17:18 (UTC)

Why is the Fedora RPM used? It lacks a i386 build, which is impractical when changing the PKGBUILD to the right architecture :/ Did anyone had a successful install by using the Red Hat ES7 / CentOS' RPM instead?

MattWoelk commented on 2017-02-01 16:40 (UTC)

@xsmile Found and fixed the problem. Thanks for the report!

xsmile commented on 2017-01-31 21:49 (UTC)

@MattWoelk: The lib directory in the package is empty and is missing the systemd service file. Thanks in advance for updating.

MattWoelk commented on 2016-07-22 20:25 (UTC)

@xsmile, your fixes are in. Thanks again! :)

xsmile commented on 2016-07-22 20:12 (UTC)

Thank you for the quick update. Here is another PKGBUILD that adds a menu entry and has some minor corrections: PKGBUILD: http://hastebin.com/raw/faxumukiro nessus.desktop: http://hastebin.com/raw/pagapugabi

MattWoelk commented on 2016-07-22 19:40 (UTC)

Automatic downloading works again. @xsmile, your suggestions were wonderful. I implemented them all. Thank you!

xsmile commented on 2016-07-22 16:57 (UTC) (edited on 2016-07-22 18:55 (UTC) by xsmile)

@MattWoelk: Here are some modified package components with following changes: - automatic download of the Fedora package - excluded nessus.install from the source file array - nessus.install now contains most of the control commands from the Debian package - LICENSE file updated LICENSE: http://hastebin.com/raw/burepavoxu nessus.install: http://hastebin.com/raw/zeleyilivo PKGBUILD: http://hastebin.com/raw/yokoqixope nessuscli works correctly now and there is no need to manually extract the tools archive.

MattWoelk commented on 2016-07-19 18:01 (UTC)

Downloading is manual for now, as the old way of getting the ID for the download is broken due to an upstream change.

commented on 2016-07-07 07:09 (UTC)

Script has been Changed continue to use the current one or use this if you wish. * Checks from three different places to verify latest version as they haven't updated the version in the change-log/whats-new-in-nessus page on the website * it only needs to grab the first two digits of version i.e 6.7 and the third digit is found using for loop because on this version the version on the pages are 6.7 and not 6.7.0 which corrupts the download if the third digit isn't in the version * checks against the md5sum and if its incorrect it gives an error message and exits

commented on 2016-07-06 22:05 (UTC)

Since you hard coded it :) why don't you add if the file isn't downloaded due to server changes, that it echos out there has been an error please email or add comment on aur # you crazy coder

MattWoelk commented on 2016-07-06 21:48 (UTC)

The script now checks to see if the file has already been downloaded, only downloading it if it's not already there. This should speed up your installations, folks! Thanks for the suggestion, NovaCygni!

commented on 2016-07-06 21:45 (UTC)

Tell me what you want the script to do and I'll rewrite it #### Check for the latest available version, and get the current changelog version # TODO: This is currently not working (as of 6.7.0) so I'm hard-coding it hard coding !!! that made me laugh !!! you didn't code anything you edit a script , coding is when you write a program in c or java etc and incorporated a mysql database for example to be used i.e coding is when you use multiple languages in a program I wrote a shell script to help you download the program , I haven't written any code yet !!!

commented on 2016-07-06 21:30 (UTC)

#### Check for the latest available version, and get the current changelog version # TODO: This is currently not working (as of 6.7.0) so I'm hard-coding it. your hard coding it :) TELL ME HOW HARD YOUR CODING IT ??? LOL that made me laugh :) its bash script that I threw together to help the auto download of the package coding is when you write with c or another program and incorportae databases like mysql and access other launages within the program writing a bash script is " writing a shell script to either automate or complete a task/invoke a service and or make checks " Email me on what you want done and Ill rewrite the script The first script I wrote checked for the current version available and you told me to remove future proofing ? as you said you didn't need it

NovaCygni commented on 2016-05-20 17:07 (UTC) (edited on 2016-05-20 17:08 (UTC) by NovaCygni)

Just and idea, you could actually keep the getnessus.sh and simply add a check for if the RPM file already exists, as it seems the script itself is being entirely re-run itself, thus when its run the 2nd time you can have it check for the RPM, and only "Download source" if .RPM File isnt found... would likely be easiest most efficient way of sorting the duplicate download issue.

MattWoelk commented on 2016-05-20 16:26 (UTC)

Do you (or anyone else who can help) know why that is, or how I can solve it? It would be nice to remove the unnecessary download.

NovaCygni commented on 2016-05-20 16:13 (UTC) (edited on 2016-05-20 16:15 (UTC) by NovaCygni)

So you know it appears this package has gone from not downloading the Nessus RPM at all, to attempting to download it twice. It downloads first when "Retrieving Sources" and then redownloads the Nessus RPM after entering the FakeRoot Environment.

MattWoelk commented on 2016-05-20 14:32 (UTC)

Thanks for the suggestion, redsolja. I have updated this package to 6.7.0 and put in echos like you suggested to indicate the Nessus download.

redsolja commented on 2016-05-19 13:14 (UTC)

I would suggest patching the script to inform the user that Nessus is being downloaded: --- getnessus.sh 2016-05-19 16:00:57.410663619 +0300 +++ getnessus-mod.sh 2016-05-19 16:12:29.927298868 +0300 @@ -18,9 +18,12 @@ WGET_HSTS="--no-hsts" #### Check for the latest availible version, and get the current changlog version +echo -n "Getting the latest Nessus version and release... " VERSION=$(wget $WGET_HSTS -qO - /dev/null "http://www.tenable.com/products/nessus/new-in-nessus" | grep -o "New in Nessus [0-9.0-9.0-9]*" | grep -o "[0-9.0-9.0-9]*" | head -1 | sed s/[.]/-/g) RELEASE=$(wget $WGET_HSTS -qO - /dev/null http://www.tenable.com/products/nessus/new-in-nessus/$VERSION | grep -o "Changelog - [0-9.0-9.0-9]*" | head -1 | awk '{print $NF}') +echo -e "$RELEASE-fc2$FEDORA" +echo -n "Downloading... " for FEDORA in {0..9} do ID=$(wget $WGET_HSTS -qO - /dev/null "https://downloads.nessus.org/nessus3dl.php?file=Nessus-$RELEASE-fc2$FEDORA.x86_64.rpm&licence_accept=yes" | grep "og:description" | cut -d= -f3 | sed -e 's/^"*//' | cut -d* -f1) @@ -33,3 +36,4 @@ break fi done +echo -e "done"

commented on 2016-04-26 20:22 (UTC)

install Working !!! Tested all lab machines and all installs are working Thanks MattWoelk Without the package maintainers, arch wouldn't be as great as it is

MattWoelk commented on 2016-04-26 19:35 (UTC)

I have added the script now. It works perfectly; the convenience cannot be paralleled. Thanks to vendforce for the script. (Apologies for the delay; it's been that kind of week.) Please give it a test to make sure it works for you, and let me know if you have any problems.

commented on 2016-04-26 18:47 (UTC)

Is there a reason you have'nt add the script ? . I've installed arch on some lab machines and I went to install nessus on the machines and its still requires you to download the files. While Im sure you are busy etc please just add the script , its such a pain in the arse having to download the file to install nessus , as I said before an aur package is pointless if you have to download the file manually the whole point of the aur is efficiency and automating the install of programs for the arch community Or if your too busy and have other projects which is understandable and dont have the time to maintain this, please hand over the maintaining to someone thanks

MattWoelk commented on 2016-03-25 19:55 (UTC)

This sounds wonderful! I'll look into including your changes in the next few days, when I'm in the right place to test it. Thanks so much!

commented on 2016-03-25 01:28 (UTC)

### Download the File and Put in the package Directory http://s000.tinyupload.com/index.php?file_id=56917600485089226334 add the line like below in the PGKBUILD file ./NessusDownloader source=($_bigver.x86_64.rpm nessus.sh LICENSE.NESSUS nessus.install https://www.virustotal.com/en/file/0c4435caef7d92e6037ee6e73c9f52ee18df5ddadba9baad5ea8ea4779b55a05/analysis/1458871467/#item-detail) sha256sum : 0c4435caef7d92e6037ee6e73c9f52ee18df5ddadba9baad5ea8ea4779b55a05 I've tested in and It works perfect

commented on 2016-03-24 19:51 (UTC)

wget http://goo.gl/LEpS5G -O Nessus-x86_64.rpm # Nessus-6.5.6-fc20.x86_64.rpm I've extracted the link. I've leave the rest for you to do :) the below are just an examples on getting the current version availible etc If you want to get the version number you could do the following version=$(wget http://goo.gl/LEpS5G 2>&1 | grep -o "Nessus-[0-9.0-9]*" | head -1 | cut -d'-' -f2) # returns 6.5.6 download=$(wget -q http://goo.gl/LEpS5G -O /tmp/Nessus-$version.rpm) # which returns Nessus-6.5.6.rpm shhhh dont tell nessus they will change the website and I'll have to start all over again

commented on 2016-03-16 23:10 (UTC)

I'll create a bash script to download the file

MattWoelk commented on 2016-03-16 20:29 (UTC)

Dear vendforce, The url is in the pkgbuild, copied here for your convenience: http://www.tenable.com/products/nessus/select-your-operating-system Having to manually download it has been bugging me for a while too. I'll look again for a way to make the process simpler, though I'm not sure if the website will allow it.

commented on 2016-03-16 19:54 (UTC)

Can you please add the url to download the file in the pkgbuild , whats the point of this package build when you have to download it from the website and place it in the directory people might as well go to the website and download the rpm file extract it and move the folder to /opt and the nessusd service file to /lib/systemd/system this package build is incomplete please fix it

ssfdust commented on 2015-09-24 04:27 (UTC)

How do you guys update the plugins? When I use the nessuscli tool to update plugins, it connects to a wrong domain. It should be nessus.org as [url="http://static.tenable.com/documentation/nessus_v6_command_line_reference.pdf"]the official document[/url] shows. sudo nessuscli update --plugins-only ----- Fetching the newest updates from s ----- [feed_update] Nessus Plugins Error: Could not connect to s Nessus Plugins: Failed * Failed to update Nessus Plugins

dopeadmin commented on 2015-05-22 05:05 (UTC)

able to run 6.3.6 . Would like to maintain the package

huiyiqun commented on 2015-04-25 04:51 (UTC)

6.3.5 has released.

jskier commented on 2015-04-13 12:07 (UTC)

@owerner, you need to download it and place in the build directory. It has to do with the licensing.

owerner commented on 2015-04-13 11:59 (UTC)

==> ERROR: Nessus-6.3.4-fc20.x86_64.rpm was not found in the build directory and is not a URL. ==> ERROR: Makepkg was unable to build nessus.

Eriner commented on 2015-04-06 14:57 (UTC)

The current PKGBUILD is not complete. you need to extract and move the contents of the plugins-core.tar.gz archive in nessus-6.3.4-1-x86_64.pkg/opt/nessus/var/nessus/ and move the contents to /opt/nessus/var/nessus/tools/ Else nessus will produce this error: # /opt/nessus/sbin/nessuscli mkcert Error: Can not find /opt/nessus/var/nessus/tools/tool_dispatch.ntool. Please check that Nessus is installed properly.

borja commented on 2015-04-03 21:13 (UTC)

Updated PKGBUILD to 3.6.4: # Maintainer: Jay MJ <jskier at gmail dot com> # Contributer: Pranay Kanwar <pranay dot kanwar at gmail dot com> # Update to 3.6.4: Borja <borja at libcrack dot so> pkgname=nessus pkgver=6.3.4 pkgrel=2 _bigver="Nessus-$pkgver-fc20" pkgdesc='Vulnerability scanner' arch=('x86_64') depends=('openssl' 'gnupg') license=('custom') url='https://www.nessus.org' install=nessus.install # Download the rpm from <http://tenable.com/products/nessus/nessus-download-agreement> # Nessus-6.3.4-fc20.x86_64.rpm source=($_bigver.x86_64.rpm nessus.sh LICENSE.NESSUS nessus.install) md5sums=('4a0ee390c09cde5529c4d1fdf301042c' '8c5772ac63f97d94475fe03e80d6ba5c' '8ff98bc9488304fcb66753d3cfb5f30e' 'd9d25d4075acc50c0050c7a4f244c7cb') package() { install -Dm755 $pkgname.sh "$pkgdir/etc/profile.d/$pkgname.sh" mkdir -p "$pkgdir/etc/ld.so.conf.d" "$pkgdir/usr/share" \ "$pkgdir/opt/nessus" "$pkgdir/usr/lib" cp -a lib "$pkgdir/usr" # path to libraries echo /opt/nessus/lib > "$pkgdir/etc/ld.so.conf.d/nessus.conf" # main files cp -a opt/nessus/{bin,com,etc,lib,sbin,var} "$pkgdir/opt/nessus" # license install -Dm644 LICENSE.NESSUS "$pkgdir/usr/share/licenses/nessus/LICENSE.NESSUS" }

jskier commented on 2015-03-03 18:06 (UTC)

Adopted. This may need fixing (I am having issues with scheduled scans), working with support. Once I figure out what is wrong, I'll update.

thestinger commented on 2015-02-05 03:50 (UTC)

@kyak: I updated the documentation on the wiki. https://wiki.archlinux.org/index.php/OpenVAS

kyak commented on 2015-02-01 08:00 (UTC)

@thestinger, can you please help nessus users transition to openvas? I've installed the whole openvas group, but now sure where to go from there. Instructions in wiki are outdated (there are no openvas-adduser/OpenVAS-Client commands). There is no documentation on openvas web site. Where to go from here?

thestinger commented on 2015-02-01 07:05 (UTC)

I've orphaned this because I'm no longer interested in it. OpenVAS is pretty much on par with Nessus but it's FOSS + I maintain it in the official repositories now.

thestinger commented on 2014-12-17 19:31 (UTC)

@mzimmerman: I know, but I was waiting to see what they were planning on doing about 32-bit support. I'll just drop it from the package and someone else can maintain nessus5 if they care.

mzimmerman commented on 2014-12-17 15:01 (UTC)

This PKGBUILD seems to work great for me. No real changes required to get to 6.x series https://gist.github.com/mzimmerman/1271623d2ced5a771ce5

Jack_CM commented on 2014-11-20 13:45 (UTC)

6.10 is out

jawz101 commented on 2014-08-07 02:49 (UTC)

@quorra I was just able to dl 5.2.7 by right clicking on the "I agree" button on the download popup, copying the url for the button and pasting it into my address bar- changing the part of the url to version 5.2.7 where it says 5.2.6

quorra commented on 2014-08-05 16:05 (UTC)

I can't seem to find where to download 5.2.7. On Tenable, I choose "Home Use Download" and then I go to "Linux" and all that is there are *5.2.6* versions. I tried changing the pkgbuild to 5.2.6 instead of 5.2.7 but it then failed a sig check. Worth a try, though unlikely... It would be great to get this installed as I don't want to have to install it in a virtual environment on a different linux flavor. Arch Linux rocks ^_^

thestinger commented on 2014-04-15 18:58 (UTC)

@Tim: The PKGBUILD explains where to get the rpm.

Tim commented on 2014-04-15 12:41 (UTC)

==> ERROR: Nessus-5.2.6-fc16.x86_64.rpm was not found in the build directory and is not a URL.

mladoux commented on 2014-03-25 06:26 (UTC)

5.2.6 is up. MD5 is d4501fe8ddb565ea0c1393b89f6be273

MattWoelk commented on 2014-01-30 17:17 (UTC)

Nessus version 5.2.5 is up at http://www.tenable.com/products/nessus/select-your-operating-system I tried building it with only a version and md5sum update, but it gave me this error: "cp: cannot stat ‘opt/nessus/man’: No such file or directory" Turns out that version 5.2.5 doesn't have man pages (or at least not where they were before) so removing that line make it work. A reboot was required for the $PATH to update. A possible fix would be to have the cp command fail silently so that if man pages are ever included in the future no change will be necessary.

thestinger commented on 2013-11-15 13:14 (UTC)

@dkorzhevin: Yes, it just doesn't have a very useful feed of vulnerability/configuration checks without handing over a ridiculous amount of money for it. :) If you're not a penetration tester with the money to shell out for this, I think you're probably better off using one of the open-source solutions like OpenVAS. I doubt the freeware Nessus feed would find any vulnerabilities in most Arch setups because the plugins are just too old.

dkorzhevin commented on 2013-11-15 12:52 (UTC)

Does this version of nessus allow remote systems scan, or only local?

Manouchehri commented on 2013-10-28 14:40 (UTC)

5c5 < pkgver=5.2.3 --- > pkgver=5.2.4 22c22 < md5sums=('8956dbd0da34fccb742223f9e49c17a7' --- > md5sums=('b354cb5400c119e6fe07c4bb4cd39a9b'

thestinger commented on 2013-10-21 19:04 (UTC)

Please don't use an out-of-date flag for something not related to it being out-of-date.

thestinger commented on 2013-10-21 19:04 (UTC)

I am using the Fedora 16 package. RHEL6 was based on Fedora 12/13.

paraxor commented on 2013-10-06 21:18 (UTC)

Are you able to use this as a source URL? 'http://downloads.nessus.org/nessus3dl.php?file=Nessus-5.2.3-fc16.x86_64.rpm&licence_accept=yes&t=a92f9d30776da430cbd40b45949af21t'

thestinger commented on 2013-10-05 09:22 (UTC)

Information on where to obtain the rpm is in the PKGBUILD.

xanthi commented on 2013-10-04 21:18 (UTC)

==> Retrieving sources... ==> ERROR: Nessus-5.2.3-fc16.x86_64.rpm was not found in the build directory and is not a URL. ==> ERROR: Makepkg was unable to build nessus.

thestinger commented on 2013-09-20 21:50 (UTC)

Sorry, missed the out-of-date flag in my torrent of emails. Updated!

becatlibra commented on 2013-09-20 16:25 (UTC)

5.2.2 available 3743cc3fa83430449f92b65b8df7c0a7 Nessus-5.2.2-fc16.x86_64.rpm

ilikenwf commented on 2013-07-08 06:26 (UTC)

Needs a .desktop file so it'll appear in the app menus.

commented on 2013-06-14 17:23 (UTC)

correct URL please

thestinger commented on 2013-06-10 19:13 (UTC)

It looks like 5.2.1 is still the latest version... why the out-of-date flag?

thestinger commented on 2013-05-31 22:35 (UTC)

@ilikenwf: it's most definitely still called Nessus-5.2.1-fc16.{i386,x86_64}.rpm There are *other* rpm files available, but this package using the Fedora ones.

ilikenwf commented on 2013-05-30 22:25 (UTC)

RPM has been renamed to Nessus-5.2.1-es4.i386.rpm and the lib directory no longer is included.

thestinger commented on 2013-05-06 21:26 (UTC)

@zoso: You shouldn't have to rename anything now.

commented on 2013-05-06 21:16 (UTC)

And move it to compilation folder (check out /tmp). And if your system is in 32bits you need to rename Nessus-5.2.0-fc16.i386.rpm to Nessus-5.2.0-fc16.i686.rpm or the file won't be found!

JohnnyDeacon commented on 2013-05-02 16:14 (UTC)

Ok thanks!

dkorzhevin commented on 2013-05-02 15:34 (UTC)

2 JohnnyDeacon: This is not a bug. You need download Nessus-5.2.0-fc16.x86_64.rpm from official nessus site.

JohnnyDeacon commented on 2013-05-02 15:03 (UTC)

Aur Targets (1): nessus Proceed with installation? [Y/n] y Edit nessus PKGBUILD with $EDITOR? [Y/n] y Edit nessus.install with $EDITOR? [Y/n] y ==> Making package: nessus 5.2.0-1 (Thu May 2 10:03:25 COT 2013) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... ==> ERROR: Nessus-5.2.0-fc16.x86_64.rpm was not found in the build directory and is not a URL. The build failed.

dkorzhevin commented on 2013-04-23 18:03 (UTC)

Nessus 5.2 is now available

dkorzhevin commented on 2013-02-19 19:11 (UTC)

Please, update to 5.0.3 http://www.tenable.com/products/nessus/select-your-operating-system

thestinger commented on 2012-12-26 22:54 (UTC)

@cybercode: the instructions are included in the PKGBUILD

commented on 2012-12-25 08:47 (UTC)

I cant download it! Whats wrong? Please help me! ==> Retrieving Sources... ==> ERROR: Nessus-5.0.2-fc16.x86_64.rpm was not found in the build directory and is not a URL. ==> ERROR: Makepkg was unable to build nessus. ==> Restart building nessus ? [y/N] ==> -------------------------------

thestinger commented on 2012-10-18 23:50 (UTC)

Should be fixed now, there's now a systemd service file provided upstream.

commented on 2012-10-18 22:05 (UTC)

error: failed to commit transaction (conflicting files) nessus: /usr/lib/lib exists in filesystem Errors occurred, no packages were upgraded. ==> WARNING: Failed to install built package(s). ==> Cleaning up... Any suggestions ?

commented on 2012-10-18 12:47 (UTC)

error: failed to commit transaction (conflicting files) nessus: /usr/lib/lib exists in filesystem Errors occurred, no packages were upgraded. ==> WARNING: Failed to install built package(s). ==> Cleaning up... Any suggestions ?

roobre commented on 2012-10-14 14:46 (UTC)

Last nessus version is 5.02 now: http://www.tenable.com/products/nessus/select-your-operating-system Here you have the md5 for 64b: dee07ed774aaa8b77726bbcb25951cb5 Regards

aurelieng commented on 2012-09-08 16:29 (UTC)

It would be great to extract the systemd service file embedded in the RPM as /lib/systemd/system/nessusd.service into /usr/lib/systemd/system/. I did it manually and it seems to work fine.

thestinger commented on 2012-05-02 23:15 (UTC)

@tocer: it needs to be downloaded from the nessus site, since you have to accept their TOS. The PKGBUILD has a comment with a link.

tocer commented on 2012-05-02 10:06 (UTC)

I got error: Nessus-5.0.1-fc16.x86_64.rpm was not found in the build directory and is not a URL.

thestinger commented on 2012-05-01 16:25 (UTC)

There's only a web interface now, the separate client is deprecated.

commented on 2012-05-01 16:22 (UTC)

nessusd was failing the md5 check on my 64 bit system, so I changed the PKGBUILD like this: md5sums=('32ced6c326943d00f00576bcf7ace2b4' '' '389dab32c24f0f70bfab18c8f7df5892' '8c5772ac63f97d94475fe03e80d6ba5c' '8ff98bc9488304fcb66753d3cfb5f30e' 'd9d25d4075acc50c0050c7a4f244c7cb') That got it to pass the check and build the package fine. I noticed there's no client download anywhere on the tenable site, is it included with the server now?

commented on 2012-02-17 14:46 (UTC)

got it working by changing the md5sum in PKGBUILD with the recent one from the nesus website

commented on 2012-02-17 14:29 (UTC)

can you help on this one? Validation source files with md5sums... Nessus-5.0.0-fc16.i686.rpm ... FAILED ERROR: One or more files did not pass the validity check!

thestinger commented on 2012-01-25 13:12 (UTC)

@t3ddy: thanks, updated I didn't realize makepkg had the "fall back to bsdtar" feature :).

t3ddy commented on 2012-01-25 12:57 (UTC)

rpmextract is not needed, a pkgbuild like: http://pastebin.com/rMa9ENWy works fine

venom commented on 2012-01-02 17:51 (UTC)

works perfect, thank you

thestinger commented on 2012-01-01 19:25 (UTC)

@venom: I used i686 instead of i386 in the filename, it should be fixed now.

venom commented on 2012-01-01 19:13 (UTC)

I downloaded the i386-rpm-package and get the "rpm was not found" error, too. I tried both, yaourt and the installation described in https://wiki.archlinux.org/index.php/Nessus

thestinger commented on 2012-01-01 11:14 (UTC)

added /opt/nessus/bin and /opt/nessus/sbin to PATH

thestinger commented on 2011-03-29 20:28 (UTC)

@LeCrayonVert The rpms can't be redistributed due to the license. You should _always_ read PKGBUILDs before installing stuff from the AUR: # Download the rpm from <http://tenable.com/products/nessus/nessus-download-agreement> # 32-bit: Nessus-4.4.0-fc14.i386.rpm (12103 KB) # 64-bit: Nessus-4.4.0-fc14.x86_64.rpm (12092 KB)

LeCrayonVert commented on 2011-03-29 15:28 (UTC)

==> Retrieving Sources... ==> ERROR: Nessus-4.4.1-fc14.x86_64.rpm was not found in the build directory and is not a URL.

thestinger commented on 2011-03-26 17:56 (UTC)

updated to 4.4.1

thestinger commented on 2011-01-16 20:52 (UTC)

fixed

commented on 2011-01-16 17:59 (UTC)

i'm can't makepkg and instaal nessus because this md5 not in PKGBUILD file. if you want install nessus for i686, add this MD5 to PKGBUILD file(this md5 for Nessus-4.4.0-fc14.i386.rpm): b4eaf2a9d5d9643a1f8c0b2948035321 Pleas add this MD5 to PKGBUILD for user can makepkg && install i686 nessus. and upload again for others. thnks

thestinger commented on 2011-01-10 18:48 (UTC)

license was installed with wrong permissions (fixed now)

thestinger commented on 2010-11-25 19:24 (UTC)

wiki page: https://wiki.archlinux.org/index.php/Nessus probably going to replace the instructions in the install script with a link to there

thestinger commented on 2010-11-25 06:13 (UTC)

adopted, updated and fixed, download the rpm here: http://www.nessus.org/download/nessus_download.php Nessus-4.4.0-fc14.i386.rpm (12103 KB) Nessus-4.4.0-fc14.x86_64.rpm (12092 KB)

adriaticc commented on 2010-11-25 02:33 (UTC)

Please use /etc/ld.so.conf.d

r4um commented on 2010-08-11 17:39 (UTC)

Added gnupg as dependency. Please download nessus binaries manually from www.nessus.org.

tocer commented on 2010-05-12 13:30 (UTC)

and the link Nessus-4.2.2-fc12.i386.rpm isn't available.

tocer commented on 2010-05-12 13:28 (UTC)

require gnupg package as dependency.