HEX
Server: Apache/2.4.67 (Debian)
System: Linux hosting103 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User: muzikaecom (1013)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/local/share/hostingplatform/api_authentication.inc.php
<?php
class HostingPlatformAuthentication {
    public static function checkLogin($username, $password) {
        $htpasswd = @file_get_contents(
            "/etc/apache2-hostingplatform-api/htpasswd");

        $lines = explode("\n", $htpasswd);
        foreach($lines as $line) {
            $parts = explode(":", $line);
            if($parts[0] == $username) {
                if(password_verify($password, $parts[1])) {
                    return true;
                }
                else {
                    break;
                }
            }
        }

        // Sleep to annoy brute forcers...
        sleep(3);
        return false;
    }
}
?>