Best Blackhat Forum

Full Version: [GET] ReHub Wordpress Theme v7.0.7. Purchase Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d

Download Theme: http://www118.zippyshare.com/v/y3kEnivj/file.html
Thank for the latest version.
Great share, but what's the catch?!
Thanks Perfect 10
good jobs @stephfd21. Thanks for share.
it is nulled version from jojotheme
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d

for what?
(10-10-2017 01:27 PM)greghani Wrote: [ -> ]it is nulled version from jojotheme
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d

for what?

With clean version, you can use that info to activate and install plugin and demo.
But, i think this will got block soon!
PS: Thanks OP for great share!
Perfect 10
amazing.... thanks advance dude... ++Reps Added
(10-10-2017 07:20 AM)ilikeseggs Wrote: [ -> ]Great share, but what's the catch?!

the catch is that I don't know how long the code will last until it gets blocked from too many users. When that happens, I'll post a new code

(10-10-2017 01:27 PM)greghani Wrote: [ -> ]it is nulled version from jojotheme
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d

for what?

You can't install the demo content without a username and purchase code
NULL IT BY YOURSELF


After altering the code activate theme with any key (for example 'abc123'). Installation of plug-ins will become available after activation.

FILE rehub/admin/rehub.php


THIS CODE

function rehub_update_registration() {

global $wp_version;

$rehub_options = get_option( 'Rehub_Key' );
$data = $_POST;
$tf_username = isset( $data['tf_username'] ) ? $data['tf_username'] : '';
$tf_purchase_code = isset( $data['tf_purchase_code'] ) ? $data['tf_purchase_code'] : '';

if ( '' !== $tf_username and& '' !== $tf_purchase_code ) {

$rehub_options['tf_username'] = $tf_username;
$tf_purchase_code = strtolower(preg_replace('#([a-z0-9]{8})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{12})#','$1-$2-$3-$4-$5',$tf_purchase_code));
$rehub_options['tf_purchase_code'] = $tf_purchase_code;

$prepare_request = array(
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
'sslverify' => false,
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer saqMlpb8QSyFGYNjNxgmWzdwqkTUMbFl',
)
);

$raw_response = wp_remote_get( 'https://api.envato.com/v3/market/author/sale?code=' . $tf_purchase_code, $prepare_request );

if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}

if ( ! empty( $response ) ) {

if ( ( isset( $response['error'] ) ) || ( isset( $response['buyer'] ) and& empty( $response['buyer'] ) ) ) {
echo 'Error';
} elseif ( isset( $response['buyer'] ) and& ! empty( $response['buyer'] ) ) {
if ($response['buyer'] == $tf_username) {
if (!empty ($response['supported_until'])) {
$rehub_options['tf_support_date'] = $response['supported_until'];
}
$result = update_option( 'Rehub_Key', $rehub_options );
echo 'Updated';
}
else {
echo 'Errorbuyer';
}

}

} else {

echo 'Error';

}

} else {
echo 'Empty';
}

die();

}




REPLACE WITH THIS



function rehub_update_registration() {

global $wp_version;

$rehub_options = get_option( 'Rehub_Key' );
$data = $_POST;
$tf_username = isset( $data['tf_username'] ) ? $data['tf_username'] : '';
$tf_purchase_code = isset( $data['tf_purchase_code'] ) ? $data['tf_purchase_code'] : '';

if ( '' !== $tf_username and& '' !== $tf_purchase_code ) {

$rehub_options['tf_username'] = $tf_username;
$tf_purchase_code = strtolower(preg_replace('#([a-z0-9]{8})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{12})#','$1-$2-$3-$4-$5',$tf_purchase_code));
$rehub_options['tf_purchase_code'] = $tf_purchase_code;

$prepare_request = array(
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
'sslverify' => false,
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer saqMlpb8QSyFGYNjNxgmWzdwqkTUMbFl',
)
);

$raw_response = wp_remote_get( 'https://api.envato.com/v3/market/author/sale?code=' . $tf_purchase_code, $prepare_request );

if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}

$tf_username = 'ganjaparker';
$response['buyer'] = 'ganjaparker';
$response['supported_until'] = '01.01.2020';
unset( $response['error'] );

if ( ! empty( $response ) ) {

if ( ( isset( $response['error'] ) ) || ( isset( $response['buyer'] ) and& empty( $response['buyer'] ) ) ) {
echo 'Error';
} elseif ( isset( $response['buyer'] ) and& ! empty( $response['buyer'] ) ) {
if ($response['buyer'] == $tf_username) {
if (!empty ($response['supported_until'])) {
$rehub_options['tf_support_date'] = $response['supported_until'];
}
$result = update_option( 'Rehub_Key', $rehub_options );
echo 'Updated';
}
else {
echo 'Errorbuyer';
}

}

} else {

echo 'Error';

}

} else {
echo 'Empty';
}

die();

}
Pages: 1 2
Reference URL's