How to null this script?
Step 01
Try to bypass the licence codechecker, Open the file InstallerService.php, located in ..\app\Services\
Delete or comment those lines between #82 to #101
// try {
// $payload = [
// 'license_code' => $array['license_key'],
// 'product_id' => config('product.itemId'),
// 'domain' => AppLibrary::domain(url('')),
// 'purpose' => 'install',
// 'version' => config('product.version')
// ];
// if (isset($array['purpose'])) {
// $payload['purpose'] = $array['purpose'];
// }
// $apiUrl = config('product.licenseCodeCheckerUrl');
// $response = Http::post($apiUrl . '/api/check-installer-license', $payload);
// return AppLibrary::licenseApiResponse($response);
// } catch (\Exception $exception)
{
// return (object)[
// 'status' => false,
// 'message' => $exception->getMessage()
// ];
// }
Commenting on the above, we will indicate that the status is true and that the license is valid...
so, then put the code just below the last line commented, the line #101
return (object) ['status' => true, 'message' => 'valid' ];
Step 02
We will add a true condition to the API when querying the license. then Open the file ApiRequestTrait.php, located in ..\app\Traits\
Add this code in the line before the variable Try, in the line #14
return (object) ['status' => true];
Step 03
Open the file license.blade.php, located in ..\resources\views\installer\
We add a generator random character, so, add this function below the line #10
@php
function generateRandomCode()
{
$characters = '0123456789abcdefghijklmnopqrstuvwxyz';
$code = '';
for ($i = 0; $i < 36; $i++)
{
if (in_array($i, [8, 13, 18, 23]))
{
$code .= '-';
}
else
{
$code .= $characters[rand(0, strlen($characters) - 1)];
}
}
return $code;
}
$EnigmaRandomCode = generateRandomCode();
@endphp
We put the ramdom code generator in this section, locate the lines between #34 until #37
and delete or comment it with a double line //
// {{ trans('installer.license.label.license_key') }} <span class="text-[#4DE93C]">*</span>
// <span class="text-primary modal-show underline cursor-pointer">({{ //trans('installer.license.active_process') }})</span>
// </label>
// <input name="license_key" type="text" value="{{ old('license_key') }}"
And change it with this code with the random character function:
{{ trans('installer.license.label.license_key') }} This is a VALID LICENCE - <a style="color:green;" href="https://studily.pro" target="_blank">Support</a> </label>
<input name="license_key" type="text" value="{{ $EnigmaRandomCode }}"
And voilá! the script should work!!!
Don't forget me in your prayers!!