Files
felhom.eu/documentation/audits/i18n-slice2-2026-09-18/A/live/dump.sh
T
admin 92ee0f9881
gates / gates (push) Successful in 23s
docs: live evidence for controller v0.252.0 + STATUS (R-557 slice 2 release A)
Endpoint-level on demo-hp guest 9201, method stated. The flash key renders the sentence in
each language where 0.251.0 showed the raw key; a link an OLD controller minted still shows
its prose, in both languages; country names follow the language and the list re-sorts.

Hungarian parity measured on the page BODIES, not on a hash: ten pages on 0.252.0, the guest
rolled back to 0.251.0, the same ten again, then rolled forward. Six byte-identical; the other
four differ only in live state (a clock crossing a minute, an app unhealthy for a moment, and
the update-available line, which is true on the old version and false on the new). The first
pass had saved only hashes — a hash cannot show WHAT moved — so the before-state was
reproduced rather than asserted.

Box left on 0.252.0 with its saved language `hu`; every English probe used the ?lang= override,
which is not persisted. Provisioned nothing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-18 10:24:52 +02:00

19 lines
1.0 KiB
Bash

#!/bin/bash
# Dump the Hungarian dashboard pages so 0.251.0 and 0.252.0 can be compared byte by byte.
IP=172.17.0.2:8080
H="Host: felhom.enkisfelhom.hu"
PW=$(cat /tmp/.felhompw); J=/tmp/pj.txt; rm -f $J
curl -s -c $J -H "$H" "http://$IP/login" -o /tmp/lg.html
CSRF=$(grep -o 'name="_csrf" value="[^"]*"' /tmp/lg.html | head -1 | sed 's/.*value="//;s/"//')
SESS=$(curl -s -b $J -H "$H" -D - -o /dev/null -X POST "http://$IP/login" \
--data-urlencode "password=$PW" --data-urlencode "_csrf=$CSRF" \
| grep -i '^set-cookie: felhom_session' | head -1 | sed 's/[Ss]et-[Cc]ookie: //;s/;.*//')
[ -z "$SESS" ] && { echo "LOGIN FAILED"; exit 1; }
OUT=/tmp/hu_pages; rm -rf $OUT; mkdir -p $OUT
for P in launcher backups backups/remote backups/apps backups/restore monitoring settings storage sharing stacks; do
F=$(echo $P | tr '/' '_')
curl -s -H "$H" -H "Cookie: $SESS" --max-time 10 "http://$IP/$P?lang=hu" -o $OUT/$F.html
done
curl -s -H "$H" --max-time 10 "http://$IP/login?lang=hu" -o $OUT/login.html
cd $OUT && wc -c *.html