Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $bonekeyfile = "/var/www/bonebadge2019/bonekey.txt";
- $fp1 = fopen($bonekeyfile, "r");
- $bonekey = fread($fp1, filesize($bonekeyfile));
- fclose($fp1);
- if (!$bonekey) {
- $newKey = substr(md5(time()), 0, 6);
- setcookie('bonebadge2019', $newKey, 0);
- $data = "ACTIVATION KEY: " . $newKey . "\n\n";
- $data .= "HTTP HEADERS:\n";
- $data .= print_r($_SERVER, true);
- $fp = fopen($bonekeyfile, "w");
- fwrite($fp, $data);
- fclose($fp);
- $code = $newKey;
- } elseif ($_COOKIE['bonebadge2019']) {
- $code = $_COOKIE['bonebadge2019'];
- } else {
- echo "Sorry, the secret has already been uncovered by someone else.<br>";
- }
- if ($code) {
- echo "Congratulations for discovering the secret. You're the only one who's able to see this!<br>";
- echo "Please contact Drano The Cat on Telegram and give him this code: <b>$code</b><br>";
- echo "Telegram link: <a href=\"https://t.me/DranoTheCat\">https://t.me/DranoTheCat</a><br>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement