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 @eval("?>".base64_decode("PD9waHANCg0KbmFtZXNwYWNlIEFwcDsNCg0KdXNlIElsbHVtaW5hdGVcRm..
Decoded Output download
?>b'<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Admin extends Authenticatable
{
/**
* The attributes that are mass assignable.
*
* @var string
*/
//use Notifiable;
protected $guard = "admins";
protected $table = \'users\';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [\'email\', \'password\'];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [\'password\', \'remember_token\'];
//use user id of admin
protected $primaryKey = \'id\';
//public $table = true;
}
'
Did this file decode correctly?
Original Code
<?php @eval("?>".base64_decode("PD9waHANCg0KbmFtZXNwYWNlIEFwcDsNCg0KdXNlIElsbHVtaW5hdGVcRm91bmRhdGlvblxBdXRoXFVzZXIgYXMgQXV0aGVudGljYXRhYmxlOw0KDQpjbGFzcyBBZG1pbiBleHRlbmRzIEF1dGhlbnRpY2F0YWJsZQ0Kew0KDQoNCg0KCS8qKg0KICAgICAqIFRoZSBhdHRyaWJ1dGVzIHRoYXQgYXJlIG1hc3MgYXNzaWduYWJsZS4NCiAgICAgKg0KICAgICAqIEB2YXIgc3RyaW5nDQogICAgICovDQoJLy91c2UgTm90aWZpYWJsZTsNCg0KCXByb3RlY3RlZCAkZ3VhcmQgPSAiYWRtaW5zIjsNCg0KCXByb3RlY3RlZCAkdGFibGUgPSAndXNlcnMnOw0KDQogICAgLyoqDQogICAgICogVGhlIGF0dHJpYnV0ZXMgdGhhdCBhcmUgbWFzcyBhc3NpZ25hYmxlLg0KICAgICAqDQogICAgICogQHZhciBhcnJheQ0KICAgICAqLw0KICAgIHByb3RlY3RlZCAkZmlsbGFibGUgPSBbJ2VtYWlsJywgJ3Bhc3N3b3JkJ107DQoNCiAgICAvKioNCiAgICAgKiBUaGUgYXR0cmlidXRlcyB0aGF0IHNob3VsZCBiZSBoaWRkZW4gZm9yIGFycmF5cy4NCiAgICAgKg0KICAgICAqIEB2YXIgYXJyYXkNCiAgICAgKi8NCiAgICBwcm90ZWN0ZWQgJGhpZGRlbiA9IFsncGFzc3dvcmQnLCAncmVtZW1iZXJfdG9rZW4nXTsNCg0KCS8vdXNlIHVzZXIgaWQgb2YgYWRtaW4NCglwcm90ZWN0ZWQgJHByaW1hcnlLZXkgPSAnaWQnOw0KDQoJLy9wdWJsaWMgJHRhYmxlID0gdHJ1ZTsNCg0KfQ0K"));//Generated by Ampare PHP Encoder. For more security please use php protect before encode the php program
Function Calls
base64_decode | 1 |
Stats
MD5 | 0e3cd749db2ef47df2ce98889e571bdb |
Eval Count | 1 |
Decode Time | 34 ms |