ballhogjoni Posted February 8, 2007 Share Posted February 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 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 Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 8, 2007 Author Share Posted February 8, 2007 Do you know why linkmachine would put this in there code? Quote Link to comment Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 8, 2007 Share Posted February 8, 2007 The code has been obfuscated. I think that's octal. Quote Link to comment Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 The code has been obfuscated. I think that's octal. perhaps it is, but why Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 8, 2007 Share Posted February 8, 2007 I didn't write it, how should I know? Probably to keep newbies from using it. Quote Link to comment Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 The code has been obfuscated. I think that's octal. Actually jesirose is right, it is octal and spell "disable_functions". hmm.. Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 I am a newb, and am wondering what obfuscated is? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 10, 2007 Share Posted February 10, 2007 http://www.google.com/search?q=define:obfuscated+code Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 Would it be bad of me to ask how to decode php obfuscated code? If not, How do you do it? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 10, 2007 Share Posted February 10, 2007 It depends on what was used to obfuscate it in the first place. Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 hmm good question. Can you point me in the right direction? this is the first time I have heard of obfuscated code. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 10, 2007 Share Posted February 10, 2007 Well we determined it was Octal, and someone already translated it for you. Google will help you find more info. Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 Well the reason why I ask is because I have a whole page of this stuff. Not just what I posted. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 10, 2007 Share Posted February 10, 2007 Well we determined it was Octal, and someone already translated it for you. Google will help you find more info. GOOGLE for OCTAL TRANSLATOR or OCTAL DECODER Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 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 == { 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; Quote Link to comment Share on other sites More sharing options...
hvle Posted February 10, 2007 Share Posted February 10, 2007 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; Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 hvle, How did u do that? Quote Link to comment Share on other sites More sharing options...
hvle Posted February 10, 2007 Share Posted February 10, 2007 I memorize the ASCII code in Octal Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 When can I find the ASCII code in Octal Quote Link to comment Share on other sites More sharing options...
hvle Posted February 10, 2007 Share Posted February 10, 2007 http://www.asciitable.com/ Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 Thx, Your the best. Quote Link to comment Share on other sites More sharing options...
hvle Posted February 10, 2007 Share Posted February 10, 2007 thanks, Your the best. I tend to agree Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.