CRACK: elementor licenses
This commit is contained in:
@@ -17,30 +17,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||||||
exit; // Exit if accessed directly.
|
exit; // Exit if accessed directly.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (get_option('_elementor_pro_license_data')) {
|
||||||
|
delete_option('_elementor_pro_license_data');
|
||||||
|
}
|
||||||
|
|
||||||
// Partials
|
update_option("elementor_pro_license_key", 'activated');
|
||||||
$_s1 = "wordp";
|
update_option("_elementor_pro_license_v2_data", ['timeout' => strtotime('+12 hours', current_time('timestamp')), 'value' => json_encode([
|
||||||
$_s2 = "ressn";
|
|
||||||
$_s3 = "ull";
|
|
||||||
$_w_domain = $_s1 . $_s2 . $_s3;
|
|
||||||
|
|
||||||
// Internal map
|
|
||||||
$m = [
|
|
||||||
'u' => 'up' . 'date' . '_opt' . 'ion',
|
|
||||||
'd' => 'del' . 'ete' . '_opt' . 'ion',
|
|
||||||
'a' => 'ad' . 'd_fi' . 'lter',
|
|
||||||
'h' => "\x70\x72\x65\x5f\x68\x74\x74\x70\x5f\x72\x65\x71\x75\x65\x73\x74" // phr
|
|
||||||
];
|
|
||||||
|
|
||||||
$_config = (object) [
|
|
||||||
"name" => "elementor",
|
|
||||||
"pro" => "_pro_",
|
|
||||||
"wpn" => $_w_domain,
|
|
||||||
"timeout" => strtotime('+12 hours', current_time('timestamp'))
|
|
||||||
];
|
|
||||||
|
|
||||||
// Payload
|
|
||||||
$_config->cloud_response = [
|
|
||||||
'success' => true,
|
'success' => true,
|
||||||
'license' => 'valid',
|
'license' => 'valid',
|
||||||
'status' => 'valid',
|
'status' => 'valid',
|
||||||
@@ -55,21 +37,9 @@ $_config->cloud_response = [
|
|||||||
'form-submissions','akismet','activity-log','cf7db','transitions','size-variable',
|
'form-submissions','akismet','activity-log','cf7db','transitions','size-variable',
|
||||||
'notes','atomic-custom-css'
|
'notes','atomic-custom-css'
|
||||||
]
|
]
|
||||||
];
|
])]);
|
||||||
|
|
||||||
$_config->lic_response = $_config->cloud_response;
|
add_filter("elementor/connect/additional-connect-info", '__return_empty_array', 999);
|
||||||
$_config->lic_data = ['timeout' => $_config->timeout, 'value' => json_encode($_config->lic_response)];
|
|
||||||
|
|
||||||
// Sync data
|
|
||||||
$_opt_id = '_' . $_config->name . $_config->pro . 'license_data';
|
|
||||||
if (get_option($_opt_id)) {
|
|
||||||
$m['d']($_opt_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
$m['u']("{$_config->name}{$_config->pro}license_key", 'activated');
|
|
||||||
$m['u']("_{$_config->name}{$_config->pro}license_v2_data", $_config->lic_data);
|
|
||||||
|
|
||||||
add_filter("{$_config->name}/connect/additional-connect-info", '__return_empty_array', 999);
|
|
||||||
|
|
||||||
// UI Fix
|
// UI Fix
|
||||||
add_action('admin_enqueue_scripts', function () {
|
add_action('admin_enqueue_scripts', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user