diff options
author | Matt Woelk | 2016-05-20 09:25:24 -0500 |
---|---|---|
committer | Matt Woelk | 2016-05-20 09:27:05 -0500 |
commit | 3ba60dfcf9fb3c1c3b556fa8acc945d444cd4af5 (patch) | |
tree | b6e98a5992c06733fc866f53511295cd4327b557 /getnessus.sh | |
parent | 36e48438ac7367dba89938235716960a307b995a (diff) | |
download | aur-3ba60dfcf9fb3c1c3b556fa8acc945d444cd4af5.tar.gz |
Updated to 6.7.0.
Diffstat (limited to 'getnessus.sh')
-rwxr-xr-x | getnessus.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/getnessus.sh b/getnessus.sh index 6f340f2fd083..73f5cdef1642 100755 --- a/getnessus.sh +++ b/getnessus.sh @@ -17,9 +17,14 @@ #### Wget https settings WGET_HSTS="--no-hsts" -#### Check for the latest availible version, and get the current changlog version -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}') +#### 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. +#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}') + +RELEASE=6.7.0 + +echo -e "Downloading Nessus $RELEASE from downloads.nessus.org ... " for FEDORA in {0..9} do @@ -33,3 +38,5 @@ else break fi done + +echo -e "... Download script has finished." |