Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace App\Http\Controllers\Installer; use Illuminate\Routing\Controller; use A..

Decoded Output download

<?php 
 namespace App\Http\Controllers\Installer; use Illuminate\Routing\Controller; use App\Http\Controllers\Installer\Helpers\InstalledFileManager; use App\Http\Controllers\Installer\Helpers\DatabaseManager; class UpdateController extends Controller { use \App\Http\Controllers\Installer\Helpers\MigrationsHelper; public function welcome() { return view("installer.update.welcome"); } public function overview() { $migrations = $this->getMigrations(); $dbMigrations = $this->getExecutedMigrations(); return view("installer.update.overview", ["numberOfUpdatesPending" => count($migrations) - count($dbMigrations)]); } public function database() { $databaseManager = new DatabaseManager(); $response = $databaseManager->migrateAndSeed(); return redirect()->route("LaravelUpdater::final")->with(["message" => $response]); } public function finish(InstalledFileManager $fileManager) { $fileManager->update(); return view("installer.update.finished"); } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Http\Controllers\Installer; use Illuminate\Routing\Controller; use App\Http\Controllers\Installer\Helpers\InstalledFileManager; use App\Http\Controllers\Installer\Helpers\DatabaseManager; class UpdateController extends Controller { use \App\Http\Controllers\Installer\Helpers\MigrationsHelper; public function welcome() { return view("\151\x6e\x73\164\x61\154\154\145\x72\x2e\x75\160\144\x61\164\x65\x2e\x77\145\154\143\157\x6d\145"); } public function overview() { $migrations = $this->getMigrations(); $dbMigrations = $this->getExecutedMigrations(); return view("\151\x6e\x73\x74\x61\x6c\x6c\145\162\56\165\x70\x64\x61\x74\x65\x2e\157\166\145\x72\166\x69\145\167", ["\156\x75\x6d\142\x65\162\117\146\x55\x70\144\141\x74\145\x73\x50\145\x6e\x64\151\x6e\x67" => count($migrations) - count($dbMigrations)]); } public function database() { $databaseManager = new DatabaseManager(); $response = $databaseManager->migrateAndSeed(); return redirect()->route("\x4c\141\x72\141\x76\145\154\x55\160\144\141\x74\x65\162\x3a\x3a\x66\x69\156\x61\x6c")->with(["\x6d\145\x73\163\x61\x67\145" => $response]); } public function finish(InstalledFileManager $fileManager) { $fileManager->update(); return view("\151\x6e\x73\x74\141\154\x6c\x65\x72\x2e\165\x70\144\141\164\145\x2e\x66\151\x6e\x69\x73\x68\x65\x64"); } }

Function Calls

None

Variables

None

Stats

MD5 9ef3d50d5ca709db27a8a3d81aecb852
Eval Count 0
Decode Time 78 ms