Advertisement
ZernaxLeDozo

Untitled

Nov 19th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. function ShowUI() { var Visibility = document.getElementById('MountShit'); var DarkenBack = document.getElementById('DarkBack'); if(Visibility.style.visibility == "hidden") { Visibility.style.visibility = "visible"; DarkenBack.style.visibility = "visible"; } else { Visibility.style.visibility = "hidden"; DarkenBack.style.visibility = "hidden"; } } $(document.body).on("keydown", this, function (event) { if (event.keyCode == 117) { ShowUI(); } }); function Inject() { var StatusConsole = document.getElementById('StatusText'); StatusConsole.append('Authenticating...\n'); var Email = BdApi.getData('Platinbots', 'Username'); var Password = BdApi.getData('Platinbots', 'Password'); $.get("https://platinbots.xyz/API/Authenticate.php?E=" + Email + "&P=" + Password, function(ReturnedData) { if(ReturnedData == "69") { $.get("https://platinbots.xyz/API/Username.php?E=" + Email, function(UsernameReturned) { var Username = UsernameReturned; StatusConsole.append('Authenticated...\n'); StatusConsole.append('Loading css...\n'); $.get("https://platinbots.xyz/cdn/PlatinCss.php", function(CssData) { var CSS = document.createElement("style"); document.getElementsByTagName("head")[0].append(CSS); CSS.innerText = CssData; }); StatusConsole.append('Loaded css...\n'); StatusConsole.append('Loading javascript...\n'); $.get("https://platinbots.xyz/cdn/PlatinJS.php", function(JSData) { var script = document.createElement("script"); document.getElementsByTagName("head")[0].append(script); script.innerText = JSData; }); StatusConsole.append('Loaded javascript...\n'); StatusConsole.append('Loading HTML...\n'); StatusConsole.append('Loaded HTML...\n'); StatusConsole.append('Welcome back ' + Username + "\nClosing injector in 2 seconds!"); setTimeout(function () { document.getElementById('InjectorID').remove(); $.get("https://platinbots.xyz/BetaTest/?Name=" + Username, function(HTMLData) { document.getElementById('MountShit').innerHTML += HTMLData; }); }, 2000); }); } else if(ReturnedData == "1") { StatusConsole.append('Your account does not have a payed membership :C\nClosing injector in 5 seconds!'); setTimeout(function () { document.getElementById('InjectorID').remove(); }, 5000); } else { StatusConsole.append('Your account could not be found :C\nGoto the plugin settings and enter/edit your credentials\nClosing injector in 5 seconds!'); setTimeout(function () { document.getElementById('InjectorID').remove(); }, 5000); } }); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement