文章分类 -  网络

摘要:privatevoidScanTarget() { stringstrIPAddress="192.168.1."; //Startscanaddress intnStrat=Int32.Parse("1"); //Finishscanaddress intnEnd=Int32.Parse("255"); //scanoperation for(inti=nStrat;i<=nEnd;i++... 阅读全文
posted @ 2009-08-19 11:27 oraclejava 阅读(458) 评论(1) 推荐(0)
摘要:原文:http://dev.yesky.com/msdn/478/2376978.shtml WMI不仅可以获取想要的计算机数据,而且还可以用以远程控制。远程控制计算机不仅是黑客们的梦想,也是大多数网络管理者所渴望得到的,尤其在现代的网络 中,每一个网络管理者所面对的局域网,都是由一个庞大的计算机群组成,如果有效的管理网络的每一台计算机就显得格外重要了。目前网络管理软件通常的做法 是,在远程计算机... 阅读全文
posted @ 2009-08-19 11:20 oraclejava 阅读(636) 评论(0) 推荐(0)
摘要:方法一:利用注册表using System;using Microsoft.Win32;class CardGrab{ public static void Main () { RegistryKey start = Registry.LocalMachine; RegistryKey cardServiceName, networkKey; string networkcardKey = "SO... 阅读全文
posted @ 2009-08-19 09:19 oraclejava 阅读(733) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace MeshworkLinkMode{ class Program { static void Main(string[] args) { Console.WriteLine("使用... 阅读全文
posted @ 2009-08-18 21:46 oraclejava 阅读(426) 评论(0) 推荐(0)
摘要:1、利用原始Socket套接字,实现ICMP协议。[代码]2、执行ping命令 首先,我们用使用Process类,来创建独立的进程,导入System.Diagnostics, using System.Diagnostics; 实例一个Process类,启动一个独立进程 Process p = new Process(); Process类有一个StartInfo属性,这个是ProcessStar... 阅读全文
posted @ 2009-08-18 21:04 oraclejava 阅读(522) 评论(0) 推荐(0)
摘要:public static void DownloadByQQ(string url) { Type qqdown;//类型 object qqdowobj;//一个对象 object[] parameter = new object[6];//参数,因为我们调用的方法有6和参数。 所以定义了6个 if (url != null && url.Length >0) ... 阅读全文
posted @ 2009-08-18 20:28 oraclejava 阅读(421) 评论(0) 推荐(0)
摘要:Windows 管理规范 (WMI) 是可伸缩的系统管理结构,它采用一个统一的、基于标准的、可扩展的面向对象接口。WMI 为您提供与系统管理信息和基础 WMI API 交互的标准方法。WMI 主要由系统管理应用程序开发人员和管理员用来访问和操作系统管理信息。WMI 可用于生成组织和管理系统信息的工具,使管理员或系统管理人员能够更密切地监视系统活动。例如,可以使用 WMI 开发一个应用程序,用于在 ... 阅读全文
posted @ 2009-08-18 17:15 oraclejava 阅读(159) 评论(0) 推荐(0)
摘要:大家好,相信大家都使用过代理IP上过网,但是有的IP一两天就失效了。要一个一个的手工去试打开IE,关闭IE,多烦啊。有了这篇文章就好了。我们可以使用HttpWebRequest,HttpWebResponse 来代理验证,谢谢大家评论指导!呵呵,是不是很简单啊,其实这段代码改一下还可以做采集器,小偷等程序!我不说了大家自己看public void yanzhen(string str, int p... 阅读全文
posted @ 2009-08-18 16:54 oraclejava 阅读(372) 评论(0) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-08-18 16:53 oraclejava 阅读(201) 评论(0) 推荐(0)
摘要:using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Net;using System.IO;using System.Text;using System.Threading;private void... 阅读全文
posted @ 2009-08-18 16:14 oraclejava 阅读(314) 评论(0) 推荐(0)
摘要:可以,需要在WebConfig里面修改配置,默认的最大请求长度是4兆,但是可以改的如下:<system.web><httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="2097151" executionTimeout="900" /></system.web> 阅读全文
posted @ 2009-08-18 15:46 oraclejava 阅读(109) 评论(0) 推荐(0)
摘要:using System;using System.Runtime.InteropServices;namespace MyAssist{/// <summary>/// netstat 的摘要说明。/// </summary>public class netstat{[DllImport("wininet.dll")]private extern static bool ... 阅读全文
posted @ 2009-08-18 15:43 oraclejava 阅读(156) 评论(0) 推荐(0)
摘要:protectedvoidResponseFile(stringfileContent,stringfilename){stringcoding="gb2312";Response.Clear();Response.Charset=coding;Response.Buffer=true;this.EnableViewState=false;Response.ContentEncoding=Syst... 阅读全文
posted @ 2009-08-18 15:39 oraclejava 阅读(162) 评论(0) 推荐(0)
摘要:使用反射调用指定的服务器端程序集Server端:1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Runtime.Remoting.Channels.Tcp;5usingSystem.Runtime.Remoting.Channels;6usingSystem.Runtime.Remoting;... 阅读全文
posted @ 2009-08-18 15:37 oraclejava 阅读(223) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using... 阅读全文
posted @ 2009-08-17 20:23 oraclejava 阅读(888) 评论(0) 推荐(0)
摘要:using System;using System.Net.Sockets;using System.Net;using System.Security.Cryptography;using System.IO; ///////////////////////////////////////////// // 类名:Pop3 // // 功能:接收电子邮件 // ////////////////... 阅读全文
posted @ 2009-08-17 19:41 oraclejava 阅读(279) 评论(0) 推荐(0)