Gemes
Member
- May 2, 2022
- 96
- 18
- 8
can you share to forum ?i have mpwa v 4.3.2 decoded js file,100% deobfuscated
can you share to forum ?i have mpwa v 4.3.2 decoded js file,100% deobfuscated
could someone help me to decrypt the kernel.php file
thanks
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected $commands = [
Commands\ScheduleCron::class
];
protected function schedule(Schedule $schedule)
{
$schedule->command('schedule:cron')->everyMinute();
$schedule->command('subscription:check')->daily();
$schedule->command('start:blast')->everyMinute();
// $schedule->command('schedule:blast')->everyMinute();
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}
thank you very much for your helpPHP:<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected $commands = [ Commands\ScheduleCron::class ]; protected function schedule(Schedule $schedule) { $schedule->command('schedule:cron')->everyMinute(); $schedule->command('subscription:check')->daily(); $schedule->command('start:blast')->everyMinute(); // $schedule->command('schedule:blast')->everyMinute(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }
I get error 500 when I change the code in the kernel.php filePHP:<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected $commands = [ Commands\ScheduleCron::class ]; protected function schedule(Schedule $schedule) { $schedule->command('schedule:cron')->everyMinute(); $schedule->command('subscription:check')->daily(); $schedule->command('start:blast')->everyMinute(); // $schedule->command('schedule:blast')->everyMinute(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }
version 4.3.2??I get error 500 when I change the code in the kernel.php file
I get error "Fatal error: Uncaught ReflectionException: Class App\Http\Kernel does not exist in /www/wwwroot/...." after I change the code in the kernel.php file
Version 4.3.2
this is kernel file in the directory app/Console/PHP:<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected $commands = [ Commands\ScheduleCron::class ]; protected function schedule(Schedule $schedule) { $schedule->command('schedule:cron')->everyMinute(); $schedule->command('subscription:check')->daily(); $schedule->command('start:blast')->everyMinute(); // $schedule->command('schedule:blast')->everyMinute(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }
Hi All .. no one is facing this kind of issue? Please suggest? Is it problem with hosting then?Hi All.. I have a strange problem with the "Wa Gateway | Multi device BETA | V4.3.2 MPWA MD v4.3.2", it works properly but not sure after few hours (seen always on next day) the site throws an error as shown in the screenshot.
And when i asked for the logs from the hosting provider they gave me these logs and they even not sure why it happens. And they asked to me to restore to the previous version and it used to work. Then again on the next day the same problem repeats. Can any one help me with this. due to this I'm unable to work further.
Here are the logs which were given by the service provider and a screenshot is added to the attachment.
Note: the source code is added in sub domain.
Warning: include(/home/domainname/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: No such file or directory in /home/domainname/public_html/vendor/composer/ClassLoader.php on line 571
Warning: include(/home/domainname/public_html/vendor/composer/../../app/Http/Kernel.php): failed to open stream: No such file or directory in /home/domainname/public_html/vendor/composer/ClassLoader.php on line 571
Warning: include(): Failed opening '/home/domainname/public_html/vendor/composer/../../app/Http/Kernel.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/domainname/public_html/vendor/composer/ClassLoader.php on line 571
Fatal error: Uncaught ReflectionException: Class App\Http\Kernel does not exist in /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:877 Stack trace: #0 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(877): ReflectionClass->__construct('App\\Http\\Kernel') #1 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(758): Illuminate\Container\Container->build('App\\Http\\Kernel') #2 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(851): Illuminate\Container\Container->resolve('App\\Http\\Kernel', Array, false) #3 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(296): Illuminate\Foundation\Application->resolve('App\\Http\\Kernel', Array, false) #4 /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}( in /home/domainname/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 879
@bendfrozien can you help me for this issue? campaign message sent but information still waiting.
the kernel in the app/console is already decoded from the download package. which has not been decoded is in app/Http
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array<int, class-string|string>
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
];
/**
* The application's route middleware groups.
*
* @var array<string, array<int, class-string|string>>
*/
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
// \Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
'throttle:api',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array<string, class-string|string>
*/
protected $routeMiddleware = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
'isVerifiedLicense' => \App\Http\Middleware\isVerifiedLicense::class,
'installed.app' => \App\Http\Middleware\appInstalled::class,
'checkApiKey' => \App\Http\Middleware\CheckApiKey::class,
'admin' => \App\Http\Middleware\AdminMiddleware::class,
];
}
thank you updateMorehere submitted a new resource:
Wa Gateway Multi device BETA V3.0 MPWA MD - This source code is a new build source code and is not an update from the previous mpwa gateway
Read more about this resource...
work, thanks youHere u go:
PHP:<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array<int, class-string|string> */ protected $middleware = [ // \App\Http\Middleware\TrustHosts::class, \App\Http\Middleware\TrustProxies::class, \Fruitcake\Cors\HandleCors::class, \App\Http\Middleware\PreventRequestsDuringMaintenance::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \App\Http\Middleware\TrimStrings::class, \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, ]; /** * The application's route middleware groups. * * @var array<string, array<int, class-string|string>> */ protected $middlewareGroups = [ 'web' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, // \Illuminate\Session\Middleware\AuthenticateSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \App\Http\Middleware\VerifyCsrfToken::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, ], 'api' => [ // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, 'throttle:api', \Illuminate\Routing\Middleware\SubstituteBindings::class, ], ]; /** * The application's route middleware. * * These middleware may be assigned to groups or used individually. * * @var array<string, class-string|string> */ protected $routeMiddleware = [ 'auth' => \App\Http\Middleware\Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 'isVerifiedLicense' => \App\Http\Middleware\isVerifiedLicense::class, 'installed.app' => \App\Http\Middleware\appInstalled::class, 'checkApiKey' => \App\Http\Middleware\CheckApiKey::class, 'admin' => \App\Http\Middleware\AdminMiddleware::class, ]; }
i also use shared hosting and cronjob workingsorry if repost ask , I have a problem on auto reconnect.
how can it work auto reconnect on shared hosting ?
I am use cron job but can't reconnected .
Cron update every 30 minutes , i try sent cURL domain cron / schedule but not work.
thanks