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 /* NUHUN */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64..

Decoded Output download

<!DOCTYPE html>
<html>
<head>
    <title>Main Page</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-image: url('bgs.jpg');
            background-size: cover;
        }

        .main-container {
            width: 800px;
            margin: 0 auto;
            margin-top: 50px;
            padding: 20px;
            border: 3px solid blue;
            border-radius: 10px;
            background-color: #ffffff;
        }

        .header {
            font-size: 24px;
            text-align: center;
            margin-bottom: 20px;
        }

        .game-master-panel {
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
        }


        .backtohome {
            padding: 4px 8px;
	    text-decoration: none;
            background-color: blue;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            float: left;
            margin-top: 20px;
            margin-right: 20px;
        }

        .backtohome:hover {
            background-color: #ff6651;
        }

form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

label {
    font-weight: bold;
}

input[type="text"], input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin: 6px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

    </style>
</head>
<body>
    <audio autoplay>
        <source src="bsg.mp3" type="audio/mpeg">
    </audio>
    <div class="main-container">
    <div class="header">Input Cash Coin To Player<br>
    <a class="backtohome" href="main.php"<button>Back To Home</button></a>
    </div>


        <div class="gmmasterpanel">
            <form action="charge.php" method="post">
                <label for="id">ID:</label><br>
                <input type="text" id="id" name="id"><br><br>
                <label for="cash">Cash Amount:</label><br>
                <input type="text" id="cash" name="cash"><br><br>
                <input type="submit" value="Charge">
            </form>
        </div>
    </div>

</body>
</html>

</html>$O000O0O00=$OOO000O00($OOO0O0O00,'rb');$O0O00OO00($O000O0O00,0x480);$OO00O00O0=$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,0x17c),'rUtM2F9S5q4zVuwZyjvnB+ocC0OYbkA87fDdgR3Wm/HxPsX6peGKI1QEJiThalLN=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'rUtM2F9S5q4zVuwZyjvnB+ocC0OYbkA87fDdgR3Wm/HxPsX6peGKI1QEJiThalLN=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0);echo '<!DOCTYPE html>
<html>
<head>
    <title>Main Page</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-image: url(\'bgs.jpg\');
            background-size: cover;
        }

        .main-container {
            width: 800px;
            margin: 0 auto;
            margin-top: 50px;
            padding: 20px;
            border: 3px solid blue;
            border-radius: 10px;
            background-color: #ffffff;
        }

        .header {
            font-size: 24px;
            text-align: center;
            margin-bottom: 20px;
        }

        .game-master-panel {
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
        }


        .backtohome {
            padding: 4px 8px;
	    text-decoration: none;
            background-color: blue;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            float: left;
            margin-top: 20px;
            margin-right: 20px;
        }

        .backtohome:hover {
            background-color: #ff6651;
        }

form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

label {
    font-weight: bold;
}

input[type="text"], input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin: 6px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

    </style>
</head>
<body>
    <audio autoplay>
        <source src="bsg.mp3" type="audio/mpeg">
    </audio>
    <div class="main-container">
    <div class="header">Input Cash Coin To Player<br>
    <a class="backtohome" href="main.php"<button>Back To Home</button></a>
    </div>


        <div class="gmmasterpanel">
            <form action="charge.php" method="post">
                <label for="id">ID:</label><br>
                <input type="text" id="id" name="id"><br><br>
                <label for="cash">Cash Amount:</label><br>
                <input type="text" id="cash" name="cash"><br><br>
                <input type="submit" value="Charge">
            </form>
        </div>
    </div>

</body>
</html>

</html>';;

Did this file decode correctly?

Original Code

<?php /* NUHUN */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0xdb8;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NDgwKTskT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tr75tr75tr7kQRgk97T5M7pVSUJwpI45tr75tr75tr75tr7YoFG0QRXwDrp59F1k9ahMym75tr75tr75tr75tUsCcqWOoJsk9lpwDr1VSUJwpI45tr75tr75tr75tr7b9Fg09RX0Km7VdUpAMPutDr75tr75tr75tr759q6b3jRbdm7VEUJ5Su6Y9Rg59qPkoBhMym75tr75tr75tr75tUDYEqg0c5sb3FgOc+KwDreVSUJwpI45tr75tr75tr75tr7C3FdOQkGYE+X0t1dYQe6bdm75Q0303030dPutDr75tr75tr78yI4Mym75tr75tr75tim0oFg0c57ApI45tr75tr75tr75tr703lXkt1KOc/RwDrGuSUJwpI45tr75tr75tr75tr7k9+Jkt1fY9RWYdm7CQ+Xk9+GwpI45tr75tr75tr75tr7YoFG0QRXzoq6kSj6Ynm7VdUpAMPutDr75tr75tr78yI4Mym75tr75tr75tiWCo1Rzo1fbEjRbD1pCoiRYtUhMym75tr75tr75tr75tUDYEqg0c5T5MFpAtUKYQe/0trdCQudwpI45tr75tr75tr75tr7b9Fg09RX0Km7VdUpAMPutDr75tr75tr75tr759q6b3jRbD1GCoj/kcVT5M2pbS7hMym75tr75tr75tr75tUsCcqWOoJsk9lpwDrGVSUJwpI45tr75tr75tUlMymut7I45tr75tr75trXC3FdOEj6O9ls0vUhMym75tr75tr75tr75tUpCojgOoiWwDrIbS77wSUJwpI4tvr75tUI0cfIzojRCQlGCcj/YQJT59i6Y3BhMym75tr75tr75tr75tUDCoux0Eq6koigzou6Y9lGwDUDYS+RwpI45tr75tr75tr75tr7CQlPYE5T5tu303ChMym75tr75tr75tr75tUDYEqg0c5T59i6Y3BhMym75tr75tr75tr75tUDYEqg0c5sb3FgOc+KwDr1bS7hMym75tr75tr75tr75tUdkcqKYE5T5SU6OoiI0c5hMym75tr75tr75tr75tU3Y9lfkMm7Y9+3kMPutDr75tr75tr75tr7591fb3k/YD1IYErT5M5pbS7hMym75tr75tr75tr75tUsCcqWOoJsb3RWOSyT5M5pbS7hMym75tr75tr75SIut7I45tr75tr75trXC3FdOEj6O9ls0n/mYE0RbDUhMym75tr75tr75tr75tUDCoux0Eq6koigzou6Y9lGwDrd03CQudBewpI45tr75tr75tUlMymut306b3I7ApI45tr75Sk/0SjmwDreVMrRwpI45tr7591fAt1EOojIOMm7uMrpbS7hMym75tr7YoFG0QRXwDrp59F1k9ahMy/lMymut3efC3+P5SPutDr75tU3YQiIzckROokmkMm7C3lP0MPutWIut7I4OoipkcjYkSRp0nIDk9+JktqkztU/YWU1kFsIAcURZvqKkoqsOcyDcvUhMym75tr7kQRgk97T5M2pVtBhMym75tr7b9Fg09RX0Km7VnqpAMPutDr75tUsCcqWOoJT5M0pAtrpwpI45tr759j/bEUPCcgT59RXY9RX0v1DY9ldOKPutDr75tUDYEqg0c5T5MFpAtUKYQe/0trdCQudwpI45tr759q6b3jRbD1GCoj/kcVT5MjpAMPutDr75tUDYE7sbQRTOoiWwDUDYEqg0c5sC3lJwpI48yI4My//YWU1kFsIAcURZvqKkoqsOcyDcvUhMym75tr7C3FdOQkGYE+X0t1dYQe6bdm75KjMyBC1VMPutDr75tUdYQe6bdm7kQf/k9BhMym75tr7b9Fg09RX0Km7VnjpAtrGVSUJwpI45tr7591fb3k/Ydm7wSUJ5MrhMym75tr7C3lG09+GwDUXYQiRwpI45tr759q6b3jRbD1GCoj/kcVT5MjpAMPutDr75tUdkcqKYE5T5SU6OoiI0c5hMy/lMymut3RXbS+IoEjib9Bl5Wu1C31/ktqkw3f6k3+G5SPutDr75tUDCoux0Eq6koigzou6Y9lGwDrduM+fVMyiwpI48yI4Mym75tr7ZtlKkSRP0nJutdp6O9+f0MJutdeDYQjiZ7I45tr75Mefkoj/YGUfkcj6b9efAnJutDr75tr75tr7ZSu6kcqd0vUKb3Vl53qK0GisbMVD5Sjib9Bl53F109R6zQ1p0obDZ7I45tr75Mp6Cc+gOoaLMym75tr7Z9j/kDUdY9FKbKIDYoF/YD1dYQiICoRX0c5DZ7I45tr75MegOcC7CQefbEVl53fRCojRbD5Lvoipkcy7yQFKOtUMYQRX5Fj65FUPCcRRbdeDbdJutDr75traCvUdY9FKbKIDC3FdOEj6O9ls0v57OSqR0dIDYoF/YDipOSrDZ9q1kSj6YditCoux5Fj652f6YoBazQq1kSj6YdJazQ2LMym75tr7ZtlgOcCLMymut7I45tr75tr75tra09RQ59uPCcuKZvqWYo1fbEjRbWUfY3+P5dJutDr75tr75tr75tr75Me3YEqs59Fdk9R6YdIDCQffb3kRzWUmbt57Yo+IO9lgZvqpYEuI5dJutDr75tr75tr75tr75tr75traY9FD0op703lGZvq/0t5LvByTZtlPCoqRYMJaCW5LMym75tr75tr75tr75tr75tr7Z9RXbS+I5Sjib9Bl5WjRASyD59RgZvq/0t57Y3Fs0nIDOoyDZdeDbdJaCW5LMym75tr75tr75tr75tr75tr7Z9efC3+P5906bdIDCQFKOt5LyQFKOtUUYol1YWyTZtlPCoqRYMJaCW5LMym75tr75tr75tr75tr75tr7Z9RXbS+I5Sjib9Bl5WjRASyD59RgZvqdCcum5DUXCo1RZvqdCcum5dJaCW5LZ9qGZ7I45tr75tr75tr75tr75tr75Me/YWU1ktUIAcURZvqKkoqsOcyD5S0fYS+RZvqMO9FG0QBDZ7I45tr75tr75tr75tr7Ztl3YEqsZ7I45tr75tr75trazQj/kdJutDr75trazQj/kdJut7I4ZtlDYQjiZ7I4Ztlmk91PZ7I4MymazQfIYopLqKPhyI\|f

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 3512
$OO00O00O0 echo '<!DOCTYPE html> <html> <head> <title>Main Page<..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 851aaba900cce439648aaf89348505b6
Eval Count 3
Decode Time 85 ms