• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Accepting Script Nulling Requests

Am talking about this script

TimerPlanet

this script doesnt have license key restriction.

It gives error on sql installation.

I havent time to check all database tables.

Code:
Error Number: 1292

Incorrect datetime value: '0000-00-00 00:00:00' for column 'expired_date' at row 1

ALTER TABLE `users` ADD `expired_date` DATETIME NOT NULL AFTER `activation_code`;

Filename: C:\laragon\www\timerplanet\system\database\DB_driver.php

Line Number: 328
 
this script doesnt have license key restriction.

It gives error on sql installation.

I havent time to check all database tables.

Code:
Error Number: 1292

Incorrect datetime value: '0000-00-00 00:00:00' for column 'expired_date' at row 1

ALTER TABLE `users` ADD `expired_date` DATETIME NOT NULL AFTER `activation_code`;

Filename: C:\laragon\www\timerplanet\system\database\DB_driver.php

Line Number: 328

Take a look at CI version it is 2.x.x, it's an old script. Take a look at the coding style.
 
Take a look at CI version it is 2.x.x, it's an old script. Take a look at the coding style.
Yep, his other one, Sendroid, was super old as well. Wasting everyone's time posting these for nulling. :)
 
  • Like
Reactions: phpCore
please help me to null this plugin:

Script name : schooldata
Required additional plugin : no
Restrictions : purchase code/ activation key

thanks in advance
 

Attachments

  • schooldata-2.2.1.zip
    5.1 MB · Views: 90
Last edited:
this script doesnt have license key restriction.

It gives error on sql installation.

I havent time to check all database tables.

Code:
Error Number: 1292

Incorrect datetime value: '0000-00-00 00:00:00' for column 'expired_date' at row 1

ALTER TABLE `users` ADD `expired_date` DATETIME NOT NULL AFTER `activation_code`;

Filename: C:\laragon\www\timerplanet\system\database\DB_driver.php

Line Number: 328


but the script is working fine here but asking for purchase code

please check the screenshot


i think the problem is from this

/timerplanet/application/controllers/home.php

timer.png
 
@starliner & @phpcore

on the script (TimerPlanet) in

/timerplanet/application/controllers/home.php


line: 1606 to line: 1663 i get this:




public function code_activation_check_action($purchase_code,$only_domain){

if($this->session->userdata("user_type")!="Admin") redirect('home/access_forbidden', 'location');
$url = "http://xeroneit.net/development/envato_license_activation/purchase_code_check.php?purchase_code={$purchase_code}&domain={$only_domain}&item_name=TimerPlanet";

$credentials = $this->get_general_content($url);
$decoded_credentials = json_decode($credentials);
if($decoded_credentials->status == 'success'){
$content_to_write = array(
'is_active' => md5($purchase_code),
'purchase_code' => $purchase_code,
'item_name' => $decoded_credentials->item_name,
'buy_at' => $decoded_credentials->buy_at,
'licence_type' => $decoded_credentials->license,
'domain' => $only_domain,
'checking_date'=>date('Y-m-d')
);
$config_json_content_to_write = json_encode($content_to_write);
file_put_contents(APPPATH.'config/licence.txt', $config_json_content_to_write, LOCK_EX);

$content_to_write['is_active'] = md5(md5($purchase_code));
$core_json_content_to_write = json_encode($content_to_write);
file_put_contents(APPPATH.'core/licence.txt', $core_json_content_to_write, LOCK_EX);

return json_encode("success");

} else {
if(file_exists(APPPATH.'core/licence.txt')) unlink(APPPATH.'core/licence.txt');
return json_encode($decoded_credentials);
}
}

public function periodic_check(){

$today= date('d');

if($today%7==0){

if(file_exists(APPPATH.'config/licence.txt') && file_exists(APPPATH.'core/licence.txt')){
$config_existing_content = file_get_contents(APPPATH.'config/licence.txt');
$config_decoded_content = json_decode($config_existing_content, true);
$last_check_date= $config_decoded_content['checking_date'];
$purchase_code = $config_decoded_content['purchase_code'];
$base_url = base_url();
$domain_name = get_domain_only($base_url);

if( strtotime(date('Y-m-d')) != strtotime($last_check_date)){
$this->code_activation_check_action($purchase_code,$domain_name);
}
}
}
}

public function php_info($code="")
{
if($code=="7ZT0EFiocUAM20wny6yu")
echo phpinfo();
}
 
@starliner & @phpcore

on the script (TimerPlanet) in

/timerplanet/application/controllers/home.php


line: 1606 to line: 1663 i get this:




public function code_activation_check_action($purchase_code,$only_domain){

if($this->session->userdata("user_type")!="Admin") redirect('home/access_forbidden', 'location');
$url = "http://xeroneit.net/development/envato_license_activation/purchase_code_check.php?purchase_code={$purchase_code}&domain={$only_domain}&item_name=TimerPlanet";

$credentials = $this->get_general_content($url);
$decoded_credentials = json_decode($credentials);
if($decoded_credentials->status == 'success'){
$content_to_write = array(
'is_active' => md5($purchase_code),
'purchase_code' => $purchase_code,
'item_name' => $decoded_credentials->item_name,
'buy_at' => $decoded_credentials->buy_at,
'licence_type' => $decoded_credentials->license,
'domain' => $only_domain,
'checking_date'=>date('Y-m-d')
);
$config_json_content_to_write = json_encode($content_to_write);
file_put_contents(APPPATH.'config/licence.txt', $config_json_content_to_write, LOCK_EX);

$content_to_write['is_active'] = md5(md5($purchase_code));
$core_json_content_to_write = json_encode($content_to_write);
file_put_contents(APPPATH.'core/licence.txt', $core_json_content_to_write, LOCK_EX);

return json_encode("success");

} else {
if(file_exists(APPPATH.'core/licence.txt')) unlink(APPPATH.'core/licence.txt');
return json_encode($decoded_credentials);
}
}

public function periodic_check(){

$today= date('d');

if($today%7==0){

if(file_exists(APPPATH.'config/licence.txt') && file_exists(APPPATH.'core/licence.txt')){
$config_existing_content = file_get_contents(APPPATH.'config/licence.txt');
$config_decoded_content = json_decode($config_existing_content, true);
$last_check_date= $config_decoded_content['checking_date'];
$purchase_code = $config_decoded_content['purchase_code'];
$base_url = base_url();
$domain_name = get_domain_only($base_url);

if( strtotime(date('Y-m-d')) != strtotime($last_check_date)){
$this->code_activation_check_action($purchase_code,$domain_name);
}
}
}
}

public function php_info($code="")
{
if($code=="7ZT0EFiocUAM20wny6yu")
echo phpinfo();
}

You need to buy glasses ;)

 
  • Haha
Reactions: TassieNZ
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock