#codealcea — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #codealcea, aggregated by home.social.
-
How... utterly #bizarre
I thought #php was behaving same across all devices as the #server does the work
https://codeberg.org/alceawisteria/AppAndProgramHacking/src/branch/main/Fediverse/Akkoma/emoji_uploader_%28admin%29.php.v1.fails.on.mobile
But. despite EXACT SAME CREDENTIALS
it does not.
ON #Webbrowser it works fine (the error here indicates the emoji already exists)
On #mobile it just... fails. the login was confirmed as ok. Auth token ok.
An then it just ... fails ?!
https://www.youtube.com/watch?v=JkDxtz6S6Pc&feature=youtu.be
How odd..
I'm so confused.
If anyone knows why, feel free to tell me.
In the meantime I'll investigate the only lead I have, that being
[03-Jan-2026 12:52:07 UTC] PHP Warning: Undefined array key "http_code" in /home/alceawis/public_html/PHP/0demo/00-PHP-Test/2026-01-03-11-50-33.php on line 308
:blobcatgoogly:
#repost •acws #acws #ConfusedCea #CodeAlcea -
Needed a #subtitle #editor /shifter.
And ofc the ones available are not very good.
So here we are....
https://codepen.io/ryedai1/pen/NPrGywa
Was it fun to make ?
No.
Does it work well ? It's ok enough.
I wonder if I can make some #karaoke ones out of normal srt and add some cool effects like #pretty letters...
#CodeAlcea
#repost •acws #acws
(PS the autotools suchas AutoSubSync don't seem to work very.. well, so yeah. -
Needed a #subtitle #editor /shifter.
And ofc the ones available are not very good.
So here we are....
https://codepen.io/ryedai1/pen/NPrGywa
Was it fun to make ?
No.
Does it work well ? It's ok enough.
I wonder if I can make some #karaoke ones out of normal srt and add some cool effects like #pretty letters...
#CodeAlcea
#repost •acws #acws
(PS the autotools suchas AutoSubSync don't seem to work very.. well, so yeah. -
Say hello to "The #Internetbucket"
My best invention yet :ablobcatrave:
- @dr_muesli
It Fills with Overuse instead of emptying
https://codepen.io/ryedai1/pen/NPrGXxK
Its still very .. erm un bucket like..
Désolé
But the data is updated automagically.
:abloblamp:
(The fetch php is amended to my #M7350 so if you have a different you'd need to get your own
To commemorate this:
Re: https://infosec.exchange/@alcea/115791774641598327
#repost •acws #acws #CodeAlcea
Protip: Add a "?animate" or perhaps even a "speed=1" for extra #coolness :blobcatthinkingsmirk: -
Say hello to "The #Internetbucket"
My best invention yet :ablobcatrave:
- @dr_muesli
It Fills with Overuse instead of emptying
https://codepen.io/ryedai1/pen/NPrGXxK
Its still very .. erm un bucket like..
Désolé
But the data is updated automagically.
:abloblamp:
(The fetch php is amended to my #M7350 so if you have a different you'd need to get your own
Re: https://infosec.exchange/@alcea/115791774641598327
#repost •acws #acws #CodeAlcea
Protip: Add a "?animate" or perhaps even a "speed=1" for extra #coolness :blobcatthinkingsmirk:
To commemorate this: -
Say hello to "The #Internetbucket"
My best invention yet :ablobcatrave:
- @dr_muesli
It Fills with Overuse instead of emptying
https://codepen.io/ryedai1/pen/NPrGXxK
Its still very .. erm un bucket like..
Désolé
But the data is updated automagically.
:abloblamp:
(The fetch php is amended to my #M7350 so if you have a different you'd need to get your own
Re: https://infosec.exchange/@alcea/115791774641598327
#repost •acws #acws #CodeAlcea
Protip: Add a "?animate" or perhaps even a "speed=1" for extra #coolness :blobcatthinkingsmirk:
To commemorate this: -
Say hello to "The #Internetbucket"
My best invention yet :ablobcatrave:
- @dr_muesli
It Fills with Overuse instead of emptying
https://codepen.io/ryedai1/pen/NPrGXxK
Its still very .. erm un bucket like..
Désolé
But the data is updated automagically.
:abloblamp:
(The fetch php is amended to my #M7350 so if you have a different you'd need to get your own
To commemorate this:
Re: https://infosec.exchange/@alcea/115791774641598327
#repost •acws #acws #CodeAlcea
Protip: Add a "?animate" or perhaps even a "speed=1" for extra #coolness :blobcatthinkingsmirk: -
And that is the story of how I got my #router to tell me its inner deepest #microSD secrets :ablobcatrave: :abloblamp:
#!/bin/bash
HOST="192.168.0.1"
# 1. Get Nonce
NONCE_RESPONSE=$(curl -s -X POST -d '{"module":"authenticator","action":0}' "http://$HOST/cgi-bin/auth_cgi")
NONCE=$(echo "$NONCE_RESPONSE" | sed -n 's/.*"nonce":[[:space:]]*"\([^"]*\)".*/\1/p')
# 2. Login
read -s -p "Enter Admin Password: " PASSWORD
echo >&2
DIGEST=$(echo -n "${PASSWORD}:${NONCE}" | md5sum | cut -d' ' -f1)
LOGIN_RESPONSE=$(curl -s -X POST -d "{\"module\":\"authenticator\",\"action\":1,\"digest\":\"$DIGEST\"}" "http://$HOST/cgi-bin/auth_cgi")
TOKEN=$(echo "$LOGIN_RESPONSE" | sed -n 's/.*"token":[[:space:]]*"\([^"]*\)".*/\1/p')
if [ -z "$TOKEN" ]; then echo "Login failed"; exit 1; fi
# 3. Fetch Status
FULL_DATA=$(curl -s -X POST \
-H "Cookie: tpweb_token=$TOKEN" \
-d "{\"token\":\"$TOKEN\",\"module\":\"status\",\"action\":0}" \
"http://$HOST/cgi-bin/web_cgi")
# 4. Parse with KB to GB Math (1024 * 1024)
echo "$FULL_DATA" | tr -d '"{}' | tr '\t' ' ' | tr ',' '\n' | awk -F: '
{ gsub(/^[ \t]+|[ \t]+$/, "", $1); gsub(/^[ \t]+|[ \t]+$/, "", $2); }
$1 == "model" { model=$2 }
$1 == "ipv4" { ip=$2 }
$1 == "voltage" { bat=$2 }
$1 == "status" { st=($2==1?"Ready":"Empty") }
# Logic: Values are in KB. Divide by 1048576 (1024*1024) to get GB.
$1 == "volume" { vol=$2/1048576 }
$1 == "used" { usd=$2/1048576 }
$1 == "left" { lft=$2/1048576 }
END {
printf "\n=== DEVICE: %s ===\n", model
printf "IP Address: %s\n", ip
printf "Battery: %s%%\n", bat
printf "---------------------------\n"
if (vol > 0) {
printf "SD Status: %s\n", st
printf "Total Size: %.2f GB\n", vol
printf "Used Space: %.2f GB (%.1f%%)\n", usd, (usd/vol)*100
printf "Free Space: %.2f GB\n", lft
} else {
print "SD Card: Not Found or Unmounted"
}
}
'
echo "Done."
read -n1 -r -p "Press any key to exit..."
And here I thought I would have to use ftp to fail my way to an answer
(But as the official apk had better info...
#Selenium ftw.
All it takes is running a recorder browser session and poking around in the right place on the webinterface. Wrote a #syslog viewer too while at it.
#CodeAlcea #m7350 #sdcard #tplink #Cea
#repost •acws #acws -
And that is the story of how I got my #router to tell me its inner deepest #microSD secrets :ablobcatrave: :abloblamp:
#!/bin/bash
HOST="192.168.0.1"
# 1. Get Nonce
NONCE_RESPONSE=$(curl -s -X POST -d '{"module":"authenticator","action":0}' "http://$HOST/cgi-bin/auth_cgi")
NONCE=$(echo "$NONCE_RESPONSE" | sed -n 's/.*"nonce":[[:space:]]*"\([^"]*\)".*/\1/p')
# 2. Login
read -s -p "Enter Admin Password: " PASSWORD
echo >&2
DIGEST=$(echo -n "${PASSWORD}:${NONCE}" | md5sum | cut -d' ' -f1)
LOGIN_RESPONSE=$(curl -s -X POST -d "{\"module\":\"authenticator\",\"action\":1,\"digest\":\"$DIGEST\"}" "http://$HOST/cgi-bin/auth_cgi")
TOKEN=$(echo "$LOGIN_RESPONSE" | sed -n 's/.*"token":[[:space:]]*"\([^"]*\)".*/\1/p')
if [ -z "$TOKEN" ]; then echo "Login failed"; exit 1; fi
# 3. Fetch Status
FULL_DATA=$(curl -s -X POST \
-H "Cookie: tpweb_token=$TOKEN" \
-d "{\"token\":\"$TOKEN\",\"module\":\"status\",\"action\":0}" \
"http://$HOST/cgi-bin/web_cgi")
# 4. Parse with KB to GB Math (1024 * 1024)
echo "$FULL_DATA" | tr -d '"{}' | tr '\t' ' ' | tr ',' '\n' | awk -F: '
{ gsub(/^[ \t]+|[ \t]+$/, "", $1); gsub(/^[ \t]+|[ \t]+$/, "", $2); }
$1 == "model" { model=$2 }
$1 == "ipv4" { ip=$2 }
$1 == "voltage" { bat=$2 }
$1 == "status" { st=($2==1?"Ready":"Empty") }
# Logic: Values are in KB. Divide by 1048576 (1024*1024) to get GB.
$1 == "volume" { vol=$2/1048576 }
$1 == "used" { usd=$2/1048576 }
$1 == "left" { lft=$2/1048576 }
END {
printf "\n=== DEVICE: %s ===\n", model
printf "IP Address: %s\n", ip
printf "Battery: %s%%\n", bat
printf "---------------------------\n"
if (vol > 0) {
printf "SD Status: %s\n", st
printf "Total Size: %.2f GB\n", vol
printf "Used Space: %.2f GB (%.1f%%)\n", usd, (usd/vol)*100
printf "Free Space: %.2f GB\n", lft
} else {
print "SD Card: Not Found or Unmounted"
}
}
'
echo "Done."
read -n1 -r -p "Press any key to exit..."
And here I thought I would have to use ftp to fail my way to an answer
(But as the official apk had better info...
#Selenium ftw.
All it takes is running a recorder browser session and poking around in the right place on the webinterface. Wrote a #syslog viewer too while at it.
#CodeAlcea #m7350 #sdcard #tplink #Cea
#repost •acws #acws -
"Lets add support for fetching a single #steam game and add it to our existing json it'll be easy"
clicky
Steam: :hacker_h: :hacker_a: :hacker_h: :hacker_a:You will bow before my #rules muahha
* no hashicon if you don't supply a #apikey #userid AND #own the game hahahahahah
* header icons from
imgSrc = `https://cdn.cloudflare.steamstatic.com/steam/apps/${game.appid}/header.jpg`;
} else {
imgSrc = `http://cdn.akamai.steamstatic.com/steam/apps/${game.appid}/header.jpg`;
}
?? We don't do that here..
tsk tsk tsk.
I added new hashes to my images so you have to fetch em at runtime poor mortal
Ah yes.
I'm having fun :blobcatfacepalm:
#repost •acws #acws #CodeAlcea -
"Lets add support for fetching a single #steam game and add it to our existing json it'll be easy"
clicky
Steam: :hacker_h: :hacker_a: :hacker_h: :hacker_a:You will bow before my #rules muahha
* no hashicon if you don't supply a #apikey #userid AND #own the game hahahahahah
* header icons from
imgSrc = `https://cdn.cloudflare.steamstatic.com/steam/apps/${game.appid}/header.jpg`;
} else {
imgSrc = `http://cdn.akamai.steamstatic.com/steam/apps/${game.appid}/header.jpg`;
}
?? We don't do that here..
tsk tsk tsk.
I added new hashes to my images so you have to fetch em at runtime poor mortal
Ah yes.
I'm having fun :blobcatfacepalm:
#repost •acws #acws #CodeAlcea -
Fine this should do *sigh*
Why was this so annyoing to make ... ?
So many copy errors, unresponsive progressbar and bla.
Bleh.
(And why can neither #Powershell not #cmd handle it well ? Even with Encoding enabled...)
https://codeberg.org/alceawisteria/AdbTools/src/branch/main/copytool
Added aprecompiled binary via #pyinstaller.
(Untested. I have no idea if it works...)
I can only tell if everything copied fine tomorrow, as the copy process is not super slow, but there are too many files...)
https://infosec.exchange/@alcea/115792254837781148
#CodeAlcea -
Fine this should do *sigh*
Why was this so annyoing to make ... ?
So many copy errors, unresponsive progressbar and bla.
Bleh.
(And why can neither #Powershell not #cmd handle it well ? Even with Encoding enabled...)
https://codeberg.org/alceawisteria/AdbTools/src/branch/main/copytool
Added aprecompiled binary via #pyinstaller.
(Untested. I have no idea if it works...)
I can only tell if everything copied fine tomorrow, as the copy process is not super slow, but there are too many files...)
https://infosec.exchange/@alcea/115792254837781148
#CodeAlcea -
As for "will there ever be a " #Python ~Cea" week"
?
You can answer that yourself.
I boot my #Laptop as little as I need to..
I just like #JS n #PHP more
:blobcatsnuggle:
https://ibb.co/LXqBbLw8
https://i.ibb.co/B57vdXDt/Does-Cea-Like-Python.jpg
#CodeAlcea
#repost •acws #acws -
when you are so done with #mastodon s #ui you write a tl renderer
https://alceawis.de/other/extra/fetchdata/2024-03-07-FediTools/2025-12-11-FediTLFetch/fetchtl.html?url=https%3A%2F%2Finfosec.exchange%2F&tl=local
#CodeAlcea
:ablobcatbongo:(For some #instances the local tl is weird..
and some even refuse to show trending)
#repost •acws #acws