Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Decode by romansote
- * Powered by zmuserver.com | Hosting | Vps | Servidores mu online.
- * Skype: Romansote8@outlook.es
- *********************************************************************************
- * Instrucciones de uso
- *********************************************************************************
- *1.- Crear un archivo license.class.php
- *2.- guardarlo en la carpeta system, debe reemplazar al antiguo license.class.php
- **********************************************************************************
- * Si requieres un hosting para este sistema web visita https://zmuserver.com
- *
- **/
- class license
- {
- public $errors = array();
- private $api_url = '';
- private $endpoint = 'activate';
- private $host = 'dmncms.net';
- private $debug = 0;
- private $request_value = array();
- public $response = false;
- public $validation_error;
- private $license_key_file = 'license.txt';
- private $license_data = array();
- private $new_license_data;
- private $iv_size;
- private $validated = false;
- private $securekey;
- private $local_license_data = array();
- public $secret;
- public $access_details = array();
- public $activation_faults = array(101 => 'The key or email provided does not exist.', 102 => 'The key provided is has been deactivated.', 103 => 'The purchase the key is associated with has been cancelled.', 104 => 'The purchase the key is associated with has expired.', 201 => 'The key has already been activated the maximum number of times and cannot be activated again. Please contact support <a href="http://dmncms.net/support/create/" target="_blank">here</a>.', 202 => 'setEmail was TRUE, but the key already has an email.', 203 => 'The email provided was incorrect.');
- private $check_faults = array(0 => 'Bad request.', 101 => 'The key or email provided does not exist.', 301 => 'The email provided was incorrect.', 302 => 'You did not provide a usage ID.', 303 => 'The usage ID provided was invalid.', 304 => 'The request was received by a different IP address to the IP address that sent the "activate" API call.', 305 => 'The local license key is invalid for this domain.', 306 => 'The local license key is invalid for this directory');
- private $user_agent = 'ApiQuery-Bot v1.0';
- private $_response;
- private $line;
- /**
- * [__construct description]
- */
- public function __construct(){
- }
- /**
- * [check_license description]
- * @return [type] [description]
- */
- protected function check_license() {
- return true;
- }
- /**
- * [validate description]
- * @return [type] [description]
- */
- protected function validate(){
- return true;
- }
- /**
- * [check_response description]
- * @return [type] [description]
- */
- protected function check_response(){
- return true;
- }
- /**
- * [activation_form description]
- * @return [type] [description]
- */
- protected function activation_form() {
- return true;
- }
- /**
- * [validate_form description]
- * @return [type] [description]
- */
- public function validate_form() {
- return true;
- }
- protected function _check_license(){
- return true;
- }
- public function check_activation_response() {
- return $this->_check_license();
- }
- public function generate_license_data($version = '') {
- return true;
- }
- public function check_license_file($version = false) {
- return true;
- }
- public function create_license_file($version = false, $return = false) {
- return true;
- }
- public function read_license($version = false) {
- return true;
- }
- public function write_license() {
- return true;
- }
- private function clear_license_cache() {
- }
- protected function get_cms_version() {
- return 'zmuserver.com';
- }
- public function activate_license() {
- return true;
- }
- public function check_license_data($licensekey, $identifier, $usage_id) {
- return true;
- }
- private function update_license_extra($licensekey, $identifier, $usage_id) {
- return true;
- }
- protected function check_local_license($data = false) {
- return false;
- }
- protected function get_local_license_data($data = false) {
- return $this->local_license_data;
- }
- public function request_license_data($license_key, $identifier) {
- }
- public function release_license() {
- return false;
- }
- private function generate_iv($secret = true) {
- }
- private function set_secret() {
- }
- private function decrypt() {
- }
- private function encrypt($input) {
- }
- public function send_request() {
- }
- public function send_curl() {
- }
- private function create_curl_request() {
- return true;
- }
- private function clean_json($data) {
- }
- private function valid_md5_hash($md5 = '') {
- }
- private function valid_email($email = '') {
- }
- private function full_domain() {
- }
- public function access_details() {
- }
- public function check_dmn_host() {
- }
- private function scrape_phpinfo($all, $target) {
- return true;
- }
- private function add_cron_task($task, $time) {
- }
- public function activation_form_html() {
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement