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:
@@ -35,6 +35,7 @@ set -euo pipefail
|
||||
## ##
|
||||
## Author: Phil Connor ##
|
||||
## Contact: pconnor@ara.com ##
|
||||
## Version: 1.01 ##
|
||||
##########################################################################
|
||||
|
||||
BINDIR="/usr/local/bin"
|
||||
@@ -297,7 +298,8 @@ update_component() {
|
||||
|
||||
for bin in $binaries; do
|
||||
local found
|
||||
found=$(find "$workdir" \( -name "$bin" -o -name "${bin}-*" \) -type f 2>/dev/null | head -1)
|
||||
found=$(find "$workdir" \( -name "$bin" -o -name "${bin}-*" \) -type f \
|
||||
! -name "*.tar.gz" ! -name "*.tgz" ! -name "*.zip" ! -name "*.gz" 2>/dev/null | head -1)
|
||||
if [[ -n "$found" ]]; then
|
||||
backup_binary "$bin"
|
||||
mv "$found" "${BINDIR}/${bin}"
|
||||
@@ -534,7 +536,7 @@ main() {
|
||||
filename=$(basename "$cfg")
|
||||
cp "$cfg" "${BACKUPDIR}/${filename}.${timestamp}"
|
||||
log_ok "Backed up ${cfg} → ${BACKUPDIR}/${filename}.${timestamp}"
|
||||
((backed_up++))
|
||||
((backed_up++)) || true
|
||||
fi
|
||||
done
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user