title: How to download Nessus agent using wget using license accept option in Amazon Linux or Redhat machine
body: <p>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</p>
  <p>Below command only partly downloaded the file
  wget  --no-check-certificate --post-data='accept=&quot;I accept the terms of this license&quot;&amp;x=&quot;&quot;&amp;sid=5mcia8gchg28attkc9oarah153&amp;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</p>
  <p>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):</p>
  <p>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</p>