当前位置: 首页 > 图文教程 > 网络编程 > ASP > 一个用c#写的扫描asp源码漏洞的应用程序

ASP
制作我们自己的Ebay(拍卖系统)(3)
制作我们自己的Ebay(拍卖系统)(4)
制作我们自己的Ebay(拍卖系统)(5)
制作我们自己的Ebay(拍卖系统)(6)
制作我们自己的Ebay(拍卖系统)(8)
制作我们自己的Ebay(拍卖系统)(9)
制作我们自己的Ebay(拍卖系统)(7)
作一个可以直接和浏览器进行交互的组件
用ASP+实现一个简单的计算器(适合入门者)
用多种方法制作WEB页面的计数器
asp+的论坛列表程序---代码部分
asp+的论坛列表程序---页面部分
asp+版本简单的留言板的制作(一)
asp+版本简单的留言板的制作(二)
asp+版本简单的留言板的制作(三)
一个功能完善的专栏管理的程序->这是asp.net的第二个应用(一)
一个功能完善的专栏管理的程序->这是asp.net的第二个应用(二)
一个功能完善的专栏管理的程序->这是asp.net的第二个应用(三)
一个功能完善的专栏管理的程序->这是asp.net的第二个应用(四)
一个功能完善的专栏管理的程序->这是asp.net的第二个应用(五)

ASP 中的 一个用c#写的扫描asp源码漏洞的应用程序


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 44 ::
收藏到网摘: n/a

  这儿就是昨天说的那个程序主要部分的源代码,如果要全部代码请到我的主页去下载。
贴不开,分两次。

//--------------------------------------------------------------------------
//
// file name  :  form1.cs
//
// description : 主form
//
// date:         2001/1/3
//
// author :      [email protected]
//               http://bigeagle.yeah.net
//
// history :     2000/1/3 version 0.9
//
// ToDo:         translate:f 方法似乎有问题,等得到有关http协议的资料在修改
//
//-------------------------------------------------------------------------


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
            //
    &nb