From 583e7eafc91048b6975acb176abcd53c863ee79a Mon Sep 17 00:00:00 2001 From: BungaaFACE Date: Fri, 16 Aug 2024 01:44:33 +0300 Subject: [PATCH] fix: fixed OS spoof for getting secretKey function --- repack.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repack.sh b/repack.sh index f0d80d3..f529b6f 100755 --- a/repack.sh +++ b/repack.sh @@ -71,9 +71,10 @@ echo "Fixing SecretKey" echo "Spoofing OS" find "./" -type f \( -name "*.js" -o -name "*.js.map" \) -print0 | while IFS= read -r -d $'\0' file; do # Use 'sed' to perform the replacement in-place - sed -i "s/secretKey:this.secretKey/secretKey:'superSecretKey'/g" "$file" + sed -i "s/case a.t.MACOS:e=\"uz0zSpaYCLmgk6C7YLdo5F\"/case a.t.LINUX:e=\"kzqU4XhfCaY6B6JTHODeq5\"/g" "$file" sed -i "s/B.LINUX/B.WINDOWS/g" "$file" done +echo "OS spoofed" # fixing titile echo "Fixing Title"