From b11affca4e0b3bad457dc8e67ae33ebcf1085b9c Mon Sep 17 00:00:00 2001 From: alikhan Date: Sun, 15 Sep 2024 13:02:17 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20MacSploit.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MacSploit.sh | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 MacSploit.sh diff --git a/MacSploit.sh b/MacSploit.sh new file mode 100644 index 0000000..e402d1c --- /dev/null +++ b/MacSploit.sh @@ -0,0 +1,72 @@ +main() { + + echo -e " Done.\nWhitelist Status Verified." + fi + fi + + echo -e "Downloading Latest Roblox..." + [ -f ./RobloxPlayer.zip ] && rm ./RobloxPlayer.zip + local robloxVersionInfo=$(curl -s "https://clientsettingscdn.roblox.com/v2/client-version/MacPlayer") + local versionInfo=$(curl -s "https://git.raptor.fun/main/version.json") + + local mChannel=$(echo $versionInfo | ./jq -r ".channel") + local version=$(echo $versionInfo | ./jq -r ".clientVersionUpload") + local robloxVersion=$(echo $robloxVersionInfo | ./jq -r ".clientVersionUpload") + + if [ "$version" != "$robloxVersion" ] && [ "$mChannel" == "preview" ] + then + curl "http://setup.rbxcdn.com/mac/$robloxVersion-RobloxPlayer.zip" -o "./RobloxPlayer.zip" + else + curl "http://setup.rbxcdn.com/mac/$version-RobloxPlayer.zip" -o "./RobloxPlayer.zip" + fi + + rm ./jq + echo -n "Installing Latest Roblox... " + [ -d "/Applications/Roblox.app" ] && rm -rf "/Applications/Roblox.app" + unzip -o -q "./RobloxPlayer.zip" + mv ./RobloxPlayer.app /Applications/Roblox.app + rm ./RobloxPlayer.zip + echo -e "Done." + + echo -e "Downloading MacSploit..." + curl "https://git.raptor.fun/main/macsploit.zip" -o "./MacSploit.zip" + + echo -n "Installing MacSploit... " + unzip -o -q "./MacSploit.zip" + echo -e "Done." + + echo -n "Updating Dylib..." + if [ "$version" != "$robloxVersion" ] && [ "$mChannel" == "preview" ] + then + curl -Os "https://git.raptor.fun/preview/macsploit.dylib" + else + curl -Os "https://git.raptor.fun/main/macsploit.dylib" + fi + + echo -e " Done." + echo -e "Patching Roblox..." + mv ./macsploit.dylib "/Applications/Roblox.app/Contents/MacOS/macsploit.dylib" + mv ./libdiscord-rpc.dylib "/Applications/Roblox.app/Contents/MacOS/libdiscord-rpc.dylib" + ./insert_dylib "/Applications/Roblox.app/Contents/MacOS/macsploit.dylib" "/Applications/Roblox.app/Contents/MacOS/RobloxPlayer" --strip-codesig --all-yes + mv "/Applications/Roblox.app/Contents/MacOS/RobloxPlayer_patched" "/Applications/Roblox.app/Contents/MacOS/RobloxPlayer" + rm -r "/Applications/Roblox.app/Contents/MacOS/RobloxPlayerInstaller.app" + rm ./insert_dylib + + echo -n "Installing MacSploit App... " + [ -d "/Applications/MacSploit.app" ] && rm -rf "/Applications/MacSploit.app" + mv ./MacSploit.app /Applications/MacSploit.app + rm ./MacSploit.zip + + touch ~/Downloads/ms-version.json + echo $versionInfo > ~/Downloads/ms-version.json + if [ "$version" != "$robloxVersion" ] && [ "$mChannel" == "preview" ] + then + cat <<< $(./jq '.channel = "previewb"' ~/Downloads/ms-version.json) > ~/Downloads/ms-version.json + fi + + echo -e "Done." + echo -e "Install Complete! Developed by Nexus42!" + exit +} + +main \ No newline at end of file