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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/ 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 Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179586 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? Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179588 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179595 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179598 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 Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179612 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179615 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.. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-179652 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? Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181203 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 Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181206 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? Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181234 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181236 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181241 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181244 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. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181246 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 Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181248 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; Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181265 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; Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181286 Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 hvle, How did u do that? Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181295 Share on other sites More sharing options...
hvle Posted February 10, 2007 Share Posted February 10, 2007 I memorize the ASCII code in Octal Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181299 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 Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181300 Share on other sites More sharing options...
hvle Posted February 10, 2007 Share Posted February 10, 2007 http://www.asciitable.com/ Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181301 Share on other sites More sharing options...
ballhogjoni Posted February 10, 2007 Author Share Posted February 10, 2007 Thx, Your the best. Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181305 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 Link to comment https://forums.phpfreaks.com/topic/37555-can-someone-tell-me-what-this-code-is/#findComment-181306 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.