DistroHopper/public/parrotsec
2026-05-27 17:00:06 +02:00

39 lines
1.1 KiB
Text

# Template file for 'parrotsec'
OSNAME="parrotsec"
PRETTY="Parrot Security"
LOGO=" "
ICON="parrot.svg"
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/parrot.png"
CATEGORY="advanced"
BASEDOF="Debian"
DESCRIPTION="Provides a huge arsenal of tools, utilities and libraries that IT and security professionals can use to test and assess the security of their assets in a reliable, compliant and reproducible way"
HOMEPAGE="https://www.parrotsec.org"
CREDENTIALS="parrot:parrot"
GPG=""
RSS=""
DW=""
MAGNET=""
CHAT=""
RELEASES="7.2 7.1 7.0"
EDITIONS="home htb security"
QEMU_ARCH="amd64"
releases_() {
#shellcheck disable=SC2046,SC2005
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)
}
editions_() {
echo home htb security
}
get_() {
local HASH=""
local ISO=""
local URL=""
ISO="Parrot-${EDITION}-${RELEASE}_amd64.iso"
URL="https://download.parrot.sh/parrot/iso/${RELEASE}"
HASH="$(web_pipe "${URL}/signed-hashes.txt" | grep "${ISO}" | cut -d' ' -f1)"
echo "${URL}/${ISO} ${HASH}"
}