mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
33 lines
1 KiB
Text
33 lines
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"
|
|
HOMEPAGE="https://www.parrotsec.org"
|
|
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"
|
|
CREDENTIALS="parrot:parrot"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
|
|
function 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)
|
|
}
|
|
|
|
function editions_() {
|
|
echo home htb security
|
|
}
|
|
|
|
function 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}"
|
|
}
|