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 /* LiveImport (c) MaxD, 2018. Write to [email protected] for support and purchase..

Decoded Output download

<?php 
/* 
LiveImport (c) MaxD, 2018. Write to [email protected] for support and purchase. 
*/ 
 goto b1e; Da6: E5(); ?> 
">Back</a> 
    <a rel="external" data-role="button" data-theme="b" data-icon="plus" data-inline="true" 
       href="<?php  e5(); ?> 
ins&donor_id=<?php  echo $b2c["donor_id"]; goto Ed8; b1e: $d8d = @$_GET["il"]; if (!@$_GET["delete_entities"]) { goto Be7; } if (!(ini_get("max_execution_time") < 600)) { goto F9d; } if (ini_get("safe_mode")) { goto B8c; } set_time_limit(600); goto b7c; Ed8: ?> 
&il=<?php  echo $d8d; ?> 
">Add Task</a> 
    <a rel="external" data-role="button" data-icon="grid" data-inline="true" 
       href="<?php  E5(); ?> 
tree&id=<?php  goto b0b; af8: ?> 
        </ul> 
        <br/> 
        <div style="font-size:12px; margin-top:10px; margin-left: -5px"> 
            <a style="cursor:pointer" onclick="$('#operations').show(300); $('[type=checkbox]').prop('checked', true).checkboxradio('refresh')">Select All</a> 
            <?php  if (!($C39 and $Bbd)) { goto c26; } ?> 
                <a style="cursor:pointer" 
                   onclick="$('#operations').show(300); $('[type=checkbox]').prop('checked', false).checkboxradio('refresh'); $('.ia').prop('checked', true).checkboxradio('refresh')"> 
                    / Active</a> 
                <a style="cursor:pointer" 
                   onclick="$('#operations').show(300); $('[type=checkbox]').prop('checked', false).checkboxradio('refresh'); $('.ip').prop('checked', true).checkboxradio('refresh')">/ 
                    Inactive</a> 
            <?php  c26: ?> 
            <div id="operations" style="display: none; font-size:15px; margin-left:0px; margin-top:7px; zoom: 0.75; -moz-transform: scale(0.75)"> 
                Selected tasks 
                <input  name="o_run" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="play" data-theme="b" value="Start"/> 
                <input name="o_on" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="power" data-theme="e" value="On"/> 
                <input name="o_off" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="power" value="Off"/> 
                <input name="o_del" onclick="return confirm('Delete selected tasks?')" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="delete" data-theme="a" value="Delete"/> 
                <input name="o_del_goods" onclick="return confirm('Delete products from selected tasks?')" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="grid" data-theme="a" value="Delete products"/> 
                <input name="o_formula" onclick="$(this).val(prompt('Enter price formula for selected tasks', 'X')); return $(this).val().length>0;" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="edit" data-theme="c" value="Price formula..."/> 
            </div> 
        </div> 
    </form> 
 
    <br/><br/> 
 
</div> 
 
<script> 
    $('[type=checkbox]').on('click', function() {$('#operations').show(300)}); 
 
</script> 
 
<?php  goto f3d; fd6: ?> 
</font></h2> 
    <form rel="external" data-ajax="false" 
          action="<?php  E5(); ?> 
tasks&id=<?php  echo $b2c["donor_id"]; ?> 
&il=<?php  goto Ae8; f3d: if (!$d8d) { goto Ccb; } ?> 
    <style type="text/css"> 
        .video { 
            display: block; 
            font-size: 18px; 
            background: #DDD; 
            padding: 5px; 
            text-decoration: none; 
            text-shadow: none; 
            font-weight: normal !important; 
        } 
 
        .video:hover { 
            background: #EDEF7D; 
        } 
 
        .video img { 
            vertical-align: middle; 
            margin-right: 7px; 
        } 
 
        .video span { 
            color: grey !important; 
        } 
    </style> 
    <a target='_blank' href='https://www.youtube.com/watch?v=ZikSxm1p6mo' class="video"> 
        <img src="lib/static/video.png"/> <span>Video:</span> Automated Processing Setup 
    </a> 
<?php  Ccb: goto dd3; ef0: c84: $C39 = 0; $Bbd = 0; require df . "lib/code/ce21.php"; ?> 
 
    <style type="text/css"> 
        [type=checkbox] { 
            margin-left: 2px !important; 
            margin-top: 6px !important; 
            width: 30px !important; 
            height: 30px !important; 
        } 
 
        .ui-dialog-contain { 
            width: 700px !important; 
            max-width: 700px !important; 
        } 
 
        .ui-listview .ui-btn { 
            font-size: 14px !important; 
            padding-left: 40px; 
        } 
 
        .ui-li .ui-btn-text a.ui-link-inherit { 
            text-overflow: clip !important; 
            overflow: visible !important; 
            white-space: normal !important; 
        } 
 
        .ui-li-count { 
            margin-right: 60px; 
        } 
 
        .ui-btn-icon-right { 
            padding-left: 40px !important; 
        } 
    </style> 
 
<div data-ajax="false"> 
 
    <a rel="external" data-role="button" data-icon="arrow-l" data-inline="true" href="<?php  goto Da6; D59: af9: $b2c = query("SELECT * FROM parsemx_donors WHERE donor_id=" . $_GET["id"])->row; if (empty($_POST)) { goto c84; } if (!(ini_get("max_execution_time") < 600)) { goto F98; } if (ini_get("safe_mode")) { goto ad4; } goto f76; b7c: B8c: F9d: f7($_GET["id"], $_GET["delete_entities"]); Af("tasks&id=" . $_GET["id"] . "&il=" . $d8d); Be7: goto Cd6; f76: set_time_limit(600); ad4: F98: foreach ($_POST as $id => $Dd3) { goto F33; e3a: if (!empty($_POST["o_off"])) { goto B4e; } if (!empty($_POST["o_del"])) { goto B7d; } if (!empty($_POST["o_del_goods"])) { goto Faf; } if (!empty($_POST["o_formula"])) { goto Fca; } goto a7c; goto Fdb; ca5: goto a7c; B7d: query("DELETE FROM parsemx_ins WHERE ins_id=" . $id); goto a7c; Faf: goto E0c; fe6: d2c: query("UPDATE parsemx_ins SET status='1' WHERE ins_id=" . $id); goto a7c; B4e: query("UPDATE parsemx_ins SET status='0' WHERE ins_id=" . $id); goto ca5; F33: if (is_numeric($id)) { goto a3a; } goto c52; a3a: if (!empty($_POST["o_run"])) { goto e26; } if (!empty($_POST["o_on"])) { goto d2c; } goto e3a; Fdb: e26: c8($_GET["id"], $id); $ins = query("SELECT * FROM parsemx_ins WHERE ins_id=" . $id)->row; xlog("NOTICE: Task <b>" . $ins["title"] . "</b> started."); goto a7c; goto fe6; acc: c52: goto D1c; E0c: f7($_GET["id"], $id); goto a7c; Fca: query("UPDATE parsemx_ins SET price='" . escape($_POST["o_formula"]) . "' WHERE ins_id=" . $id); a7c: goto acc; D1c: } Dce: goto ef0; b0b: echo $b2c["donor_id"]; ?> 
&il=<?php  echo $d8d; ?> 
">Category Tree</a> 
 
 
    <h2>Tasks <font color="grey">for <?php  echo $b2c["host"]; goto fd6; Cd6: if (!@$_GET["run"]) { goto af9; } c8($_GET["id"], $_GET["run"]); $ins = query("SELECT * FROM parsemx_ins WHERE ins_id=" . $_GET["run"])->row; xlog("NOTICE: Task <b>" . $ins["title"] . "</b> started."); AF("tasks&id=" . $_GET["id"] . "&il=" . $d8d); goto D59; Ae8: echo $d8d; ?> 
" method="post"> 
        <br/> 
        <ul data-role="listview"> 
            <?php  $E3f = query("SELECT *, (SELECT COUNT(*) FROM parsemx_entities WHERE ins_id=i.ins_id) as n FROM parsemx_ins i WHERE donor_id=" . $b2c["donor_id"] . " ORDER BY title")->rows; foreach ($E3f as $ins) { goto Cc6; Dff: if (!$ins["status"]) { goto cfb; } echo " data-theme="e""; cfb: ?> 
><input type="checkbox" class="<?php  if ($ins["status"]) { goto Fda; } goto B92; b62: goto d51; Ccc: $C39++; d51: ?> 
                <li<?php  goto Dff; Caa: ?> 
" name="<?php  echo $ins["ins_id"]; ?> 
"/><a href="index.php?route=ins&id=<?php  echo $ins["ins_id"]; ?> 
&il=<?php  goto e90; B92: echo "ip"; goto d96; Fda: echo "ia"; d96: goto Caa; e90: echo $d8d; ?> 
"><?php  echo $ins["title"]; ?> 
</a> 
                    <?php  if (!@$_GET["il"]) { goto B81; } goto F02; B9b: B81: ?> 
                    <?php  if (!$ins["n"]) { goto C53; } ?> 
<span class="ui-li-count"><?php  echo $ins["n"]; goto aa1; aa1: ?> 
 products</span><?php  C53: ?> 
</li> 
            <?php  A5a: goto B9d; F02: ?> 
                        <a data-icon='play' data-theme='b' 
                           href="<?php  echo e5() . "tasks&id=" . $_GET["id"] . "&run=" . $ins["ins_id"]; ?> 
&il=<?php  echo $d8d; ?> 
">Start Task</a> 
                    <?php  goto B9b; Cc6: if (!($ins["title"] == "Default")) { goto B4d; } goto A5a; B4d: if ($ins["status"]) { goto Ccc; } $Bbd++; goto b62; B9d: } b9b: goto af8; dd3: ?> 

Did this file decode correctly?

Original Code

<?php
/*
LiveImport (c) MaxD, 2018. Write to [email protected] for support and purchase.
*/
 goto b1e; Da6: E5(); ?>
">Back</a>
    <a rel="external" data-role="button" data-theme="b" data-icon="plus" data-inline="true"
       href="<?php  e5(); ?>
ins&donor_id=<?php  echo $b2c["\x64\157\156\x6f\162\x5f\x69\144"]; goto Ed8; b1e: $d8d = @$_GET["\151\154"]; if (!@$_GET["\x64\145\x6c\x65\164\145\137\x65\x6e\x74\x69\164\x69\x65\163"]) { goto Be7; } if (!(ini_get("\155\x61\x78\x5f\x65\x78\145\x63\165\x74\151\x6f\156\x5f\x74\151\x6d\x65") < 600)) { goto F9d; } if (ini_get("\163\141\x66\x65\137\x6d\157\144\x65")) { goto B8c; } set_time_limit(600); goto b7c; Ed8: ?>
&il=<?php  echo $d8d; ?>
">Add Task</a>
    <a rel="external" data-role="button" data-icon="grid" data-inline="true"
       href="<?php  E5(); ?>
tree&id=<?php  goto b0b; af8: ?>
        </ul>
        <br/>
        <div style="font-size:12px; margin-top:10px; margin-left: -5px">
            <a style="cursor:pointer" onclick="$('#operations').show(300); $('[type=checkbox]').prop('checked', true).checkboxradio('refresh')">Select All</a>
            <?php  if (!($C39 and $Bbd)) { goto c26; } ?>
                <a style="cursor:pointer"
                   onclick="$('#operations').show(300); $('[type=checkbox]').prop('checked', false).checkboxradio('refresh'); $('.ia').prop('checked', true).checkboxradio('refresh')">
                    / Active</a>
                <a style="cursor:pointer"
                   onclick="$('#operations').show(300); $('[type=checkbox]').prop('checked', false).checkboxradio('refresh'); $('.ip').prop('checked', true).checkboxradio('refresh')">/
                    Inactive</a>
            <?php  c26: ?>
            <div id="operations" style="display: none; font-size:15px; margin-left:0px; margin-top:7px; zoom: 0.75; -moz-transform: scale(0.75)">
                Selected tasks
                <input  name="o_run" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="play" data-theme="b" value="Start"/>
                <input name="o_on" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="power" data-theme="e" value="On"/>
                <input name="o_off" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="power" value="Off"/>
                <input name="o_del" onclick="return confirm('Delete selected tasks?')" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="delete" data-theme="a" value="Delete"/>
                <input name="o_del_goods" onclick="return confirm('Delete products from selected tasks?')" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="grid" data-theme="a" value="Delete products"/>
                <input name="o_formula" onclick="$(this).val(prompt('Enter price formula for selected tasks', 'X')); return $(this).val().length>0;" data-mini="true" type="submit" data-direction="reverse" data-inline="true" data-icon="edit" data-theme="c" value="Price formula..."/>
            </div>
        </div>
    </form>

    <br/><br/>

</div>

<script>
    $('[type=checkbox]').on('click', function() {$('#operations').show(300)});

</script>

<?php  goto f3d; fd6: ?>
</font></h2>
    <form rel="external" data-ajax="false"
          action="<?php  E5(); ?>
tasks&id=<?php  echo $b2c["\x64\x6f\x6e\157\162\137\x69\x64"]; ?>
&il=<?php  goto Ae8; f3d: if (!$d8d) { goto Ccb; } ?>
    <style type="text/css">
        .video {
            display: block;
            font-size: 18px;
            background: #DDD;
            padding: 5px;
            text-decoration: none;
            text-shadow: none;
            font-weight: normal !important;
        }

        .video:hover {
            background: #EDEF7D;
        }

        .video img {
            vertical-align: middle;
            margin-right: 7px;
        }

        .video span {
            color: grey !important;
        }
    </style>
    <a target='_blank' href='https://www.youtube.com/watch?v=ZikSxm1p6mo' class="video">
        <img src="lib/static/video.png"/> <span>Video:</span> Automated Processing Setup
    </a>
<?php  Ccb: goto dd3; ef0: c84: $C39 = 0; $Bbd = 0; require df . "\x6c\151\142\x2f\143\157\x64\145\57\143\x65\62\61\x2e\160\x68\160"; ?>

    <style type="text/css">
        [type=checkbox] {
            margin-left: 2px !important;
            margin-top: 6px !important;
            width: 30px !important;
            height: 30px !important;
        }

        .ui-dialog-contain {
            width: 700px !important;
            max-width: 700px !important;
        }

        .ui-listview .ui-btn {
            font-size: 14px !important;
            padding-left: 40px;
        }

        .ui-li .ui-btn-text a.ui-link-inherit {
            text-overflow: clip !important;
            overflow: visible !important;
            white-space: normal !important;
        }

        .ui-li-count {
            margin-right: 60px;
        }

        .ui-btn-icon-right {
            padding-left: 40px !important;
        }
    </style>

<div data-ajax="false">

    <a rel="external" data-role="button" data-icon="arrow-l" data-inline="true" href="<?php  goto Da6; D59: af9: $b2c = query("\x53\105\x4c\x45\103\x54\x20\x2a\40\106\122\117\115\40\160\141\x72\x73\x65\155\x78\x5f\144\157\x6e\x6f\162\x73\40\127\110\105\122\105\x20\144\157\156\157\162\x5f\151\144\x3d" . $_GET["\x69\x64"])->row; if (empty($_POST)) { goto c84; } if (!(ini_get("\155\x61\170\x5f\x65\170\x65\x63\165\x74\151\x6f\156\137\164\151\155\x65") < 600)) { goto F98; } if (ini_get("\163\x61\146\145\137\155\x6f\x64\x65")) { goto ad4; } goto f76; b7c: B8c: F9d: f7($_GET["\151\144"], $_GET["\x64\145\x6c\145\164\145\137\x65\x6e\x74\x69\164\x69\x65\x73"]); Af("\x74\141\x73\x6b\x73\46\151\x64\x3d" . $_GET["\151\x64"] . "\46\x69\154\x3d" . $d8d); Be7: goto Cd6; f76: set_time_limit(600); ad4: F98: foreach ($_POST as $id => $Dd3) { goto F33; e3a: if (!empty($_POST["\x6f\x5f\157\x66\x66"])) { goto B4e; } if (!empty($_POST["\157\137\x64\x65\x6c"])) { goto B7d; } if (!empty($_POST["\157\137\x64\145\x6c\137\147\157\x6f\144\x73"])) { goto Faf; } if (!empty($_POST["\157\x5f\x66\x6f\162\155\x75\x6c\141"])) { goto Fca; } goto a7c; goto Fdb; ca5: goto a7c; B7d: query("\104\x45\114\105\x54\105\40\106\122\117\x4d\x20\x70\x61\162\163\x65\x6d\x78\x5f\151\156\x73\40\127\x48\x45\122\x45\40\151\156\163\x5f\x69\x64\75" . $id); goto a7c; Faf: goto E0c; fe6: d2c: query("\x55\x50\x44\101\x54\x45\40\160\141\x72\x73\145\155\x78\137\x69\x6e\x73\x20\123\x45\x54\x20\163\x74\141\x74\x75\163\75\47\x31\47\x20\x57\110\105\x52\x45\40\x69\x6e\163\137\151\144\x3d" . $id); goto a7c; B4e: query("\125\x50\104\x41\124\x45\40\160\x61\162\x73\145\x6d\170\137\x69\156\163\40\x53\x45\x54\40\163\x74\x61\x74\165\163\75\x27\x30\x27\x20\127\110\x45\122\x45\40\x69\156\x73\137\151\x64\75" . $id); goto ca5; F33: if (is_numeric($id)) { goto a3a; } goto c52; a3a: if (!empty($_POST["\157\x5f\x72\165\x6e"])) { goto e26; } if (!empty($_POST["\157\137\x6f\156"])) { goto d2c; } goto e3a; Fdb: e26: c8($_GET["\x69\x64"], $id); $ins = query("\123\105\x4c\105\103\124\40\x2a\40\x46\122\x4f\x4d\x20\x70\x61\162\163\145\x6d\170\137\151\x6e\x73\x20\127\x48\105\x52\105\40\151\156\x73\137\151\x64\75" . $id)->row; xlog("\116\117\x54\x49\x43\105\x3a\x20\124\141\163\153\40\x3c\x62\76" . $ins["\x74\x69\x74\154\x65"] . "\x3c\57\142\x3e\40\x73\x74\141\x72\164\x65\x64\x2e"); goto a7c; goto fe6; acc: c52: goto D1c; E0c: f7($_GET["\x69\x64"], $id); goto a7c; Fca: query("\x55\x50\104\x41\x54\105\40\160\x61\162\163\x65\155\170\x5f\151\x6e\163\40\x53\105\124\x20\x70\162\151\x63\x65\75\x27" . escape($_POST["\157\137\146\157\162\155\x75\154\141"]) . "\x27\x20\x57\x48\x45\122\x45\40\151\156\163\x5f\151\x64\75" . $id); a7c: goto acc; D1c: } Dce: goto ef0; b0b: echo $b2c["\x64\x6f\156\x6f\162\137\151\x64"]; ?>
