Advertisement
Anonymouse10101

Tester 1

May 30th, 2021
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. "792ddbcb-0776-449d-9fc9-15be559fdd82", /* ExoMeme */ "hwid" => "931d802f36f3eaf91c5facc0ac2c8ee9fc59c0ecab7e28a9f5f2c85f98c8b24f95b5be5de3a7c4e2d7cabf728e4e394681d4c5745cb1decae4b7f2a4455edcb7" ), array( "key" => "2ad34a21-756f-43f5-95da-c082f38f01f6", /* Sniper mann */ "hwid" => "10c595e06f3370efa119c30a14fcfc956f9209374a34ce423afde060564fd25156b1e7c0b448673c773ba762221665fbe21907fcec1785941b6726e25a185672" ), array( "key" => "WetCheezit", /* Cheesie */ "hwid" => "bafb250c5558273be66b597ee40d145e231087ed3a628e179552dafd56c313f11402f43cf5def7e5c372e60aaebd331e845403bc1b90af811481cbbb899bab6d" ), array( "key" => "CumCraverv2", /* Juice */ "hwid" => "c5cb1d978d879d96a2d6b2519fd5b2217a40b2c0ebf6d5fffbfc8ca18b70378e5a390ab7d59d7a56f82d9c8ac2f66614f1f9e40cb6cc4a6e959ce84103140224" ), array( "key" => "NiggerP100", /* Dominoes */ "hwid" => "f6a30c1e13a904fd94eb0ca50976a1c3f76b1b1d4cbff45aa1efef01c03142c4ae000ddbcc46a73f68e97d434f3f149fe85a80780b6654e38d0fa5e2ede19ace" ), ); function fetch_hwid($headers) { global $hwidTypes; $hwid = NULL; $count = 0; foreach($hwidTypes as $key => $header) { if (isset($headers[$header])) { $count = $count + 1; $hwid = $headers[$header]; }; } if ($count > 1) { /* prevent people from setting multiple of the headers to bypass checks :) */ /* does this work?? */ $hwid = NULL; } return $hwid; } if (isset($_GET["key"])) { $hwid = fetch_hwid(getallheaders()); if (!is_null($hwid)) { $didUserPass = FALSE; $errorMsg = "authentication failed"; $key = $_GET["key"]; foreach($database as $_ => $user) { $stored_key = $user["key"]; $stored_hwid = $user["hwid"]; $key_matches = ($stored_key == $key); $hwid_matches = ($stored_hwid == $hwid); if ($key_matches and $hwid_matches) { $didUserPass = TRUE; /* hey, they are whitelisted! give them the correct response */ echo(hash("sha256", $stored_key)); } elseif ($key_matches and !$hwid_matches) { /* hey, why does their hardware id not match but key does? NO SHARING ALLOWED!*/ $errorMsg = "hwid mismatch"; } } if (!$didUserPass) { echo($errorMsg); }; } else { die("no hwid supplied"); } } else { die("invalid key"); } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement