文件名称:ArpSender
-
所属分类:
- 标签属性:
- 上传时间:2012-11-05
-
文件大小:199.56kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
ArpSender是C#写的ARP发包器,写的初衷是想试下什么样的ARP包才会引起ARP攻击,构造一些包可能会导致别人上不了网。至于包怎么填,发挥大家的想象吧,嘿嘿。
ArpSender用了SharpPcap这个开源API,有兴趣的到网上查下,用起来挺简单的。编程过程中最大的问题就是线程的问题。发包的代码中用了BackgroundWorker控件,因为参数只能传一个,并且线程是不允许直接调用主窗口控件,后来用了一个结构体struct ArpPac来传,感觉还是很麻烦啊!不过还好在BackgroundWorker的RunWorkerCompleted可以直接操作主窗口控件了,能把结果显示到主窗口上。
在编写获取IP的MAC地址部分,一开始还是用BackgroundWorker,在获取存在的IP地址MAC时可以正常工作,可是当IP不存在是,DOWORK方法一直没结束。因为里面一个Resolve方法一直没返回,也没超时设定,线程就一直卡在那不动了。也不知道该怎么结束这个线程。于是改用了Thread,传参数用了个object数组,嘿嘿,所有参数都封起来。到了那边再解封,很好用。后来才发现,线程是没有返回值的。。又不能直接操作窗体控件。。没办法,只好设个全局变量来保存结果了。获取MAC部分还用了个Timer控件,1秒钟如果还没得到返回的MAC,直接结束该线程-ArpSender Writing C# are the ARP contract, and written under the original intent was to want to test what kind of ARP packets that would arouse the ARP attacks, construction of some packets may lead to others not on Net. As for how to fill package, everyone s imagination to play it,
ArpSender spent SharpPcap this open source API, there is interest in online search, the very simple to use. Programming process is the biggest problem the question thread. Contract code used BackgroundWorker control, because the parameters can only be a mass, and threads are not allowed to directly call the main window controls, and later used a structure struct ArpPac to mass, I feel still very troublesome ah! Fortunately, however RunWorkerCompleted at BackgroundWorker can directly operate the main window controls, and the results can show up to the main window.
In the preparation of access to IP-MAC address of the beginning or use BackgroundWorker, exist in access to the IP address of MAC c
ArpSender用了SharpPcap这个开源API,有兴趣的到网上查下,用起来挺简单的。编程过程中最大的问题就是线程的问题。发包的代码中用了BackgroundWorker控件,因为参数只能传一个,并且线程是不允许直接调用主窗口控件,后来用了一个结构体struct ArpPac来传,感觉还是很麻烦啊!不过还好在BackgroundWorker的RunWorkerCompleted可以直接操作主窗口控件了,能把结果显示到主窗口上。
在编写获取IP的MAC地址部分,一开始还是用BackgroundWorker,在获取存在的IP地址MAC时可以正常工作,可是当IP不存在是,DOWORK方法一直没结束。因为里面一个Resolve方法一直没返回,也没超时设定,线程就一直卡在那不动了。也不知道该怎么结束这个线程。于是改用了Thread,传参数用了个object数组,嘿嘿,所有参数都封起来。到了那边再解封,很好用。后来才发现,线程是没有返回值的。。又不能直接操作窗体控件。。没办法,只好设个全局变量来保存结果了。获取MAC部分还用了个Timer控件,1秒钟如果还没得到返回的MAC,直接结束该线程-ArpSender Writing C# are the ARP contract, and written under the original intent was to want to test what kind of ARP packets that would arouse the ARP attacks, construction of some packets may lead to others not on Net. As for how to fill package, everyone s imagination to play it,
ArpSender spent SharpPcap this open source API, there is interest in online search, the very simple to use. Programming process is the biggest problem the question thread. Contract code used BackgroundWorker control, because the parameters can only be a mass, and threads are not allowed to directly call the main window controls, and later used a structure struct ArpPac to mass, I feel still very troublesome ah! Fortunately, however RunWorkerCompleted at BackgroundWorker can directly operate the main window controls, and the results can show up to the main window.
In the preparation of access to IP-MAC address of the beginning or use BackgroundWorker, exist in access to the IP address of MAC c
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ArpSender/AssemblyInfo.cs
ArpSender/ArpSender.csproj
ArpSender/ArpSender.sln
ArpSender/obj/Debug/ArpSender.pdb
ArpSender/obj/Debug/ArpSender.MainForm.resources
ArpSender/obj/Debug/ArpSender.csproj.GenerateResource.Cache
ArpSender/obj/Debug/ArpSender.exe
ArpSender/obj/ArpSender.csproj.FileList.txt
ArpSender/obj/Release/ResolveAssemblyReference.cache
ArpSender/obj/Release/ArpSender.MainForm.resources
ArpSender/obj/Release/ArpSender.csproj.GenerateResource.Cache
ArpSender/obj/Release/ArpSender.exe
ArpSender/bin/Debug/ArpSender.as
ArpSender/bin/Debug/Tamir.IPLib.SharpPcap.dll
ArpSender/bin/Debug/ArpSender.exe
ArpSender/bin/Debug/ArpSender.pdb
ArpSender/bin/Release/ArpSender.as
ArpSender/bin/Release/Tamir.IPLib.SharpPcap.dll
ArpSender/bin/Release/ArpSender.exe
ArpSender/ArpSender.suo
ArpSender/MainForm.Designer.cs
ArpSender/MainForm.resx
ArpSender/MainForm.cs
ArpSender/ArpSender.as
ArpSender/Tamir.IPLib.SharpPcap.dll
ArpSender/说明.txt
ArpSender/obj/Debug/TempPE
ArpSender/obj/Release/TempPE
ArpSender/obj/Debug
ArpSender/obj/Release
ArpSender/bin/Debug
ArpSender/bin/Release
ArpSender/obj
ArpSender/bin
ArpSender
ArpSender/ArpSender.csproj
ArpSender/ArpSender.sln
ArpSender/obj/Debug/ArpSender.pdb
ArpSender/obj/Debug/ArpSender.MainForm.resources
ArpSender/obj/Debug/ArpSender.csproj.GenerateResource.Cache
ArpSender/obj/Debug/ArpSender.exe
ArpSender/obj/ArpSender.csproj.FileList.txt
ArpSender/obj/Release/ResolveAssemblyReference.cache
ArpSender/obj/Release/ArpSender.MainForm.resources
ArpSender/obj/Release/ArpSender.csproj.GenerateResource.Cache
ArpSender/obj/Release/ArpSender.exe
ArpSender/bin/Debug/ArpSender.as
ArpSender/bin/Debug/Tamir.IPLib.SharpPcap.dll
ArpSender/bin/Debug/ArpSender.exe
ArpSender/bin/Debug/ArpSender.pdb
ArpSender/bin/Release/ArpSender.as
ArpSender/bin/Release/Tamir.IPLib.SharpPcap.dll
ArpSender/bin/Release/ArpSender.exe
ArpSender/ArpSender.suo
ArpSender/MainForm.Designer.cs
ArpSender/MainForm.resx
ArpSender/MainForm.cs
ArpSender/ArpSender.as
ArpSender/Tamir.IPLib.SharpPcap.dll
ArpSender/说明.txt
ArpSender/obj/Debug/TempPE
ArpSender/obj/Release/TempPE
ArpSender/obj/Debug
ArpSender/obj/Release
ArpSender/bin/Debug
ArpSender/bin/Release
ArpSender/obj
ArpSender/bin
ArpSender
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.