-
[C#] Cryptex
说明: C# Cypter C#的加密壳 可以加密PE文件 过杀毒主防(The encrypted shell of C Cypter C can encrypt PE files and prevent virus)
- 2019-06-25 18:24:38下载
- 积分:1
-
UpLoad
用C#实现桌面软件的在线升级。。。。。。。。。(failed to translate)
- 2011-07-19 17:04:22下载
- 积分:1
-
C# development server and client communications programs for beginners to learn
C# 开发的服务器与客户端通信程序
适合初学者学习-C# development server and client communications programs for beginners to learn
- 2022-02-15 01:05:14下载
- 积分: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基础教材
适合用于初学者使用
并且能供一些专业人士自学...
ASP基础教材
适合用于初学者使用
并且能供一些专业人士自学-ASP basis of materials suitable for beginners and can use for self-learning professionals
- 2022-08-08 15:11:45下载
- 积分:1
-
FocalSpot
Visual C#实现按回车键让焦点在录入控件中移动的窗口,回车切换控件焦点//要想使这个方法起到作用先将窗体的keypreview属性改为true,此功能看上去要更加智能一些,对于经常使用键盘操作的录入员来说,是个很实用的功能,无需让用户去定焦确认,省去了一些录入的宝贵时间。
,作者拥有版权,仅供学习与参考。(Visual C# and press the Enter key to move the focus in the input control in the window, enter the switching control focus// to make it play a role in the form s KeyPreview property to true, this function seems to be more intelligent, to often use the keyboard input member, is a very practical function, without allowing users to focus confirmation, saves the precious time.
The author, copyright, learning and reference purposes only.)
- 2013-09-10 13:14:21下载
- 积分:1
-
VB prepared the perfect text chat program, divided into service client, the clie...
VB编的完善的文字聊天程序,分为服务端、客户端,可搭建企业等内部聊天器搭建-VB prepared the perfect text chat program, divided into service client, the client can set up enterprises, such as chat device structures
- 2022-01-25 22:17:06下载
- 积分:1
-
飞鸽的源代码,是一个完整的工程,飞鸽文件已经生成
飞鸽的源代码,是一个完整的工程,飞鸽文件已经生成-Feige" s source code, is a complete project, Flying Pigeon file has been generated
- 2022-03-17 14:20:46下载
- 积分:1
-
LEVY 工具箱
计算levy函数工具箱,包括概率密度函数的求解和随机数的生成等(Calculate the probability density function of levy stable distribution)
- 2021-04-07 09:39:01下载
- 积分:1
-
以最高的安全网络_原英文版指南。拉链
网络最高安全指南_英文原版.zip -Guide to the highest safety network _ the original English edition. Zip
- 2022-10-08 11:40:03下载
- 积分:1