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:
+5
-2
@@ -5,10 +5,13 @@
|
||||
#### ####
|
||||
#### Author: Phil Connor ####
|
||||
#### Contact: pconnor@ara.com ####
|
||||
#### Version 3.50.20250729 ####
|
||||
#### Version 3.51.20250729 ####
|
||||
#### ####
|
||||
#### Created 06/01/2023 ####
|
||||
##############################################
|
||||
# v3.51 changes:
|
||||
# - Fixed: grep in pipeline crashes under set -euo pipefail when no matches found. Added || true guard
|
||||
##############################################
|
||||
|
||||
# Exit on any error, undefined variables, and pipe failures
|
||||
set -euo pipefail
|
||||
@@ -68,7 +71,7 @@ detect_os() {
|
||||
get_memory_gb() {
|
||||
local mem_kb
|
||||
# Extract memory from /proc/meminfo (in KB)
|
||||
mem_kb=$(grep MemTotal /proc/meminfo | awk '{print $2}')
|
||||
mem_kb=$({ grep MemTotal /proc/meminfo || true; } | awk '{print $2}')
|
||||
|
||||
if [[ -z "$mem_kb" || "$mem_kb" -eq 0 ]]; then
|
||||
error "Unable to determine system memory"
|
||||
|
||||
Reference in New Issue
Block a user