-
使Darwin服务器能够支持IPv6的补丁
使Darwin服务器能够支持IPv6的补丁-server can support IPv6 patches
- 2023-03-16 16:00:03下载
- 积分:1
-
混客炸弹源代码供大家学习和参考
混客炸弹源代码供大家学习和参考-off bombs mixed source code for all learning and reference
- 2022-10-14 14:20:03下载
- 积分:1
-
多线程IP扫描程序
多线程IP扫描程序-multithreaded IP Scan
- 2023-07-22 18:00:02下载
- 积分:1
-
GetSource演示了通过使用网络传输控件你能如何轻易的下载和显示一个web站点的HTML页。...
GetSource演示了通过使用网络传输控件你能如何轻易的下载和显示一个web站点的HTML页。-GetSource demonstrated through the use of network transmission controls how you can easily download and display a web site HTML pages.
- 2022-06-18 05:00:09下载
- 积分:1
-
c# 扫描IP Http Header
c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
- 2014-06-23下载
- 积分:1
-
asp.net rewriter,可以配置成httpmodule和httpHandle.
asp.net rewriter,可以配置成httpmodule和httpHandle.-asp.net rewriter, can be configured into httpmodule and httpHandle.
- 2022-02-14 20:36:11下载
- 积分:1
-
Library of C functions that allows a program to use WinSock 2 functionality if i...
Library of C functions that allows a program to use WinSock 2 functionality if it is available or fall back to WinSock 1.1 if it isn t.
- 2023-07-12 06:30:03下载
- 积分:1
-
socket
网络调试助手,通过网络发送、接收数据,可作为服务器,也可作为客户端(Network debugging assistant, through the network to send and receive data, can be used as a server, can also be used as a client)
- 2016-02-19 11:30:05下载
- 积分:1
-
snmp up7
snmp up7
- 2023-04-05 16:45:03下载
- 积分:1
-
一个同学用VB编写的局域网通讯程序,包括传输文件和聊天,已经调试通过。...
一个同学用VB编写的局域网通讯程序,包括传输文件和聊天,已经调试通过。-a classmate with VB prepared LAN communications procedures, including file transfer and chat, through debugging.
- 2022-01-27 10:54:48下载
- 积分:1