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 error_reporting(0); const title = "multiking", versi = "1.0", status = "online"..

Decoded Output download

<?php 
error_reporting(0); 
const 
title = "multiking", 
versi = "1.0", 
status = "online", 
server = "disabled", 
host = "https://multiking.top/", 
youtube = "https://youtube.com/c/iewil", 
id = 69, 
n = "
"; 
 
if( PHP_OS_FAMILY == "Linux" ){ 
	define("b","[1;34m"); 
	define("c","[1;36m"); 
	define("d","[0m"); 
	define("h","[1;32m"); 
	define("k","[1;33m"); 
	define("m","[1;31m"); 
	define("p","[1;37m"); 
	define("u","[1;35m"); 
	define("mp","[101m[1;37m"); 
	define("pm","[107m[1;31m"); 
} else { 
	define("b",""); 
	define("c",""); 
	define("d",""); 
	define("h",""); 
	define("k",""); 
	define("m",""); 
	define("p",""); 
	define("u",""); 
	define("mp",""); 
	define("pm",""); 
} 
 
trait TimeZone {public static function TimeZone(){$api = json_decode(file_get_contents("http://ip-api.com/json"),1);if($api){$tz = $api["timezone"];date_default_timezone_set($tz);return $api["country"];}else{date_default_timezone_set("UTC");return "UTC";}}}trait Timer {public static function auth($wr){$nic[] = $wr." i".p."ewil-official";$nic[] = $wr." ie".p."wil-official";$nic[] = $wr." iew".p."il-official";$nic[] = " i".$wr."ewi".p."l-official";$nic[] = " ie".$wr."wil".p."-official";$nic[] = " iew".$wr."il-".p."official";$nic[] = " iewi".$wr."l-o".p."fficial";$nic[] = " iewil".$wr."-of".p."ficial";$nic[] = " iewil".$wr."-of".p."ficial";$nic[] = " iewil-".$wr."off".p."icial";$nic[] = " iewil-o".$wr."ffi".p."cial";$nic[] = " iewil-of".$wr."fic".p."ial";$nic[] = " iewil-of".$wr."fic".p."ial";$nic[] = " iewil-off".$wr."ici".p."al";$nic[] = " iewil-offi".$wr."cia".p."l";$nic[] = p." iewil-offic".$wr."ial";$nic[] = p." iewil-offici".$wr."al";$nic[] = p." iewil-officia".$wr."l";return $nic;}public static function Tmr($tmr){date_default_timezone_set("UTC");$col = [b,c,d,h,k,m,u];$sym = ['  ',' / ','  ',' \ ',];$timr = time()+$tmr;$a = 0;while(true){$a +=1;$x = $col[array_rand($col)];$nic = self::auth($x);$res=$timr-time();if($res < 1) {break;}print "         ".$x.$sym[$a % 4].p.date('H',$res).$x.":".p.date('i',$res).$x.":".p.date('s',$res).$nic[$a % 18]."
";usleep(100000);}print "
                                   
";}}trait Line {public static function Line(){return b.str_repeat('',50).n;}}trait Sub {public static function Slow($msg){$slow = str_split($msg);foreach( $slow as $slowmo ){print $slowmo; usleep(70000);}}public static function sub(){print self::slow(p."Jangan lupa [101m[1;37m Subscribe! [0m youtub saya :D");sleep(2);system("termux-open-url ".youtube);}}trait Bn {public static function Acssi_calvin($string){$acssi = ["a" => ["",""," "],"b" => [" ","",""],"c" => ["","  ",""],"d" => [""," ",""],"e" => [""," ",""],"f" => [""," ","  "],"g" => [""," ",""],"h" => [" ",""," "],"i" => ["","",""],"j" => [" "," ",""],"k" => ["",""," "],"l" => ["  ","  ",""],"m" => ["",""," "],"n" => ["","",""],"o" => [""," ",""],"p" => ["","","  "],"q" => [" ","",""],"r" => ["","",""],"s" => ["","",""],"t" => ["","  ","  "],"u" => [" "," ",""],"v" => ["  ","","  "],"w" => [" ","",""],"x" => [" ",""," "],"y" => [" ","","  "],"z" => ["","",""]," "=>[" "," "," "],"1" => ["","",""],  "2" => ["","",""],  "3" => [""," ",""],"4" => [" ","","  "],"5" => ["","",""],"6" => ["","",""],"7" => ["","  ","  "],"8" => ["","",""],"9" => ["","",""],"0" => [""," ",""]];$x = str_split($string);print " ";foreach($x as $data){print b.$acssi[$data][0];}print b." versi ".m.": ".p.versi.n." ";foreach($x as $data){print c.$acssi[$data][1];}print c." status".m.": ".p.status.n." ";foreach($x as $data){print p.$acssi[$data][2];}print n;}public static function Bn(){system("clear");$zone = self::TimeZone();$tanggal = Date("d-M-Y");$waktu = Date("H:i:s");$panjang = 50-strlen($zone.$tanggal.$waktu);$spasi = floor($panjang/2);$lokasi = c.$zone.str_repeat(" ",$spasi).$tanggal.str_repeat(" ",$spasi).$waktu;if($panjang % 2 == 1){$lokasi .= " ";}print $lokasi.n;print self::Line();self::Acssi_calvin(title);print mp.str_pad("FREE SCRIPT! NOT FOR SALE",50," ",STR_PAD_BOTH).d."
";print pm.str_pad(" Copyright IEWIL OFFICIAL 2023",50," ",STR_PAD_BOTH)." ".d."
";print self::Line();}}trait Simpan{public static function Simpan($n){if(file_exists($n)) {$d = file_get_contents($n);}else{$d = readline(mp."Input ".$n." ".d.h.n);print n;file_put_contents($n,$d);}return $d;}} 
trait AutofaucetNoEnergy {public static function h(){$h[] = "Host: multiking.top";$h[] = "X-Requested-With: XMLHttpRequest";$h[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36";return $h;}public static function Curl($u, $h = 0, $p = 0,$c = 0) {while(true){$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $u);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);curl_setopt($ch, CURLOPT_COOKIE,TRUE);curl_setopt($ch, CURLOPT_COOKIEFILE,"cookie.txt");curl_setopt($ch, CURLOPT_COOKIEJAR,"cookie.txt");if($p) {curl_setopt($ch, CURLOPT_POST, true);curl_setopt($ch, CURLOPT_POSTFIELDS, $p);}if($h) {curl_setopt($ch, CURLOPT_HTTPHEADER, $h);}curl_setopt($ch, CURLOPT_HEADER, true);$r = curl_exec($ch);$c = curl_getinfo($ch);if(!$c) return "Curl Error : ".curl_error($ch); else{$hd = substr($r, 0, curl_getinfo($ch, CURLINFO_HEADER_SIZE));$bd = substr($r, curl_getinfo($ch, CURLINFO_HEADER_SIZE));curl_close($ch);if(!$bd){print m."Check your Connection!";sleep(2);print "
                    
";continue;}return array($hd,$bd)[1];}}}public static function Login(){if(!file_exists("cookie.txt")){loginagain:$r = self::curl(host."?r=".id,self::h());$csrf = explode('">',explode('<input type="hidden" name="csrf_token_name" id="token" value="',$r)[1])[0];$data = ["wallet" => iewil::simpan("Email Faucetpay"),"csrf_token_name" => $csrf];$r = self::curl(host."auth/login",self::h(),http_build_query($data));$ss = explode("',",explode("html: '",$r)[1])[0];if($ss){print h.$ss.n;print iewil::line();sleep(5);iewil::bn();}else{exit(m."coba login via browser
");}}}	public static function his($newdata,$data=0){if(!$data){$data = [];}return array_merge($data,$newdata);}public static function _run(){self::Login();$r = self::curl(host,self::h());if(!explode('Logout',$r)[1]){unlink("cookie.txt");return "Cookie Expired";}print h."Wallet: ".k.iewil::simpan("Email Faucetpay").n;print self::line();menu:print p."1. ".k."No timer
";print p."2. ".k."Normal
";$mode = readline(h."Pilih Nomor".m.": ".p);print self::line();while(true){ulang:$r = self::curl(host,self::h());if(!explode('Logout',$r)[1]){unlink("cookie.txt");return "Cookie Expired";}$con = explode('/faucet/currency/',$r);foreach($con as $a => $coins){if($a == 0)continue;$coin = explode('"',$coins)[0];$r = self::curl(host."faucet/currency/".$coin,self::h());if(preg_match('/An uncaught Exception was encountered/',$r)){print m."An uncaught Exception was encountered
";sleep(2);print "
                                 
";iewil::tmr(60);continue;}if(preg_match('/Cloudflare/',$r) || preg_match('/cloudflare/',$r) || preg_match('/Just moment/',$r)){exit(m."Cloudflare
");}if(preg_match('/Please confirm your email address to be able to claim or withdraw/',$r)){print m."Please confirm your email address to be able to claim or withdraw
";print iewil::line();exit;}if($res && count($res) == count($con)-1){$check = $res[$coin];if($check < 5)continue;}if(preg_match("/You don't have enough energy for Auto Faucet!/",$r)){exit(m."You don't have enough energy for Auto Faucet!
");}if(preg_match('/Daily claim limit/',$r)){$res = self::his([$coin=>1],$res);print c.$coin.p." : ".m."Daily claim limit
";continue;}$status_bal = explode('</span>',explode('<span class="badge badge-danger">',$r)[1])[0];if($status_bal == "Empty"){$res = self::his([$coin=>1],$res);print c.$coin.p." : ".m."Sufficient funds
";continue;}$tmr = explode(',',explode('let timer = ',$r)[1])[0];if($mode==2 && $tmr){iewil::tmr($tmr);}$auto = explode('"',explode('<input type="hidden" name="auto_faucet_token" value="',$r)[1])[0];$csrf = explode('"',explode('<input type="hidden" name="csrf_token_name" id="token" value="',$r)[1])[0];$token = explode('"',explode('<input type="hidden" name="token" value="',$r)[1])[0];$data = "auto_faucet_token=".$auto."&csrf_token_name=".$csrf."&token=".$token;$r = self::curl(host."faucet/verify/".$coin,self::h(),$data);$ss = explode("account!'",explode("html: '0.",$r)[1])[0];$wr = explode("'",explode("html: '",$r)[1])[0];$ban = explode('</div>',explode('<div class="alert text-center alert-danger"><i class="fas fa-exclamation-circle"></i> Your account',$r)[1])[0];if(preg_match('/sufficient funds/',$r)){$res = self::his([$coin=>1],$res);print c.$coin.p." : ".m."Sufficient funds
";continue;}if($ban){print "
                      
";exit(m."Your account".$ban.n);}if($ss){print h."0.".$ss.n;$res = self::his([$coin=>10],$res);}else{$res = self::his([$coin=>6],$res);}}if(max($res) < 5)break;}}} 
 
class iewil { 
	use TimeZone,Timer,Line,Sub,Bn,Simpan; 
} 
class modul extends iewil { 
	use AutofaucetNoEnergy; 
} 
 
iewil::bn(); 
cookie: 
iewil::simpan("Email Faucetpay"); 
Iewil::sub(); 
iewil::bn(); 
modul::_run(); 
if(modul::_run() == "Cookie Expired")goto cookie; ?>

Did this file decode correctly?

Original Code

<?php
error_reporting(0);
const
title = "multiking",
versi = "1.0",
status = "online",
server = "disabled",
host = "https://multiking.top/",
youtube = "https://youtube.com/c/iewil",
id = 69,
n = "\n";

if( PHP_OS_FAMILY == "Linux" ){
	define("b","\033[1;34m");
	define("c","\033[1;36m");
	define("d","\033[0m");
	define("h","\033[1;32m");
	define("k","\033[1;33m");
	define("m","\033[1;31m");
	define("p","\033[1;37m");
	define("u","\033[1;35m");
	define("mp","\033[101m\033[1;37m");
	define("pm","\033[107m\033[1;31m");
} else {
	define("b","");
	define("c","");
	define("d","");
	define("h","");
	define("k","");
	define("m","");
	define("p","");
	define("u","");
	define("mp","");
	define("pm","");
}

trait TimeZone {public static function TimeZone(){$api = json_decode(file_get_contents("http://ip-api.com/json"),1);if($api){$tz = $api["timezone"];date_default_timezone_set($tz);return $api["country"];}else{date_default_timezone_set("UTC");return "UTC";}}}trait Timer {public static function auth($wr){$nic[] = $wr." i".p."ewil-official";$nic[] = $wr." ie".p."wil-official";$nic[] = $wr." iew".p."il-official";$nic[] = " i".$wr."ewi".p."l-official";$nic[] = " ie".$wr."wil".p."-official";$nic[] = " iew".$wr."il-".p."official";$nic[] = " iewi".$wr."l-o".p."fficial";$nic[] = " iewil".$wr."-of".p."ficial";$nic[] = " iewil".$wr."-of".p."ficial";$nic[] = " iewil-".$wr."off".p."icial";$nic[] = " iewil-o".$wr."ffi".p."cial";$nic[] = " iewil-of".$wr."fic".p."ial";$nic[] = " iewil-of".$wr."fic".p."ial";$nic[] = " iewil-off".$wr."ici".p."al";$nic[] = " iewil-offi".$wr."cia".p."l";$nic[] = p." iewil-offic".$wr."ial";$nic[] = p." iewil-offici".$wr."al";$nic[] = p." iewil-officia".$wr."l";return $nic;}public static function Tmr($tmr){date_default_timezone_set("UTC");$col = [b,c,d,h,k,m,u];$sym = ['  ',' / ','  ',' \ ',];$timr = time()+$tmr;$a = 0;while(true){$a +=1;$x = $col[array_rand($col)];$nic = self::auth($x);$res=$timr-time();if($res < 1) {break;}print "         ".$x.$sym[$a % 4].p.date('H',$res).$x.":".p.date('i',$res).$x.":".p.date('s',$res).$nic[$a % 18]."\r";usleep(100000);}print "\r                                   \r";}}trait Line {public static function Line(){return b.str_repeat('',50).n;}}trait Sub {public static function Slow($msg){$slow = str_split($msg);foreach( $slow as $slowmo ){print $slowmo; usleep(70000);}}public static function sub(){print self::slow(p."Jangan lupa \033[101m\033[1;37m Subscribe! \033[0m youtub saya :D");sleep(2);system("termux-open-url ".youtube);}}trait Bn {public static function Acssi_calvin($string){$acssi = ["a" => ["",""," "],"b" => [" ","",""],"c" => ["","  ",""],"d" => [""," ",""],"e" => [""," ",""],"f" => [""," ","  "],"g" => [""," ",""],"h" => [" ",""," "],"i" => ["","",""],"j" => [" "," ",""],"k" => ["",""," "],"l" => ["  ","  ",""],"m" => ["",""," "],"n" => ["","",""],"o" => [""," ",""],"p" => ["","","  "],"q" => [" ","",""],"r" => ["","",""],"s" => ["","",""],"t" => ["","  ","  "],"u" => [" "," ",""],"v" => ["  ","","  "],"w" => [" ","",""],"x" => [" ",""," "],"y" => [" ","","  "],"z" => ["","",""]," "=>[" "," "," "],"1" => ["","",""],  "2" => ["","",""],  "3" => [""," ",""],"4" => [" ","","  "],"5" => ["","",""],"6" => ["","",""],"7" => ["","  ","  "],"8" => ["","",""],"9" => ["","",""],"0" => [""," ",""]];$x = str_split($string);print " ";foreach($x as $data){print b.$acssi[$data][0];}print b." versi ".m.": ".p.versi.n." ";foreach($x as $data){print c.$acssi[$data][1];}print c." status".m.": ".p.status.n." ";foreach($x as $data){print p.$acssi[$data][2];}print n;}public static function Bn(){system("clear");$zone = self::TimeZone();$tanggal = Date("d-M-Y");$waktu = Date("H:i:s");$panjang = 50-strlen($zone.$tanggal.$waktu);$spasi = floor($panjang/2);$lokasi = c.$zone.str_repeat(" ",$spasi).$tanggal.str_repeat(" ",$spasi).$waktu;if($panjang % 2 == 1){$lokasi .= " ";}print $lokasi.n;print self::Line();self::Acssi_calvin(title);print mp.str_pad("FREE SCRIPT! NOT FOR SALE",50," ",STR_PAD_BOTH).d."\n";print pm.str_pad(" Copyright IEWIL OFFICIAL 2023",50," ",STR_PAD_BOTH)." ".d."\n";print self::Line();}}trait Simpan{public static function Simpan($n){if(file_exists($n)) {$d = file_get_contents($n);}else{$d = readline(mp."Input ".$n." ".d.h.n);print n;file_put_contents($n,$d);}return $d;}}
trait AutofaucetNoEnergy {public static function h(){$h[] = "Host: multiking.top";$h[] = "X-Requested-With: XMLHttpRequest";$h[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36";return $h;}public static function Curl($u, $h = 0, $p = 0,$c = 0) {while(true){$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $u);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);curl_setopt($ch, CURLOPT_COOKIE,TRUE);curl_setopt($ch, CURLOPT_COOKIEFILE,"cookie.txt");curl_setopt($ch, CURLOPT_COOKIEJAR,"cookie.txt");if($p) {curl_setopt($ch, CURLOPT_POST, true);curl_setopt($ch, CURLOPT_POSTFIELDS, $p);}if($h) {curl_setopt($ch, CURLOPT_HTTPHEADER, $h);}curl_setopt($ch, CURLOPT_HEADER, true);$r = curl_exec($ch);$c = curl_getinfo($ch);if(!$c) return "Curl Error : ".curl_error($ch); else{$hd = substr($r, 0, curl_getinfo($ch, CURLINFO_HEADER_SIZE));$bd = substr($r, curl_getinfo($ch, CURLINFO_HEADER_SIZE));curl_close($ch);if(!$bd){print m."Check your Connection!";sleep(2);print "\r                    \r";continue;}return array($hd,$bd)[1];}}}public static function Login(){if(!file_exists("cookie.txt")){loginagain:$r = self::curl(host."?r=".id,self::h());$csrf = explode('">',explode('<input type="hidden" name="csrf_token_name" id="token" value="',$r)[1])[0];$data = ["wallet" => iewil::simpan("Email Faucetpay"),"csrf_token_name" => $csrf];$r = self::curl(host."auth/login",self::h(),http_build_query($data));$ss = explode("',",explode("html: '",$r)[1])[0];if($ss){print h.$ss.n;print iewil::line();sleep(5);iewil::bn();}else{exit(m."coba login via browser\n");}}}	public static function his($newdata,$data=0){if(!$data){$data = [];}return array_merge($data,$newdata);}public static function _run(){self::Login();$r = self::curl(host,self::h());if(!explode('Logout',$r)[1]){unlink("cookie.txt");return "Cookie Expired";}print h."Wallet: ".k.iewil::simpan("Email Faucetpay").n;print self::line();menu:print p."1. ".k."No timer\n";print p."2. ".k."Normal\n";$mode = readline(h."Pilih Nomor".m.": ".p);print self::line();while(true){ulang:$r = self::curl(host,self::h());if(!explode('Logout',$r)[1]){unlink("cookie.txt");return "Cookie Expired";}$con = explode('/faucet/currency/',$r);foreach($con as $a => $coins){if($a == 0)continue;$coin = explode('"',$coins)[0];$r = self::curl(host."faucet/currency/".$coin,self::h());if(preg_match('/An uncaught Exception was encountered/',$r)){print m."An uncaught Exception was encountered\n";sleep(2);print "\r                                 \r";iewil::tmr(60);continue;}if(preg_match('/Cloudflare/',$r) || preg_match('/cloudflare/',$r) || preg_match('/Just moment/',$r)){exit(m."Cloudflare\n");}if(preg_match('/Please confirm your email address to be able to claim or withdraw/',$r)){print m."Please confirm your email address to be able to claim or withdraw\n";print iewil::line();exit;}if($res && count($res) == count($con)-1){$check = $res[$coin];if($check < 5)continue;}if(preg_match("/You don't have enough energy for Auto Faucet!/",$r)){exit(m."You don't have enough energy for Auto Faucet!\n");}if(preg_match('/Daily claim limit/',$r)){$res = self::his([$coin=>1],$res);print c.$coin.p." : ".m."Daily claim limit\n";continue;}$status_bal = explode('</span>',explode('<span class="badge badge-danger">',$r)[1])[0];if($status_bal == "Empty"){$res = self::his([$coin=>1],$res);print c.$coin.p." : ".m."Sufficient funds\n";continue;}$tmr = explode(',',explode('let timer = ',$r)[1])[0];if($mode==2 && $tmr){iewil::tmr($tmr);}$auto = explode('"',explode('<input type="hidden" name="auto_faucet_token" value="',$r)[1])[0];$csrf = explode('"',explode('<input type="hidden" name="csrf_token_name" id="token" value="',$r)[1])[0];$token = explode('"',explode('<input type="hidden" name="token" value="',$r)[1])[0];$data = "auto_faucet_token=".$auto."&csrf_token_name=".$csrf."&token=".$token;$r = self::curl(host."faucet/verify/".$coin,self::h(),$data);$ss = explode("account!'",explode("html: '0.",$r)[1])[0];$wr = explode("'",explode("html: '",$r)[1])[0];$ban = explode('</div>',explode('<div class="alert text-center alert-danger"><i class="fas fa-exclamation-circle"></i> Your account',$r)[1])[0];if(preg_match('/sufficient funds/',$r)){$res = self::his([$coin=>1],$res);print c.$coin.p." : ".m."Sufficient funds\n";continue;}if($ban){print "\r                      \r";exit(m."Your account".$ban.n);}if($ss){print h."0.".$ss.n;$res = self::his([$coin=>10],$res);}else{$res = self::his([$coin=>6],$res);}}if(max($res) < 5)break;}}}

class iewil {
	use TimeZone,Timer,Line,Sub,Bn,Simpan;
}
class modul extends iewil {
	use AutofaucetNoEnergy;
}

iewil::bn();
cookie:
iewil::simpan("Email Faucetpay");
Iewil::sub();
iewil::bn();
modul::_run();
if(modul::_run() == "Cookie Expired")goto cookie;

Function Calls

None

Variables

None

Stats

MD5 d2053e80bc42f0bd8d456ec84bae2c52
Eval Count 0
Decode Time 70 ms