I want to download Nessus agent from the Nessus downloads page. But I am unable to directly download due to the License Agreement option in Nessus page
Below command only partly downloaded the file wget --no-check-certificate --post-data='accept="I accept the terms of this license"&x=""&sid=5mcia8gchg28attkc9oarah153&p=NessusAgent-7.4.2-amzn.x86_64.rpm' 'https://www.tenable.com/downloads/nessus-agents' -O NessusAgent-7.4.2-amzn.x86_64.rpm
While installing I get below error rpm -ivh NessusAgent-8.2.2-amzn.x86_64.rpm error: NessusAgent-8.2.2-amzn.x86_64.rpm: not an rpm package (or package manifest):
This seems to be due to the package being partly downloaded as the download size is less than 1 mb but actual file is 16 MB
Appreciate this is quite an old post but the only way I have managed to do this so far is to grab the file on desktop and upload to S3/GitHub and download it from there using wget. I haven't found a better way as yet.