• 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"

66SocialProofo - Social Proof & FOMO Widgets Notifications (SAAS)

66SocialProofo - Social Proof & FOMO Widgets Notifications (SAAS) Update 35.0.0

No permission to download
The database is created incomplete, the creation of discount codes still does not work,
 
Just change install.php and its nulled

PHP:
<?php
define('ROOT', realpath(__DIR__ . '/..') . '/');
require_once ROOT . 'vendor/autoload.php';
require_once ROOT . 'app/includes/product.php';


/* Make sure the product wasn't already installed */
if(file_exists(ROOT . 'install/installed')) {
    die();
}


/* Make sure all the required fields are present */
$required_fields = ['license_key', 'database_host', 'database_name', 'database_username', 'database_password', 'installation_url'];


foreach($required_fields as $field) {
    if(!isset($_POST[$field])) {
        die(json_encode([
            'status' => 'error',
            'message' => 'One of the required fields are missing.'
        ]));
    }
}


foreach(['database_host', 'database_name', 'database_username', 'database_password'] as $key) {
    $_POST[$key] = str_replace('\'', '\\\'', $_POST[$key]);
}


/* Make sure the database details are correct */
mysqli_report(MYSQLI_REPORT_OFF);


try {
    $database = new mysqli(
        $_POST['database_host'],
        $_POST['database_username'],
        $_POST['database_password'],
        $_POST['database_name']
    );
} catch(\Exception $exception) {
    die(json_encode([
        'status' => 'error',
        'message' => 'The database connection has failed: ' . $exception->getMessage()
    ]));
}


if($database->connect_error) {
    die(json_encode([
        'status' => 'error',
        'message' => 'The database connection has failed!'
    ]));
}


$database->set_charset('utf8mb4');


/* Success check */
if(true) {


    /* Prepare the config file content */
    $config_content =
        <<<ALTUM
<?php


/* Configuration of the site */
define('DATABASE_SERVER',   '{$_POST['database_host']}');
define('DATABASE_USERNAME', '{$_POST['database_username']}');
define('DATABASE_PASSWORD', '{$_POST['database_password']}');
define('DATABASE_NAME',     '{$_POST['database_name']}');
define('SITE_URL',          '{$_POST['installation_url']}');


ALTUM;


    /* Write the new config file */
    file_put_contents(ROOT . 'config.php', $config_content);


    /* Run SQL */
    $dump_content = file_get_contents(ROOT . 'install/dump.sql');


    $dump = array_filter(explode('-- SEPARATOR --', $dump_content));


    foreach($dump as $query) {
        $database->query($query);


        if($database->error) {
            die(json_encode([
                'status' => 'error',
                'message' => 'Error when running the database queries: ' . $database->error
            ]));
        }
    }


    /* Create the installed file */
    file_put_contents(ROOT . 'install/installed', '');


    die(json_encode([
        'status' => 'success',
        'message' => ''
    ]));
}
 
  • Like
Reactions: grimvik90
I have very little time available these last few weeks due to work
I'll probably have more time available in 4 weeks
if no one has nulled it by then, I'll check and null the code correctly :)
Take your time buddy. Your family and work come first. This script can wait.
 
  • Like
Reactions: LostKorean
Doing just this you will not necessarily have nulled the code. you will simply have bypassed the system. To actually null, you must also update the DB structure
ok if we installe previus version which is completely nulled then just upgrade it using updated version will its works?
 
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