Filebob - File Sharing And Storage Platform

Filebob - File Sharing And Storage Platform V1.7

No permission to download

r4f4s0hz

Member
May 5, 2022
56
22
8
Unzip your file then you will see Addon.zip file
Go you [Addional] field on the left menu inside Dashboard then you will see Addon Manager opion
Go to this and upload your Addon.zip file
Try the license key like 12345
I don't purchase the addon so I don't even know whether it works 🤣

If you find it let me know friend.

I don't know I need to investigate more tomorrow
My eyes can't open now 😂
Please wait me or you can try both by yourself 😆

Access admin dashboard and change it @@
[Your-domain-url]/admin/login


OK OK Friend i found the solution, go to:


Code:
Application/vendor/vuehoucine/trustlicence/src/Http/Controllers/AddonController.php

and change line 51 or stay and continue reading

Code:
if (!preg_match("/^([a-f0-9]{8})-(([a-f0-9]{4})-){3}([a-f0-9]{12})$/i", $request->purchase_code)) {

i change for this

Code:
if (!preg_match("/^([a-f0-9]{8})", $request->purchase_code)) {

and put this:

Code:
BA817112

or if you stay whit out of change, put (this is random code, to stay the file)

Code:
CA761232-ED42-11CE-BACD-00AA0057B223

now upload your addon and enjoy
 

Attachments

  • Captura de pantalla 2022-07-11 132026.jpg
    Captura de pantalla 2022-07-11 132026.jpg
    88.7 KB · Views: 34
  • Like
Reactions: SCulatER and reishi

KaoVN

Well-known member
Null Master
Trusted Uploader
Oct 15, 2019
627
722
100
KaoVN
OK OK Friend i found the solution, go to:


Code:
Application/vendor/vuehoucine/trustlicence/src/Http/Controllers/AddonController.php

and change line 51 or stay and continue reading

Code:
if (!preg_match("/^([a-f0-9]{8})-(([a-f0-9]{4})-){3}([a-f0-9]{12})$/i", $request->purchase_code)) {

i change for this

Code:
if (!preg_match("/^([a-f0-9]{8})", $request->purchase_code)) {

and put this:

Code:
BA817112

or if you stay whit out of change, put (this is random code, to stay the file)

Code:
CA761232-ED42-11CE-BACD-00AA0057B223

now upload your addon and enjoy
Oh yeah, bro
I delete all license check connection to their site but forgot to modify this line 😆
Thank you, I will upload final version tomorrow. My brain is stopped now 🤪
 
  • Haha
Reactions: Auwal

Carlinhos77z

New member
Oct 13, 2020
22
19
3
OK OK Friend i found the solution, go to:


Code:
Application/vendor/vuehoucine/trustlicence/src/Http/Controllers/AddonController.php

and change line 51 or stay and continue reading

Code:
if (!preg_match("/^([a-f0-9]{8})-(([a-f0-9]{4})-){3}([a-f0-9]{12})$/i", $request->purchase_code)) {

i change for this

Code:
if (!preg_match("/^([a-f0-9]{8})", $request->purchase_code)) {

and put this:

Code:
BA817112

or if you stay whit out of change, put (this is random code, to stay the file)

Code:
CA761232-ED42-11CE-BACD-00AA0057B223

now upload your addon and enjoy
Friend gave an error when I load the addon
 

Attachments

  • Screenshot_2022-07-11-15-26-52-549_com.android.chrome.jpg
    Screenshot_2022-07-11-15-26-52-549_com.android.chrome.jpg
    166.9 KB · Views: 12

Carlinhos77z

New member
Oct 13, 2020
22
19
3
see well
 

Attachments

  • Screenshot_2022-07-11-15-39-11-277_com.android.chrome.jpg
    Screenshot_2022-07-11-15-39-11-277_com.android.chrome.jpg
    161 KB · Views: 10
  • Screenshot_2022-07-11-15-39-19-474_com.android.chrome.jpg
    Screenshot_2022-07-11-15-39-19-474_com.android.chrome.jpg
    165.6 KB · Views: 10

r4f4s0hz

Member
May 5, 2022
56
22
8
  • Like
Reactions: mak3000

r4f4s0hz

Member
May 5, 2022
56
22
8
ok the best methid is use this mod AddonController.php i share now the new nulled version enjoy, wait some minutes to upload

Code:
<?php

namespace Vuehoucine\Trustlicence\Http\Controllers;

use App\Http\Controllers\Controller;
use App\Models\Addon;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use ZipArchive;

class AddonController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $addons = Addon::all();
        return view('trustlicence::addons.index', ['addons' => $addons]);
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        if (parse_url(url('/'))['host'] == 'localhost') {
            toastr()->error(__('Addons cannot be installed on local server'));
            return back();
        }
        if (!class_exists('ZipArchive')) {
            toastr()->error(__('ZipArchive extension is not enabled'));
            return back();
        }
        if (!$request->hasFile('addon_files')) {
            toastr()->error(__('Addon files required'));
            return back();
        }
        if (empty($request->purchase_code)) {
            toastr()->error(__('Purchase code is required'));
            return back();
        }
        $addonZip = $request->addon_files;
        $addonZipFileExt = $addonZip->getClientOriginalExtension();
        if ($addonZipFileExt != "zip") {
            toastr()->error(__('File type not allowed'));
            return back();
        }
        try {
            $uploadPath = vFileUpload($addonZip, 'addons/temp/');
            $zip = new ZipArchive;
            $res = $zip->open($uploadPath);
            if ($res != true) {
                removeFile($uploadPath);
                toastr()->error(__('Could not open the zip file'));
                return back();
            }
            $dir = trim($zip->getNameIndex(0), '/');
            $addonsPath = base_path('addons/temp/');
            $thisAddonPath = base_path('addons/temp/' . $dir);
            if (File::exists($thisAddonPath)) {
                removeDirectory($thisAddonPath);
            }
            $res = $zip->extractTo($addonsPath);
            if ($res == true) {
                removeFile($uploadPath);
            }
            $zip->close();
            if (!File::exists($thisAddonPath . '/config.json')) {
                removeFile($thisAddonPath);
                toastr()->error(__('Config.json is missing'));
                return back();
            }
            $str = file_get_contents($thisAddonPath . '/config.json');
            $json = json_decode($str, true);
            if (strtolower(systemInfo()['name']) != $json['script_symbol']) {
                removeDirectory($thisAddonPath);
                toastr()->error(__('Invalid action request'));
                return back();
            }
            if (systemInfo()['version'] < $json['minimal_script_version']) {
                removeDirectory($thisAddonPath);
                toastr()->error(__('Addon require version ' . $json['minimal_script_version'] . ' or above'));
                return back();
            }
            $addonExist = Addon::where('symbol', $json['symbol'])->first();
            if ($addonExist) {
                toastr()->error(__('Addon is already exists'));
                return back();
            }
            if (!empty($json['remove_directories'])) {
                foreach ($json['remove_directories'] as $remove_directory) {
                    removeDirectory($remove_directory);
                }
            }
            if (!empty($json['remove_files'])) {
                foreach ($json['remove_files'] as $remove_file) {
                    removeFile($remove_file);
                }
            }
            if (!empty($json['directories'])) {
                foreach ($json['directories'][0]['assets'] as $assets_directory) {
                    makeDirectory($assets_directory);
                }
                foreach ($json['directories'][0]['files'] as $files_directory) {
                    makeDirectory(base_path($files_directory));
                }
            }
            if (!empty($json['assets'])) {
                foreach ($json['assets'] as $asset) {
                    File::copy(base_path($asset['root_directory']), $asset['update_directory']);
                }
            }
            if (!empty($json['files'])) {
                foreach ($json['files'] as $file) {
                    File::copy(base_path($file['root_directory']), base_path($file['update_directory']));
                }
            }
            if (file_exists(base_path($json['sql_file']))) {
                DB::unprepared(file_get_contents(base_path($json['sql_file'])));
            }
            $createAddon = Addon::create([
                "api_key" => '2802312c036e0e57816a52a9def8445d', //$puchaseValidate->data->api_key,
                "logo" => url($json['logo']),
                "name" => $json['name'],
                "symbol" => strtolower($json['symbol']),
                "version" => $json['version'],
                'action_text' => $json['action_text'],
                'action_link' => $json['action_link'],
                "status" => 1,
            ]);
            if ($createAddon) {
                removeDirectory($thisAddonPath);
                toastr()->success(__('Addon has been installed successfully'));
                return back();
            }
        } catch (\Exception $e) {
            removeFile($uploadPath);
            removeDirectory($thisAddonPath);
            toastr()->error($e->getMessage());
            return back();
        }

    }

    /**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Addon  $addon
     * @return \Illuminate\Http\Response
     */
    public function edit(Addon $addon)
    {
        return view('trustlicence::addons.edit', ['addon' => $addon]);
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Models\Addon  $addon
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, Addon $addon)
    {
        if (parse_url(url('/'))['host'] == 'localhost') {
            toastr()->error(__('Addons cannot be installed on local server'));
            return back();
        }
        if (!class_exists('ZipArchive')) {
            toastr()->error(__('ZipArchive extension is not enabled'));
            return back();
        }
        if (!$request->hasFile('addon_files')) {
            toastr()->error(__('Addon files required'));
            return back();
        }
        $addonZip = $request->addon_files;
        $addonZipFileExt = $addonZip->getClientOriginalExtension();
        if ($addonZipFileExt != "zip") {
            toastr()->error(__('File type not allowed'));
            return back();
        }
        try {
            $uploadPath = vFileUpload($addonZip, 'addons/temp/');
            $zip = new ZipArchive;
            $res = $zip->open($uploadPath);
            if ($res != true) {
                removeFile($uploadPath);
                toastr()->error(__('Could not open the zip file'));
                return back();
            }
            $dir = trim($zip->getNameIndex(0), '/');
            $addonsPath = base_path('addons/temp/');
            $thisAddonPath = base_path('addons/temp/' . $dir);
            if (File::exists($thisAddonPath)) {
                removeDirectory($thisAddonPath);
            }
            $res = $zip->extractTo($addonsPath);
            if ($res == true) {
                removeFile($uploadPath);
            }
            $zip->close();
            if (!File::exists($thisAddonPath . '/config.json')) {
                removeFile($thisAddonPath);
                toastr()->error(__('Config.json is missing'));
                return back();
            }
            $str = file_get_contents($thisAddonPath . '/config.json');
            $json = json_decode($str, true);
            if ($addon->symbol != $json['symbol']) {
                removeDirectory($thisAddonPath);
                toastr()->error(__('Invalid action request'));
                return back();
            }
            if (strtolower(systemInfo()['name']) != $json['script_symbol']) {
                removeDirectory($thisAddonPath);
                toastr()->error(__('Invalid action request'));
                return back();
            }
            if (systemInfo()['version'] < $json['minimal_script_version']) {
                removeDirectory($thisAddonPath);
                toastr()->error(__('Addon require version ' . $json['minimal_script_version'] . ' or above'));
                return back();
            }
            if (!empty($json['remove_directories'])) {
                foreach ($json['remove_directories'] as $remove_directory) {
                    removeDirectory($remove_directory);
                }
            }
            if (!empty($json['remove_files'])) {
                foreach ($json['remove_files'] as $remove_file) {
                    removeFile($remove_file);
                }
            }
            if (!empty($json['directories'])) {
                foreach ($json['directories'][0]['assets'] as $assets_directory) {
                    makeDirectory($assets_directory);
                }
                foreach ($json['directories'][0]['files'] as $files_directory) {
                    makeDirectory(base_path($files_directory));
                }
            }
            if (!empty($json['assets'])) {
                foreach ($json['assets'] as $asset) {
                    File::copy(base_path($asset['root_directory']), $asset['update_directory']);
                }
            }

            if (!empty($json['files'])) {
                foreach ($json['files'] as $file) {
                    File::copy(base_path($file['root_directory']), base_path($file['update_directory']));
                }
            }
            if (file_exists(base_path($json['sql_file']))) {
                DB::unprepared(file_get_contents(base_path($json['sql_file'])));
            }
            $status = ($request->has('status')) ? 1 : 0;
            $updateAddon = $addon->update([
                "version" => $json['version'],
                'action_text' => $json['action_text'],
                'action_link' => $json['action_link'],
                "status" => $status,
            ]);
            if ($updateAddon) {
                removeDirectory($thisAddonPath);
                toastr()->success(__('Addon has been updated successfully'));
                return back();
            }
        } catch (\Exception $e) {
            removeFile($uploadPath);
            removeDirectory($thisAddonPath);
            toastr()->error($e->getMessage());
            return back();
        }
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Addon  $addon
     * @return \Illuminate\Http\Response
     */
    public function destroy(Addon $addon)
    {
        return abort(404);
    }
}
 

Forum statistics

Threads
69,206
Messages
908,333
Members
236,836
Latest member
torinouq

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu