Jump to content

can someone tell me what this code is.


ballhogjoni

Recommended Posts

I just installed linkmachine on my server and I was looking at the code and it looks like this.

 

error_reporting( E_ALL ^ E_NOTICE); $O1hv=ini_get("\144\151\163\141\142\154\145\137\146\165\156\143\164\151\157\156\163");

 

of cousre there is more code thatn this but i jsut picked out some cuz I cant tell where it begins and ends.

Link to comment
Share on other sites

error_reporting( E_ALL ^ E_NOTICE); // report all error except Notice

// it meant php would print out error messages if you have any run-time error, only Notice is not being printed.

 

$O1hv=ini_get("\144\151\163\141\142\154\145\137\146\165\156\143\164\151\157\156\163"); // meaningless

Link to comment
Share on other sites

the error_reporting used to detect error and warning.  It's common to use that to see how is your code perform, debug...

the second line ini_get suppose to return something meaningfull from php configuration but the argument (\144\151\163\141\142\154\145\137\146\165\156\143\164\151\157\156\163) does not make any sense.

Link to comment
Share on other sites

This is more code that I cannot decode. I did a search for octal translator or decoder but I can't figure this out.

 

error_reporting( E_ALL ^ E_NOTICE); $O1hv=ini_get("\144\151\163\141\142\154\145\137\146\165\156\143\164\151\157\156\163"); if (strpos($O1hv,"\151\156\151\137\163\145\164") === FALSE) { $l1hw=ini_get("\155\145\155\157\162\171\137\154\151\155\151\164"); if ( isset ($l1hw) && ($l1hw != "")) { $l1hw= (int) str_replace("\115","",$l1hw); if ($l1hw<024) { ini_set("\155\145\155\157\162\171\137\154\151\155\151\164","\062\060\115"); } } } function includeerrorhandler($l1bl,$O1bl,$l1hn,$O1hn) { if ($l1bl == 8) { return; } checkup(); echo "\074\142\076\105\162\162\157\162\074\057\142\076\040\133$l1bl\135\040$O1bl\074\142\162\040\057\076\n"; echo "\040\040\105\162\162\157\162\040\151\156\040\154\151\156\145\040$O1hn\040\157\146\040\146\151\154\145\040$l1hn"; echo "\054\040\120\110\120\040".PHP_VERSION."\040\050".PHP_OS."\051\074\142\162\040\057\076\n"; exit (); } $l1ba=074*017; if ($ua == "\164\145\163\164") { echo "\163\165\143\143\145\163\163"; exit (); } else if ($ua == "\143\150\145\143\153\165\160") { checkup(); exit (); } else if ($ua == "\141\144\144\137\164\157\137\143\146\147") { $O1bh=fopen("\154\155\056\143\146\147","\141"); fwrite($O1bh,"\n".$O1g0); fclose($O1bh); flush(); } $O1ba=l1bb(); $GLOBALS[O1bb]=FALSE; $GLOBALS[l1bc]=FALSE;

Link to comment
Share on other sites

error_reporting( E_ALL ^ E_NOTICE);
$O1hv=ini_get("disable_functions");
if (strpos($O1hv,"ini_set") === FALSE)
{
    $l1hw=ini_get("memory_limit");
    if ( isset ($l1hw) && ($l1hw != ""))
    {
        $l1hw= (int) str_replace("M","",$l1hw);
        if ($l1hw<024)
        {
          ini_set("memory_limit","20M");
        }
    }
}

function includeerrorhandler($l1bl,$O1bl,$l1hn,$O1hn)
{
    if ($l1bl == Cool
    { return; }

    checkup();
    echo "<b>Error</b> [$l1bl] $O1bl<br />\n";
    echo "  Error in line $O1hn of file $l1hn";
    echo ", PHP".PHP_VERSION." (".PHP_OS.")<br />\n";
    exit ();
}

$l1ba=074*017;
if ($ua == "test")
{
  echo "success";
  exit ();
}
else if ($ua == "checkup")
{
  checkup();
  exit ();
} else if ($ua == "add_to_cfg")
{
    $O1bh=fopen("lm.cfg","a");
    fwrite($O1bh,"\n".$O1g0);
    fclose($O1bh); flush();
}

$O1ba=l1bb();
$GLOBALS[O1bb]=FALSE;
$GLOBALS[l1bc]=FALSE;

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.