Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
RishiRecon
GitHub Repository: RishiRecon/exploits
Path: blob/main/js/script.js
27877 views
1
console.warn(
2
"%cNote!",
3
"color: purple; font-weight: 600; background: yellow; padding: 0 5px; border-radius: 5px",
4
"If you want to add 3kh0s games to your site, please reach out at his email: [email protected]\nPlease do not just add them without asking him first! Thank you!"
5
);
6
7
function script(text) {
8
console.log(
9
"%cScript Injection",
10
"color: cyan; font-weight: 600; background: black; padding: 0 5px; border-radius: 5px",
11
text
12
);
13
}
14
15
// ====================================
16
// SCRIPT INJECTION
17
// ====================================
18
19
var gaenabled = window.localStorage.getItem("ga");
20
if (gaenabled == "false") {
21
script("Skipped GA injection because it is disabled by the user.");
22
} else {
23
const gascript = document.createElement("script");
24
gascript.setAttribute("async", "");
25
gascript.setAttribute(
26
"src",
27
"https://www.googletagmanager.com/gtag/js?id=G-N0LG27M8L8"
28
);
29
const inlinegascript = document.createElement("script");
30
inlinegascript.innerHTML = `window.dataLayer = window.dataLayer || [];
31
function gtag(){dataLayer.push(arguments);}
32
gtag('js', new Date());
33
gtag('config', 'G-N0LG27M8L8');`;
34
document.head.append(gascript, inlinegascript);
35
script("Injected script 1/2");
36
}
37
38
const arc = document.createElement("script");
39
arc.setAttribute("async", "");
40
arc.setAttribute("src", "https://arc.io/widget.min.js#sdad");
41
document.head.append(arc);
42
script("Injected script 2/2");
43
44
function cheatNetwork1() {
45
var win = window.open();
46
var url = "https://cheatnetwork.eu/";
47
var iframe = win.document.createElement("iframe");
48
iframe.style.width = "100% ";
49
iframe.style.height = "100%";
50
iframe.style.position = "fixed";
51
iframe.style.top = "0";
52
iframe.style.bottom = "0";
53
iframe.style.left = "0";
54
iframe.style.left = "0";
55
iframe.style.border = "none";
56
iframe.style.backgroundcolor = "black";
57
iframe.src = url;
58
win.document.body.appendChild(iframe);
59
}
60
61
async function registerSW() {
62
if ("serviceWorker" in navigator) {
63
try {
64
await navigator.serviceWorker.register("./sw.js");
65
} catch (e) {
66
console.log(`SW registration failed`);
67
}
68
}
69
}
70
71