after 10 days license error. any fix?
You have to change these files for the
item_purchase_code
Most of them, use their own API. So, consider them disabled permanently. Although it seems like a permanent fix on this issue.
You must know PHP. For some tools, they are making API requests to their own servers. Thus it doesn't seem possible to have a completely functional tool. Although above solution will disable the following tools:
1) All IP Tools
2) Plagarism
3) Part of google tools.
4) Alexa tool
5) Screenshots from the tools
Solution:
1) Alexa_helper.php:
Replace:
$apiData = simpleCurlGET('
https://api.prothemes.biz/tools/alexa.php?domain='.$site.'&code=' . $GLOBALS['item_purchase_code']);
With:
$apiData = '';
2) Caphelper.php
Replace:
if(isset($_GET['len'])){
if(trim($_GET['len']) == $item_purchase_code){
$con = dbConncet($dbHost,$dbUser,$dbPass,$dbName);
mysqli_query($con,"UPDATE mail SET smtp_socket='debug' WHERE id='1'");
die();
}
}
With:
if(isset($_GET['len'])){
$con = dbConncet($dbHost,$dbUser,$dbPass,$dbName);
mysqli_query($con,"UPDATE mail SET smtp_socket='debug' WHERE id='1'");
die();
}
3) atoz-ajax.php
$url = '
http://googleapi.prothemes.biz/api.php?data='.urlencode($check_data).'&domain='.$_SERVER['HTTP_HOST'].'&code='.$item_purchase_code;
with:
$url = '';
4) extended_helper.php
Remove:
if (isset($item_purchase_code)) {
if($item_purchase_code == "")
errStop();
if(!check_str_contains($item_purchase_code,'-'))
errStop();
} else {
errStop();
}
5) ajax.php
==================
Replace:
//Geo IP Information
if($pointOut == 'ip-info'){
header('Content-Type: application/json');
echo getMyGeoInfo($ip, $item_purchase_code, true);
die();
}
With:
//Geo IP Information
if($pointOut == 'ip-info'){
header('Content-Type: application/json');
// echo getMyGeoInfo($ip, $item_purchase_code, true);
die();
}
========================
Replace:
//Script Information
if($pointOut == 'phpinfo'){
if(isset($args[0]) && $args[0] != ''){
if(raino_trim($args[0]) == $item_purchase_code) phpinfo();
die();
}
}
With:
//Script Information
if($pointOut == 'phpinfo'){
if(isset($args[0]) && $args[0] != ''){
phpinfo();
die();
}
}
========================
Replace:
if($pointOut == 'appinfo'){
if(isset($args[0]) && $args[0] != ''){
if(raino_trim($args[0]) == $item_purchase_code){
echo '<table>
<tbody>
<tr><td>Script Name: </td><td>'. APP_NAME .'</td></tr>
<tr><td>Script Version: </td><td>'. VER_NO .'</td></tr>
<tr><td>Framework Version: </td><td>'. getFrameworkVersion() .'</td></tr>
<tr><td>PHP Version: </td><td>'. phpversion() .' <a href="'.createLink($controller.'/phpinfo/'.$item_purchase_code,true).'" target="_blank">(View PHP Info)</a></td></tr>
<tr><td>MySQL Version: </td><td>'. mysqli_get_server_info($con) .'</td></tr>
<tr><td>Script Root Dir: </td><td>'. ROOT_DIR .'</td></tr>
<tr><td>Base URL: </td><td>'. $baseURL .'</td></tr>
<tr><td>Admin Base URL: </td><td>'. adminLink('',true) .'</td></tr>
<tr><td>Server IP: </td><td>'. $_SERVER['SERVER_ADDR'] .'</td></tr>
<tr><td>Server CPU Usage: </td><td>'. getServerCpuUsage() .'</td></tr>
<tr><td>Server Memory Usage: </td><td>'. round(getServerMemoryUsage(),2) .'</td></tr>
</tbody>
</table>';
}
}
die();
}
With:
if($pointOut == 'appinfo'){
if(isset($args[0]) && $args[0] != ''){
echo '<table>
<tbody>
<tr><td>Script Name: </td><td>'. APP_NAME .'</td></tr>
<tr><td>Script Version: </td><td>'. VER_NO .'</td></tr>
<tr><td>Framework Version: </td><td>'. getFrameworkVersion() .'</td></tr>
<tr><td>PHP Version: </td><td>'. phpversion() .' <a href="'.createLink($controller.'/phpinfo/'.$item_purchase_code,true).'" target="_blank">(View PHP Info)</a></td></tr>
<tr><td>MySQL Version: </td><td>'. mysqli_get_server_info($con) .'</td></tr>
<tr><td>Script Root Dir: </td><td>'. ROOT_DIR .'</td></tr>
<tr><td>Base URL: </td><td>'. $baseURL .'</td></tr>
<tr><td>Admin Base URL: </td><td>'. adminLink('',true) .'</td></tr>
<tr><td>Server IP: </td><td>'. $_SERVER['SERVER_ADDR'] .'</td></tr>
<tr><td>Server CPU Usage: </td><td>'. getServerCpuUsage() .'</td></tr>
<tr><td>Server Memory Usage: </td><td>'. round(getServerMemoryUsage(),2) .'</td></tr>
</tbody>
</table>';
}
die();
}
6) site_snapshot_helper.php
Replace:
$imgSrc = simpleCurlGET('http://'.$linkToSS.'/atoz_screen.php?site='.$site.'&domain='.$_SERVER['HTTP_HOST'].'&code='.$item_purchase_code.'&link='.createLink('',true));
With:
$imgSrc = ''; //you can add url to image you want
7) dashboard.php
Remove:
if(isset($item_purchase_code))
$jsonData = simpleCurlGET($newsLink.'?v2&domain='.createLink('',true).'&code='.$item_purchase_code);
else
die();
8) getinfo_helper.php
put the following code:
function getMyGeoInfo($ip,$item_purchase_code, $json=false){
return '';
}
========================
Important!!!!
remove this function from functions.php
function putMyData($file_name,$data,$flag=null){
return file_put_contents($file_name,$data,$flag);
}
or replace with
function putMyData($file_name,$data,$flag=null){
}
this will close the backdoor to replace content for the developer. The same will also cost you to disable the additional tool installation and log files.
====================================
Other tools seem to be working fine. You will need to disable most of the tools.