Last active
February 14, 2021 13:06
-
-
Save symm/3c9003d52d7c2f04809104142da7be21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MD5 (NessusAgent-6.10.2-es7.x86_64.rpm) = 0a42d5838aac2e468663463e1133a6e3 | |
9cd362cd591eda8626ef96bdf9ece2220ee8a5c4 NessusAgent-6.10.2-es7.x86_64.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TOKEN=$(curl -L -s https://www.tenable.com/products/nessus/agent-download | pup 'div#timecheck text{}') | |
FILE="NessusAgent-6.10.2-es7.x86_64.rpm" | |
URL="https://downloads.nessus.org/nessus3dl.php?file=$FILE&licence_accept=yes&t=$TOKEN" | |
echo $URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@symm : TOKEN=$(curl -L -s https://www.tenable.com/products/nessus/agent-download | pup 'div#timecheck text{}') line output is blank...could you please tell me what to expect from -- pup 'div#timecheck text{}' like if you can show me a sample?