Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
error_reporting(0); system('clear'); const name = "freeltc", version = "1.0.0", class..
Decoded Output download
<? error_reporting(0);
system('clear');
const
name = "freeltc",
version = "1.0.0",
class_require = "1.1.0",
host = "https://earnsolana.xyz/",
refflink = "https://claimcoin.in/?r=122667",
youtube = "https://youtube.com/@iewil";
function Download($server){
$bar = str_repeat(">", 0);
$max = 100;
$dol = "[1;97m[[1;31m![1;97m] Download Script ";
echo "
";
for ($i = 1; $i <= $max; $i++) {
$bar = str_repeat(">", floor($i / $max * 20));
$spaci = str_repeat(" ", 20 - floor($i / $max * 20));
echo "
{$dol}[1;97m [[1;31m{$bar}{$spaci}[1;97m] {$i}%";
usleep(50000);
file_put_contents($server.'/amjadyt/function.php',file_get_contents('https://raw.githubusercontent.com/Amjadprojec/Functions/refs/heads/main/function.php'));
}
echo "
[1;97m[[1;32m![1;97m] Proses selesai!, Jalankan ulang script
";
exit;
}
$server = $_SERVER["TMP"] ?? $_SERVER["TMPDIR"];
if (!file_exists($server . DIRECTORY_SEPARATOR . 'amjadyt')) {
mkdir($server . DIRECTORY_SEPARATOR . 'amjadyt', 0777, true);
}
if (!file_exists($server . DIRECTORY_SEPARATOR . 'amjadyt' . DIRECTORY_SEPARATOR . 'function.php')) {
Download($server);
}
require($server."/amjadyt/function.php");
class Bot {
public $email;
public function __construct(){
if(empty(Functions::getConfig('email_faucetpay'))){
Display::ban();
}
$this->email = Functions::setConfig('email_faucetpay');
$this->login();
system('clear');
print(p."
SUBSCRIBE YT GWA DULU BREEE...
");
sleep(2);
system('xdg-open https://www.youtube.com/@Amjad_YT01');
sleep(5);
readline('--> Enter Untuk lanjut');
Display::ban();
$this->claim();
}
private function h($data=0){
$h[] = "Host: ".parse_url(host)['host'];
if($data)$h[] = "Content-Length: ".strlen($data);
$h[] = "User-Agent: Mozilla/5.0 (Linux; U; Android 10; id-id; Redmi Note 9 Build/QP1A.190711.020) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.141 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.4.1-g";
return $h;
}
private function login(){
Display::cetak('LOGIN ','WAIT....');
ulang:
$email = $this->email;
$r = Requests::getXcookie(host,$this->h())[1];
$icontoken = explode("' />",explode("<input type='hidden' name='_iconcaptcha-token' value='",$r)[1])[0];
$data = [
'ci_csrf_token' => '',
'wallet' => $email
];
if($icontoken){
$icon = $this->iconBypass($icontoken);
print "
";
if(!$icon){
print(p." [".m."!".p."] "."Baypas Failed
");
goto ulang;
}
print h."---[".p."".h."] Bypass success";sleep(2);
print "
";
$data = array_merge($data, $icon);
}
$data = http_build_query($data);
$r = Requests::postXcookie(host.'app/auth/validation',$this->h(),$data)[1];
}
private function claim(){
$r = Requests::getXcookie(host.'app/dashboard',$this->h())[1];
$con = explode('<a class="pc-link " href="https://freeltc.fun/app/faucet?currency=',$r);
$num = 0;
while(true){
foreach($con as $a => $coins){
if($a == 0)continue;
$coin = explode('"',$coins)[0];
lagi:
$r = Requests::getXcookie(host.'app/faucet?currency='.$coin,$this->h())[1];
$tmr = explode(" - 1;",explode("var wait = ",$r)[1])[0];
if($tmr){Functions::tmr($tmr);goto lagi;}
$icontoken = explode("' />",explode("<input type='hidden' name='_iconcaptcha-token' value='",$r)[1])[0];
$data = [
'ci_csrf_token' => ''
];
if($icontoken){
$icon = $this->iconBypass($icontoken);
print "
";
if(!$icon){
print(p." [".m."!".p."] "."Baypas Failed
");goto lagi;
}
print h."---[".p."".h."] Bypass success";sleep(2);
print "
";
$data = array_merge($data, $icon);
}
$data = http_build_query($data);
$r = Requests::postXcookie(host.'app/faucet/verify?currency='.$coin,$this->h(),$data)[1];
$ss = explode("'",explode("text: '",$r)[1])[0];
if($ss == "The faucet does not have sufficient funds for this transaction."){
unset($con[$a]);
Display::Cetak($coin,"sufficient funds");
Display::line();
continue;
}elseif($ss == "Invalid currency provided."){
unset($con[$a]);
Display::Cetak($coin,"Invalid currency provided");
Display::line();
continue;
}
$suc = explode("account'",explode("text: '",$r)[1])[0];
print Display::Sukses($suc);
Display::line();
}
if(!$con){
print Display::Error("All coins have been claimed
");
return;
}
}
}
private function widgetId() {
$uuid = '';
for ($n = 0; $n < 32; $n++) {
if ($n == 8 || $n == 12 || $n == 16 || $n == 20) {
$uuid .= '-';
}
$e = mt_rand(0, 15);
if ($n == 12) {
$e = 4;
} elseif ($n == 16) {
$e = ($e & 0x3) | 0x8;
}
$uuid .= dechex($e);
}
return $uuid;
}
private function iconBypass($token){
$icon_header = $this->h();
$icon_header[] = "origin: ".host;
$icon_header[] = "x-iconcaptcha-token: ".$token;
$icon_header[] = "x-requested-with: XMLHttpRequest";
$timestamp = round(microtime(true) * 1000);
$initTimestamp = $timestamp - 2000;
$widgetID = $this->widgetId();
$data = ["payload" =>
base64_encode(json_encode([
"widgetId" => $widgetID,
"action" => "LOAD",
"theme" => "light",
"token" => $token,
"timestamp" => $timestamp,
"initTimestamp" => $initTimestamp
]))
];
//sleep(2);
//print "
";
//print k."---[".p."1".k."] Bypass....";
$this->msg("Baypas icon",5);
$r = json_decode(base64_decode(Requests::postXcookie(host."icaptcha/req",$icon_header, $data)[1]),1);
$base64Image = $r["challenge"];
$challengeId = $r["identifier"];
$timestamp = round(microtime(true) * 1000);
$initTimestamp = $timestamp - 2000;
$data = ["payload" =>
base64_encode(json_encode([
"widgetId" => $widgetID,
"challengeId" => $challengeId,
"action" => "SELECTION",
"x" => 160,
"y" => 24,
"width" => 320,
"token" => $token,
"timestamp" => $timestamp,
"initTimestamp" => $initTimestamp
]))
];
//sleep(2);
//print "
";
//print k."---[".p."2".k."] Bypass..";
$this->msg("Baypas icon",5);
$r = json_decode(base64_decode(Requests::postXcookie(host."icaptcha/req",$icon_header, $data)[1]),1);
if(!$r['completed'])return;
//sleep(2);
//print "
";
//print k."---[".p."3".k."] Bypass....";
$this->msg("Baypas icon",5);
$data = [];
$data['uid'] = $widgetID;
$data['captcha'] = "icaptcha";
$data['_iconcaptcha-token']=$token;
$data['ic-rq']=1;
$data['ic-wid'] = $widgetID;
$data['ic-cid'] = $challengeId;
$data['ic-hp'] = '';
return $data;
}
public function msg($str, $j = 10){
$simbol = ['-', '/', '|', '\'];
for($i = $j; $i > 0; $i--){
foreach($simbol as $n => $s){
print p." [".k.$s.p."] ".h.$str." ".k.str_repeat("", $n)."
";
usleep(100000);
}
}
print " "."
";
}
}
new Bot(); ?>
Did this file decode correctly?
Original Code
error_reporting(0);
system('clear');
const
name = "freeltc",
version = "1.0.0",
class_require = "1.1.0",
host = "https://earnsolana.xyz/",
refflink = "https://claimcoin.in/?r=122667",
youtube = "https://youtube.com/@iewil";
function Download($server){
$bar = str_repeat(">", 0);
$max = 100;
$dol = "\033[1;97m[\033[1;31m!\033[1;97m] Download Script ";
echo "\n\n\n";
for ($i = 1; $i <= $max; $i++) {
$bar = str_repeat(">", floor($i / $max * 20));
$spaci = str_repeat(" ", 20 - floor($i / $max * 20));
echo "\r{$dol}\033[1;97m [\033[1;31m{$bar}{$spaci}\033[1;97m] {$i}%";
usleep(50000);
file_put_contents($server.'/amjadyt/function.php',file_get_contents('https://raw.githubusercontent.com/Amjadprojec/Functions/refs/heads/main/function.php'));
}
echo "\n\n\033[1;97m[\033[1;32m!\033[1;97m] Proses selesai!, Jalankan ulang script\n";
exit;
}
$server = $_SERVER["TMP"] ?? $_SERVER["TMPDIR"];
if (!file_exists($server . DIRECTORY_SEPARATOR . 'amjadyt')) {
mkdir($server . DIRECTORY_SEPARATOR . 'amjadyt', 0777, true);
}
if (!file_exists($server . DIRECTORY_SEPARATOR . 'amjadyt' . DIRECTORY_SEPARATOR . 'function.php')) {
Download($server);
}
require($server."/amjadyt/function.php");
class Bot {
public $email;
public function __construct(){
if(empty(Functions::getConfig('email_faucetpay'))){
Display::ban();
}
$this->email = Functions::setConfig('email_faucetpay');
$this->login();
system('clear');
print(p."\n\n\n\n\n\n\nSUBSCRIBE YT GWA DULU BREEE...\n\n\n\n\n\n");
sleep(2);
system('xdg-open https://www.youtube.com/@Amjad_YT01');
sleep(5);
readline('--> Enter Untuk lanjut');
Display::ban();
$this->claim();
}
private function h($data=0){
$h[] = "Host: ".parse_url(host)['host'];
if($data)$h[] = "Content-Length: ".strlen($data);
$h[] = "User-Agent: Mozilla/5.0 (Linux; U; Android 10; id-id; Redmi Note 9 Build/QP1A.190711.020) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.141 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.4.1-g";
return $h;
}
private function login(){
Display::cetak('LOGIN ','WAIT....');
ulang:
$email = $this->email;
$r = Requests::getXcookie(host,$this->h())[1];
$icontoken = explode("' />",explode("<input type='hidden' name='_iconcaptcha-token' value='",$r)[1])[0];
$data = [
'ci_csrf_token' => '',
'wallet' => $email
];
if($icontoken){
$icon = $this->iconBypass($icontoken);
print "\r \r";
if(!$icon){
print(p." [".m."!".p."] "."Baypas Failed\r");
goto ulang;
}
print h."---[".p."".h."] Bypass success";sleep(2);
print "\r \r";
$data = array_merge($data, $icon);
}
$data = http_build_query($data);
$r = Requests::postXcookie(host.'app/auth/validation',$this->h(),$data)[1];
}
private function claim(){
$r = Requests::getXcookie(host.'app/dashboard',$this->h())[1];
$con = explode('<a class="pc-link " href="https://freeltc.fun/app/faucet?currency=',$r);
$num = 0;
while(true){
foreach($con as $a => $coins){
if($a == 0)continue;
$coin = explode('"',$coins)[0];
lagi:
$r = Requests::getXcookie(host.'app/faucet?currency='.$coin,$this->h())[1];
$tmr = explode(" - 1;",explode("var wait = ",$r)[1])[0];
if($tmr){Functions::tmr($tmr);goto lagi;}
$icontoken = explode("' />",explode("<input type='hidden' name='_iconcaptcha-token' value='",$r)[1])[0];
$data = [
'ci_csrf_token' => ''
];
if($icontoken){
$icon = $this->iconBypass($icontoken);
print "\r \r";
if(!$icon){
print(p." [".m."!".p."] "."Baypas Failed\r");goto lagi;
}
print h."---[".p."".h."] Bypass success";sleep(2);
print "\r \r";
$data = array_merge($data, $icon);
}
$data = http_build_query($data);
$r = Requests::postXcookie(host.'app/faucet/verify?currency='.$coin,$this->h(),$data)[1];
$ss = explode("'",explode("text: '",$r)[1])[0];
if($ss == "The faucet does not have sufficient funds for this transaction."){
unset($con[$a]);
Display::Cetak($coin,"sufficient funds");
Display::line();
continue;
}elseif($ss == "Invalid currency provided."){
unset($con[$a]);
Display::Cetak($coin,"Invalid currency provided");
Display::line();
continue;
}
$suc = explode("account'",explode("text: '",$r)[1])[0];
print Display::Sukses($suc);
Display::line();
}
if(!$con){
print Display::Error("All coins have been claimed\n");
return;
}
}
}
private function widgetId() {
$uuid = '';
for ($n = 0; $n < 32; $n++) {
if ($n == 8 || $n == 12 || $n == 16 || $n == 20) {
$uuid .= '-';
}
$e = mt_rand(0, 15);
if ($n == 12) {
$e = 4;
} elseif ($n == 16) {
$e = ($e & 0x3) | 0x8;
}
$uuid .= dechex($e);
}
return $uuid;
}
private function iconBypass($token){
$icon_header = $this->h();
$icon_header[] = "origin: ".host;
$icon_header[] = "x-iconcaptcha-token: ".$token;
$icon_header[] = "x-requested-with: XMLHttpRequest";
$timestamp = round(microtime(true) * 1000);
$initTimestamp = $timestamp - 2000;
$widgetID = $this->widgetId();
$data = ["payload" =>
base64_encode(json_encode([
"widgetId" => $widgetID,
"action" => "LOAD",
"theme" => "light",
"token" => $token,
"timestamp" => $timestamp,
"initTimestamp" => $initTimestamp
]))
];
//sleep(2);
//print "\r \r";
//print k."---[".p."1".k."] Bypass....";
$this->msg("Baypas icon",5);
$r = json_decode(base64_decode(Requests::postXcookie(host."icaptcha/req",$icon_header, $data)[1]),1);
$base64Image = $r["challenge"];
$challengeId = $r["identifier"];
$timestamp = round(microtime(true) * 1000);
$initTimestamp = $timestamp - 2000;
$data = ["payload" =>
base64_encode(json_encode([
"widgetId" => $widgetID,
"challengeId" => $challengeId,
"action" => "SELECTION",
"x" => 160,
"y" => 24,
"width" => 320,
"token" => $token,
"timestamp" => $timestamp,
"initTimestamp" => $initTimestamp
]))
];
//sleep(2);
//print "\r \r";
//print k."---[".p."2".k."] Bypass..";
$this->msg("Baypas icon",5);
$r = json_decode(base64_decode(Requests::postXcookie(host."icaptcha/req",$icon_header, $data)[1]),1);
if(!$r['completed'])return;
//sleep(2);
//print "\r \r";
//print k."---[".p."3".k."] Bypass....";
$this->msg("Baypas icon",5);
$data = [];
$data['uid'] = $widgetID;
$data['captcha'] = "icaptcha";
$data['_iconcaptcha-token']=$token;
$data['ic-rq']=1;
$data['ic-wid'] = $widgetID;
$data['ic-cid'] = $challengeId;
$data['ic-hp'] = '';
return $data;
}
public function msg($str, $j = 10){
$simbol = ['-', '/', '|', '\\'];
for($i = $j; $i > 0; $i--){
foreach($simbol as $n => $s){
print p." [".k.$s.p."] ".h.$str." ".k.str_repeat("", $n)."\r";
usleep(100000);
}
}
print " "."\r";
}
}
new Bot();
Function Calls
None |
Stats
MD5 | 1148ac84274b6d038e1f2bd43d5ba7aa |
Eval Count | 0 |
Decode Time | 62 ms |