Jump to content

Recommended Posts

  • Administrators

SumoWebTools - Online Web Tools Script


SumoWebTools is a web tools script that provides free internet tools that are useful in daily online activities. It supports multi-language, making it easy to customize the language you want with just a few taps.

This script is built on Bootstrap v5, supports Light and Dark modes, supports LTR and RTL layouts. With more than 120 commonly used web tools on the internet, it will help you quickly get approved for Google Adsense.

Optimized for Page Speed Insights

SumoWebTools has been optimized for performance according to the standards set by Google Page Speed Insights. This specialized script targets the critical factors that affect your site’s speed and overall user experience, making it an invaluable asset for your web optimization efforts.


 

  • Like 3

Support is available for paid files only
Support for free files is offered for a fee only

  • Mahmoud changed the title to SumoWebTools v2.0 - Online Web Tools Script NULLED
  • 1 month later...
  • 2 weeks later...
  • 2 months later...
  • Mahmoud changed the title to SumoWebTools v2.0.2 - Online Web Tools Script
  • Mahmoud changed the title to SumoWebTools v2.0.3 - Online Web Tools Script
  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...

public_html/components/app/Http/Livewire/Public/Install/Environment.php

Go into this Directory 

Scroll to Section - 

try {

            $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') );

            if ($response->ok() && $response['status'] === 'success') {

                if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) )


Replace this success with "error" like this 

if ($response->ok() && $response['status'] === 'error')

DONE! now put anything and your file can be installed

  • Like 1
  • Love 1
Posted (edited)

  

On 2/29/2024 at 7:50 PM, boksnet.pl said:

public_html/components/app/Http/Livewire/Public/Install/Environment.php

Go into this Directory 

Scroll to Section - 

try {

            $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') );

            if ($response->ok() && $response['status'] === 'success') {

                if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) )


Replace this success with "error" like this 

if ($response->ok() && $response['status'] === 'error')

DONE! now put anything and your file can be installed

@boksnet.pl

The installation is completed but it still asks for the purchase code in the admin panel.

Edited by Coders
  • 5 weeks later...
On 3/2/2024 at 11:59 PM, Coders said:

  

@boksnet.pl

The installation is completed but it still asks for the purchase code in the admin panel.

Here is the complete fix.

Once you've installed the script (by editing the Environment.php), you need to edit 2 more files to completely null the verification.

  1. /components/app/Http/Livewire/Admin/License.php
  2. /components/vendor/arcanedev/localization/src/Middleware/LocaleAuth.php

You need to do the same patch, change success to error. 

  • 3 weeks later...
On 2/29/2024 at 10:20 PM, boksnet.pl said:

public_html/components/app/Http/Livewire/Public/Install/Environment.php

Go into this Directory 

Scroll to Section - 

try {

            $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') );

            if ($response->ok() && $response['status'] === 'success') {

                if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) )


Replace this success with "error" like this 

if ($response->ok() && $response['status'] === 'error')

DONE! now put anything and your file can be installed

I don't understand to replace it can you quote the part to change?

@Coders

<?php

namespace App\Http\Livewire\Public\Install;

use Livewire\Component;
use Brotzka\DotenvEditor\DotenvEditor;
use Illuminate\Support\Facades\Artisan;
use DB, Schema;
use App\Models\Install;
use Illuminate\Support\Facades\Http;

class Environment extends Component
{
    public $purchase_code;
    public $database_host = 'localhost';
    public $database_port = '3306';
    public $database_name;
    public $database_username;
    public $database_password;
    public $continue      = false;

    public function mount()
    {
        $env                     = new DotenvEditor();
        $this->database_host     = $env->getValue("DB_HOST");
        $this->database_port     = $env->getValue("DB_PORT");
        $this->database_name     = $env->getValue("DB_DATABASE");
        $this->database_username = $env->getValue("DB_USERNAME");
        $this->database_password = $env->getValue("DB_PASSWORD");
    }

    public function render()
    {
        return view('livewire.public.install.environment')->layout('layouts.install');
    }

    /**
     * -------------------------------------------------------------------------------
     *  checkDatabaseConnection
     * -------------------------------------------------------------------------------
    **/
    public function checkDatabaseConnection($database_host, $database_port, $database_name, $database_username, $database_password){

        $connection  = 'mysql';

        $settings = config("database.connections.$connection");

        config([
            'database' => [
                'default' => $connection,
                'connections' => [
                    $connection => array_merge($settings, [
                        'driver'   => $connection,
                        'host'     => $database_host,
                        'port'     => $database_port,
                        'database' => $database_name,
                        'username' => $database_username,
                        'password' => $database_password,
                    ]),
                ],
            ],
        ]);

        DB::purge();

        try {

            DB::connection()->getPdo();

            return true;

        } catch (\Exception $e) {

           return false;
       }
    }

    /**
     * -------------------------------------------------------------------------------
     *  onCreateDatabase
     * -------------------------------------------------------------------------------
    **/
    public function onCreateDatabase(){

        $this->validate([
            'purchase_code'     => 'required',
            'database_host'     => 'required',
            'database_port'     => 'required',
            'database_name'     => 'required',
            'database_username' => 'required'
        ]);

        try {
            if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) ) {

                $this->addError('error', __('Could not connect to the database. Maybe your Database is not available.'));
                return;
            }

            try {

                $env = new DotenvEditor();

                $env->changeEnv([
                    'DB_HOST'       => $this->database_host,
                    'DB_PORT'       => $this->database_port,
                    'DB_DATABASE'   => $this->database_name,
                    'DB_USERNAME'   => $this->database_username,
                    'DB_PASSWORD'   => "'$this->database_password'",
                    'APP_URL'       => url('/')
                ]);

                Artisan::call('config:cache');
                Artisan::call('config:clear');
                Artisan::call('migrate:fresh');
      
                Install::create([
                    'id'       => 1,
                    'database' => true,
                    'token'    => $this->purchase_code
                ]);

                $this->continue = true;

            } catch (\Exception $e) {
                $this->addError('error', __($e->getMessage()));
            }

        } catch (\Exception $e) {
            $this->addError('error', __($e->getMessage()));
        }

    }

    //
}
ضعو هاذا الكود

  • 1 month later...
  • 3 weeks later...
  • 3 weeks later...
On 2/29/2024 at 5:50 PM, boksnet.pl said:

public_html/components/app/Http/Livewire/Public/Install/Environment.php

Go into this Directory 

Scroll to Section - 

try {

            $response = Http::get('https://envato.themeluxury.com/activation/sumowebtools.php?code=' . $this->purchase_code . '&domain=' . url('/') );

            if ($response->ok() && $response['status'] === 'success') {

                if (! $this->checkDatabaseConnection($this->database_host, $this->database_port, $this->database_name, $this->database_username, $this->database_password) )


Replace this success with "error" like this 

if ($response->ok() && $response['status'] === 'error')

DONE! now put anything and your file can be installed

thanks bro you are the best

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...