Sync all scripts from website downloads — 352 scripts total
Includes updated JS challenge scripts with Claude-User whitelist, same-site referer bypass, Blackbox-Exporter allowed bot, and all new exporters, cheat sheets, and automation scripts.
This commit is contained in:
@@ -9,7 +9,7 @@ set -euo pipefail
|
||||
#### Author: Phil Connor ####
|
||||
#### Contact: contact@mylinux.work ####
|
||||
#### License: MIT ####
|
||||
#### Version: 3.0 ####
|
||||
#### Version: 3.1 ####
|
||||
#### ####
|
||||
#### Usage: ./install-prometheus-stack.sh [OPTIONS] ####
|
||||
#############################################################
|
||||
@@ -148,8 +148,8 @@ detect_os() {
|
||||
OS=$(lsb_release -i | awk '{print $3}' | tr '[:upper:]' '[:lower:]')
|
||||
OSVER=$(lsb_release -r | awk '{print $2}' | cut -d. -f1)
|
||||
else
|
||||
OS=$(grep PRETTY_NAME /etc/os-release | sed 's/PRETTY_NAME=//g' | tr -d '="' | awk '{print $1}' | tr '[:upper:]' '[:lower:]')
|
||||
OSVER=$(grep VERSION_ID /etc/os-release | sed 's/VERSION_ID=//g' | tr -d '"' | cut -d. -f1)
|
||||
OS=$({ grep PRETTY_NAME /etc/os-release || true; } | sed 's/PRETTY_NAME=//g' | tr -d '="' | awk '{print $1}' | tr '[:upper:]' '[:lower:]')
|
||||
OSVER=$({ grep VERSION_ID /etc/os-release || true; } | sed 's/VERSION_ID=//g' | tr -d '"' | cut -d. -f1)
|
||||
fi
|
||||
|
||||
log_info "Detected OS: $OS version $OSVER"
|
||||
|
||||
Reference in New Issue
Block a user