From 859efab6b7556d7813fd8f0ec9ea1840fd57fe30 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 15 Dec 2025 16:52:53 +0100 Subject: [PATCH] feat(upfast): ban payloads that make use of my website. --- modules/servers/odin/upfast-cleaner.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/servers/odin/upfast-cleaner.sh b/modules/servers/odin/upfast-cleaner.sh index 2d91db1..79f19be 100755 --- a/modules/servers/odin/upfast-cleaner.sh +++ b/modules/servers/odin/upfast-cleaner.sh @@ -20,6 +20,16 @@ if echo "$files" | grep -i ".php" >> /dev/null; then done fi +# Delete all shell scripts that make direct mention of my upfast instance +if echo "$files" | grep -i ".sh" >> /dev/null; then + for file in $(echo "$files" | grep -i ".sh"); do + if curl -s "$instance/files/$file" | grep -i "upfast.cronyakatsuki.xyz/files" >> /dev/null; then + echo "Found payload, deleting file $file" + curl -X DELETE "$instance/files/$file" + fi + done +fi + # Delete kernel object files if echo "$files" | grep -iE ".*.ko" >> /dev/null; then for file in $(echo "$files" | grep -iE ".*.ko"); do