parrotsec

This commit is contained in:
zenobit 2025-04-09 20:11:26 +02:00 committed by GitHub
parent 5ad9c54002
commit 89f4ce3fe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -8,7 +8,6 @@ CREDENTIALS="parrot:parrot"
function releases_() {
#shellcheck disable=SC2046,SC2005
#echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="[[:digit:]]+(\.[[:digit:]]+)+' | sort -Vr | head -n 3 | cut -d\" -f 2)
echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="([[:digit:]]+\.)+[[:digit:]]+/' | sort -nr | head -n 3 | cut -d\" -f 2 | cut -d'/' -f 1)
}