&il=<?php  echo $d8d; ?>
">Category Tree</a>


    <h2>Tasks <font color="grey">for <?php  echo $b2c["\x68\157\x73\164"]; goto fd6; Cd6: if (!@$_GET["\x72\165\156"]) { goto af9; } c8($_GET["\x69\144"], $_GET["\x72\165\156"]); $ins = query("\123\x45\x4c\x45\x43\x54\x20\x2a\40\x46\122\x4f\x4d\x20\160\x61\162\x73\145\x6d\x78\137\151\x6e\163\40\127\x48\105\122\x45\40\151\x6e\163\x5f\151\x64\x3d" . $_GET["\x72\x75\156"])->row; xlog("\116\117\124\x49\x43\x45\72\40\x54\141\163\153\40\x3c\142\76" . $ins["\164\x69\x74\x6c\x65"] . "\74\57\x62\76\40\x73\x74\141\162\x74\x65\x64\56"); AF("\164\x61\163\x6b\x73\46\x69\x64\75" . $_GET["\x69\144"] . "\x26\x69\154\75" . $d8d); goto D59; Ae8: echo $d8d; ?>
" method="post">
        <br/>
        <ul data-role="listview">
            <?php  $E3f = query("\123\105\x4c\105\103\124\x20\x2a\54\x20\50\x53\105\x4c\x45\x43\124\x20\x43\117\x55\116\124\50\x2a\51\x20\x46\122\117\x4d\x20\160\141\162\163\145\155\x78\137\145\156\164\x69\164\x69\x65\163\40\x57\x48\x45\x52\105\40\151\x6e\163\x5f\x69\144\75\x69\x2e\151\156\x73\137\151\x64\51\40\x61\x73\x20\x6e\40\106\x52\x4f\x4d\x20\x70\x61\x72\163\145\155\x78\137\151\x6e\163\x20\151\40\x57\110\105\x52\105\40\144\157\156\x6f\162\x5f\151\x64\75" . $b2c["\x64\x6f\156\x6f\162\x5f\x69\144"] . "\40\x4f\x52\x44\105\x52\x20\102\131\x20\x74\151\x74\154\x65")->rows; foreach ($E3f as $ins) { goto Cc6; Dff: if (!$ins["\x73\x74\x61\164\165\163"]) { goto cfb; } echo "\x20\144\141\164\141\x2d\x74\x68\x65\x6d\145\x3d\x22\145\x22"; cfb: ?>
><input type="checkbox" class="<?php  if ($ins["\x73\x74\141\x74\165\163"]) { goto Fda; } goto B92; b62: goto d51; Ccc: $C39++; d51: ?>
                <li<?php  goto Dff; Caa: ?>
" name="<?php  echo $ins["\151\x6e\x73\137\151\144"]; ?>
"/><a href="index.php?route=ins&id=<?php  echo $ins["\x69\156\x73\137\151\x64"]; ?>
&il=<?php  goto e90; B92: echo "\151\x70"; goto d96; Fda: echo "\151\x61"; d96: goto Caa; e90: echo $d8d; ?>
"><?php  echo $ins["\164\151\x74\x6c\x65"]; ?>
</a>
                    <?php  if (!@$_GET["\151\x6c"]) { goto B81; } goto F02; B9b: B81: ?>
                    <?php  if (!$ins["\156"]) { goto C53; } ?>
<span class="ui-li-count"><?php  echo $ins["\156"]; goto aa1; aa1: ?>
 products</span><?php  C53: ?>
</li>
            <?php  A5a: goto B9d; F02: ?>
                        <a data-icon='play' data-theme='b'
                           href="<?php  echo e5() . "\x74\x61\163\x6b\x73\46\x69\144\75" . $_GET["\x69\x64"] . "\x26\x72\165\156\x3d" . $ins["\x69\156\x73\x5f\x69\x64"]; ?>
&il=<?php  echo $d8d; ?>
">Start Task</a>
                    <?php  goto B9b; Cc6: if (!($ins["\x74\x69\x74\154\x65"] == "\x44\145\x66\141\x75\x6c\x74")) { goto B4d; } goto A5a; B4d: if ($ins["\x73\x74\x61\x74\165\x73"]) { goto Ccc; } $Bbd++; goto b62; B9d: } b9b: goto af8; dd3: ?>

Function Calls

None

Variables

None

Stats

MD5 19f11782d1702e88756ee56610dda5b9
Eval Count 0
Decode Time 64 ms