mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
INFO="Athena OS|Arch||https://athenaos.org/|Offer a different experience than the most used pentesting distributions by providing only tools that fit with the user needs and improving the access to hacking resources and learning materials.";;
|
|
|
|
function releases_athenaos() {
|
|
wget -q -O- 'https://sourceforge.net/projects/athena-iso/rss?path=/' | grep '.iso/download"' | cut -d'=' -f5 | cut -d'"' -f2 | cut -d'/' -f7 | cut -d'v' -f2 | sed ':a;N;$!ba;s/\n/ /g'
|
|
}
|
|
|
|
function get_athenaos() {
|
|
local HASH=""
|
|
local URL=""
|
|
local ISO=""
|
|
|
|
case ${RELEASE} in
|
|
rolling)
|
|
ISO="athena-rolling-x86_64.iso"
|
|
URL="https://sourceforge.net/projects/athena-iso/files/rolling"
|
|
HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut_1)
|
|
;;
|
|
*)
|
|
ISO="athena-20${RELEASE}-x86_64.iso"
|
|
URL="https://sourceforge.net/projects/athena-iso/files/v${RELEASE}"
|
|
HASH=$(wget -q -O- 'https://sourceforge.net/projects/athena-iso/rss?path=/' | grep '.iso/download"' | grep "${RELEASE}" | cut -d '=' -f7 | cut -d'>' -f2 | cut -d'<' -f1)
|
|
;;
|
|
esac
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|