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 /* @ZUiRE AKA SurrealFlux 07/06/2024 */ /* seed tools */ error_reporting(0); dat..

Decoded Output download

<?php 
/* @ZUiRE AKA SurrealFlux 07/06/2024 */ 
/* seed tools */ 
error_reporting(0); 
date_default_timezone_set('Asia/Jakarta'); 
 
function coday($url, $headers, $isPost = false) { 
    $ch = curl_init($url); 
    if ($isPost) { 
        curl_setopt($ch, CURLOPT_POST, true); 
    } 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); 
    $response = curl_exec($ch); 
    curl_close($ch); 
    return $response; 
} 
 
$tokens = file('data.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); 
 
while (true) { 
    foreach ($tokens as $index => $token) { 
        $acc = $index + 1; 
        $headers = array( 
            "accept: application/json, text/plain, */*", 
            "origin: https://cf.seeddao.org", 
            "referer: https://cf.seeddao.org/", 
            'telegram-data: ' . $token, 
            "origin: https://cf.seeddao.org" 
        ); 
 
        $date = date('d-m-Y H:i:s'); 
        $claim = coday("https://elb.seeddao.org/api/v1/seed/claim", $headers, true); 
        $jsC = json_decode($claim, true); 
        $balance = coday("https://elb.seeddao.org/api/v1/profile/balance", $headers); 
        $jsB = json_decode($balance, true); 
 
        $tasks = json_decode(file_get_contents('tasks.json'), true); 
 
        foreach ($tasks as $task) { 
            $taskId = $task['id']; 
            $completeTask = coday("https://elb.seeddao.org/api/v1/tasks/$taskId", $headers, true); 
            $jsT = json_decode($completeTask, true); 
            if (isset($jsT['data'])) { 
                $completeTaskNotification = coday("https://elb.seeddao.org/api/v1/tasks/notification/" . $jsT['data'], $headers, true); 
            } 
        } 
 
        if ($jsC['data']['amount'] > 1) { 
            echo "[32m[$date] Account $acc: success claim " . number_format($jsC['data']['amount'] / 1000000000, 6, '.', '') . " [SEED Balance: " . number_format($jsB['data'] / 1000000000, 6, '.', '') . "] [0m
"; 
        } else { 
            echo "[31m[$date] Account $acc: " . $jsC['message'] . " [SEED Balance: " . number_format($jsB['data'] / 1000000000, 6, '.', '') . "] [0m
"; 
        } 
    } 
    echo "[34m====[Wait 5 minute]====[0m
"; 
    sleep(300); 
} 
?> 

Did this file decode correctly?

Original Code

<?php
/* @ZUiRE AKA SurrealFlux 07/06/2024 */
/* seed tools */
error_reporting(0);
date_default_timezone_set('Asia/Jakarta');

function coday($url, $headers, $isPost = false) {
    $ch = curl_init($url);
    if ($isPost) {
        curl_setopt($ch, CURLOPT_POST, true);
    }
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    $response = curl_exec($ch);
    curl_close($ch);
    return $response;
}

$tokens = file('data.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);

while (true) {
    foreach ($tokens as $index => $token) {
        $acc = $index + 1;
        $headers = array(
            "accept: application/json, text/plain, */*",
            "origin: https://cf.seeddao.org",
            "referer: https://cf.seeddao.org/",
            'telegram-data: ' . $token,
            "origin: https://cf.seeddao.org"
        );

        $date = date('d-m-Y H:i:s');
        $claim = coday("https://elb.seeddao.org/api/v1/seed/claim", $headers, true);
        $jsC = json_decode($claim, true);
        $balance = coday("https://elb.seeddao.org/api/v1/profile/balance", $headers);
        $jsB = json_decode($balance, true);

        $tasks = json_decode(file_get_contents('tasks.json'), true);

        foreach ($tasks as $task) {
            $taskId = $task['id'];
            $completeTask = coday("https://elb.seeddao.org/api/v1/tasks/$taskId", $headers, true);
            $jsT = json_decode($completeTask, true);
            if (isset($jsT['data'])) {
                $completeTaskNotification = coday("https://elb.seeddao.org/api/v1/tasks/notification/" . $jsT['data'], $headers, true);
            }
        }

        if ($jsC['data']['amount'] > 1) {
            echo "\033[32m[$date] Account $acc: success claim " . number_format($jsC['data']['amount'] / 1000000000, 6, '.', '') . " [SEED Balance: " . number_format($jsB['data'] / 1000000000, 6, '.', '') . "] \033[0m\n";
        } else {
            echo "\033[31m[$date] Account $acc: " . $jsC['message'] . " [SEED Balance: " . number_format($jsB['data'] / 1000000000, 6, '.', '') . "] \033[0m\n";
        }
    }
    echo "\033[34m====[Wait 5 minute]====\033[0m\n";
    sleep(300);
}
?>

Function Calls

error_reporting 1
date_default_timezone_set 1

Variables

None

Stats

MD5 7dee15969121aeb48db90c3ce1914be8
Eval Count 0
Decode Time 61 ms