From 583e7eafc91048b6975acb176abcd53c863ee79a Mon Sep 17 00:00:00 2001 From: BungaaFACE Date: Fri, 16 Aug 2024 01:44:33 +0300 Subject: [PATCH 1/2] 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" From 0a5a03ce69886ec6c5f85c3dde807e7806525945 Mon Sep 17 00:00:00 2001 From: Vladislav Kachura Date: Sat, 17 Aug 2024 00:24:23 +0300 Subject: [PATCH 2/2] Update repack.sh --- repack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repack.sh b/repack.sh index f529b6f..7f0118a 100755 --- a/repack.sh +++ b/repack.sh @@ -71,7 +71,7 @@ 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/case a.t.MACOS:e=\"uz0zSpaYCLmgk6C7YLdo5F\"/case a.t.LINUX:e=\"kzqU4XhfCaY6B6JTHODeq5\"/g" "$file" + sed -i "s/a.t.WINDOWS/a.t.LINUX/g" "$file" sed -i "s/B.LINUX/B.WINDOWS/g" "$file" done echo "OS spoofed"