• <label id="pxtpz"><meter id="pxtpz"></meter></label>
      1. <span id="pxtpz"><optgroup id="pxtpz"></optgroup></span>

        當前位置:雨林木風下載站 > 技術(shù)開發(fā)教程 > 詳細頁面

        一個用c#寫的掃描asp源碼漏洞的應用程序

        一個用c#寫的掃描asp源碼漏洞的應用程序

        更新時間:2022-05-05 文章作者:未知 信息來源:網(wǎng)絡(luò) 閱讀次數(shù):

        這兒就是昨天說的那個程序主要部分的源代碼,如果要全部代碼請到我的主頁去下載。
        貼不開,分兩次。

        //--------------------------------------------------------------------------
        //
        // file name : form1.cs
        //
        // description : 主form
        //
        // date: 2001/1/3
        //
        // author : bigeagle@163.net
        // http://bigeagle.yeah.net
        //
        // history : 2000/1/3 version 0.9
        //
        // ToDo: translate:f 方法似乎有問題,等得到有關(guān)http協(xié)議的資料在修改
        //
        //-------------------------------------------------------------------------


        namespace findbug
        {
        using System;
        using System.Drawing;
        using System.Collections;
        using System.ComponentModel;
        using System.WinForms;
        using System.Data;
        using System.Net ;
        using System.IO ;
        using System.Text ;
        using System.Net.Sockets ;

        /// <summary>
        /// Summary description for Form1.
        /// </summary>
        public class Form1 : System.WinForms.Form
        {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.Container components;
        private System.WinForms.StatusBar barStatus;
        private System.WinForms.Button btnClear;
        private System.WinForms.TextBox txtResult;
        private System.WinForms.Button btnGo;
        private System.WinForms.Label label3;
        private System.WinForms.ComboBox cboMethod;
        private System.WinForms.TextBox txtFileName;
        private System.WinForms.Label label2;
        private System.WinForms.TextBox txtServer;
        private System.WinForms.Label label1;
        private System.WinForms.MenuItem mnuExit;
        private System.WinForms.MenuItem menuItem1;
        private System.WinForms.MenuItem mnuNew;
        private System.WinForms.MenuItem mnuAbount;
        private System.WinForms.MenuItem mnuHelp;
        private System.WinForms.MenuItem mnuSave;
        private System.WinForms.MenuItem mnuFile;
        private System.WinForms.MainMenu mainMenu1;

        public Form1()
        {
        //
        // Required for Windows Form Designer support
        //
        InitializeComponent();

        //初始化窗口
        InitForm() ;

        }


        public override void Dispose()
        {
        base.Dispose();
        components.Dispose();
        }

        //初始化控件
        private void InitializeComponent()
        {
        this.components = new System.ComponentModel.Container ();
        this.mnuSave = new System.WinForms.MenuItem ();
        this.mnuNew = new System.WinForms.MenuItem ();
        this.cboMethod = new System.WinForms.ComboBox ();
        this.btnGo = new System.WinForms.Button ();
        this.menuItem1 = new System.WinForms.MenuItem ();
        this.mnuFile = new System.WinForms.MenuItem ();
        this.txtServer = new System.WinForms.TextBox ();
        this.mnuHelp = new System.WinForms.MenuItem ();
        this.btnClear = new System.WinForms.Button ();
        this.label2 = new System.WinForms.Label ();
        this.label1 = new System.WinForms.Label ();
        this.mnuAbount = new System.WinForms.MenuItem ();
        this.barStatus = new System.WinForms.StatusBar ();
        this.mainMenu1 = new System.WinForms.MainMenu ();
        this.mnuExit = new System.WinForms.MenuItem ();
        this.txtResult = new System.WinForms.TextBox ();
        this.label3 = new System.WinForms.Label ();
        this.txtFileName = new System.WinForms.TextBox ();
        mnuSave.Text = "保存";
        mnuSave.Shortcut = System.WinForms.Shortcut.CtrlS;
        mnuSave.Index = 1;
        mnuNew.Text = "新建";
        mnuNew.Shortcut = System.WinForms.Shortcut.F2;
        mnuNew.Index = 0;
        mnuNew.Click += new System.EventHandler (this.mnuNew_Click);
        cboMethod.Location = new System.Drawing.Point (96, 56);
        cboMethod.Size = new System.Drawing.Size (121, 20);
        cboMethod.TabIndex = 4;
        btnGo.Location = new System.Drawing.Point (296, 56);
        btnGo.Size = new System.Drawing.Size (75, 23);
        btnGo.TabIndex = 6;
        btnGo.Text = "讓我看";
        btnGo.Click += new System.EventHandler (this.btnGo_Click);
        menuItem1.Text = "-";
        menuItem1.Index = 2;
        mnuFile.Text = "文件(&F)";
        mnuFile.Index = 0;
        mnuFile.MenuItems.All = new System.WinForms.MenuItem[4] {this.mnuNew, this.mnuSave, this.menuItem1, this.mnuExit};
        txtServer.Location = new System.Drawing.Point (96, 16);
        txtServer.Text = "http://";
        txtServer.TabIndex = 1;
        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 = "關(guān)于";
        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("qsumrhit.htw") ;
        this.cboMethod.Items.Add("query.idq") ;
        this.cboMethod.Items.Add("search/qfullhit.htw") ;
        this.cboMethod.Items.Add("search/qsumrhit.htw") ;
        this.cboMethod.Items.Add("iirturnh.htw") ;
        this.cboMethod.Items.Add(".htw") ;
        this.cboMethod.Items.Add("Translate:f") ;

        this.cboMethod.SelectedIndex = 0 ;
        }

        //新建
        protected void mnuNew_Click (object sender, System.EventArgs e)
        {
        this.txtServer.Text = "http://" ;
        this.txtFileName.Text = "" ;
        this.txtResult.Text = "" ;
        }

        //清除結(jié)果
        protected void btnClear_Click (object sender, System.EventArgs e)
        {
        this.txtResult.Text = "" ;
        }

         

        溫馨提示:喜歡本站的話,請收藏一下本站!

        本類教程下載

        系統(tǒng)下載排行

        主站蜘蛛池模板: 色多多A级毛片免费看| 亚洲AV成人一区二区三区观看 | 卡一卡二卡三在线入口免费| 亚洲妓女综合网99| 久久午夜免费视频| 亚洲嫩草影院在线观看| 毛片A级毛片免费播放| 亚洲AV无码一区二区乱子仑| 国产伦精品一区二区三区免费迷 | 国产精品偷伦视频免费观看了| 国产中文在线亚洲精品官网| a级毛片免费高清毛片视频| 亚洲av丰满熟妇在线播放| 182tv免费观看在线视频| 77777午夜亚洲| 美女黄网站人色视频免费国产| 女bbbbxxxx另类亚洲| 亚洲麻豆精品国偷自产在线91| 国色精品va在线观看免费视频| 亚洲视频在线视频| 无人在线观看完整免费版视频| 美女的胸又黄又www网站免费| 亚洲一区二区三区影院| 222www免费视频| 亚洲爆乳少妇无码激情| 亚洲日本韩国在线| 67194成手机免费观看| 一本色道久久88亚洲精品综合 | 亚洲国产成人久久精品99 | 99久久免费看国产精品| 亚洲人成综合网站7777香蕉| 日韩精品电影一区亚洲| 免费人成在线观看视频高潮| 精品亚洲AV无码一区二区 | 久久精品免费一区二区喷潮| 在线观看亚洲网站| 亚洲AV无码成人精品区蜜桃 | 91久久精品国产免费一区| jzzijzzij在线观看亚洲熟妇| 亚洲国产精彩中文乱码AV| 日韩精品免费电影|