<?php include "./API.php"; protectFile("download.php", "", __LINE__); if (!isset($_GET['f'])) { echo writeError(9098, loadString("download_no_get")); die; } if (!file_exists($API['root'] . "uploads/" . $_GET['f'])) { echo writeError(9097, loadString("download_no_exist")); die; } $f = array("filename" => $_GET['f'], "extention" => strtolower(substr(strrchr($_GET['f'], "."), 1)), "basename" => basename($_GET['f']), "filesize" => filesize($_GET['f']), "mimetype" => mime_content_type($API['root'] . "uploads/" . $_GET['f']), "full" => $API['root'] . "uploads/" . $_GET['f']); header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private", false); header("Content-Type: " . $f['mimetype'] . ""); header("Content-Disposition: attachment; filename=\"" . $f['basename'] . "\";"); header("Content-Transfer-Encoding: binary"); header("Content-Length: " . $f['filesize']); readfile($f['full']);
<?php include "./API.php"; protectFile("phpinfo.php", "phpinfo"); phpinfo();
<?php // Include the API system include "./API.php"; protectFile("password.php", "", __LINE__); if (isset($_POST['pass'])) { $pass = newPassword($_POST['pass']); echo "Encrypted: " . $pass[0] . "<br />" . "Salt: " . $pass[1] . "<br />" . "Original: " . $pass[2]; } else { echo "<form action=\"\" method=\"post\">Password: <input name=\"pass\" type=\"password\"><input type=\"submit\" value=\"Submit!\"></form>"; }
<?php include "./API.php"; protectFile("lang.php", "lang", __LINE__); printStrings();
} $error .= parseString(" in {$file}."); if (empty($key)) { $error .= parseString("<br />" . loadString("file_no_accesskey")); } echo writeError(9099, $error); die; } } // Loads a configuration string from the config.xml file // echo loadConfig("FRAMEWORK")."<br />"; // Loads a string from the default language xml file. // echo parseString(loadString("muted_warning")); // Creates a new random $length digit string. // echo newRandom(4); // Prints out all the strings from the default language xml file. // echo printStrings(); // Creates a new password. // $pass = newPassword("4eTudu--ac4"); // Reads the password and sorts them into the Encrypted/Salt/Original. // echo "Encrypted: ".$pass[0]."<br />Salt: ".$pass[1]. "<br />Original: ".$pass[2]; // Starts the mysql link. // if(!startConnection()) { // die(); // } // Converts a string to a string that is replaced with a given character. // echo strToChar("123", "*"); // PHP Info // phpinfo(); protectFile("API.php", "", __LINE__);