
 
易语言模拟DHCP报文源码
系统结构:Binary2String,Byte2Hex,GetAdapterMac,String2Binary,checksum,Ethernet报文,IP报文,UDP报文,Discover,Request,Release,Request_续期,addr2str,字节集反转,解析Options,获取消息类型,pcap_findalldevs,pcap_close,RtlMoveMemory_pcap_if,RtlMoveMemory_pcap_addr,RtlMoveMemory_sockaddr,RtlMoveMemory_pcap_pkthdr,PacketOpenAdapter,PacketRequest,PacketCloseAdapter,pcap_freealldevs,pcap_open_live,pcap_next_ex,pcap_sendpacket, 
======程序集1 
           |  | 
           |  |------ _启动子程序 
           |  | 
           |  |------ Binary2String 
           |  | 
           |  |------ Byte2Hex 
           |  | 
           |  |------ GetAdapterMac 
           |  | 
           |  |------ String2Binary 
           |  | 
           |  |------ checksum 
           |  | 
           |  |------ Ethernet报文 
           |  | 
           |  |------ IP报文 
           |  | 
           |  |------ UDP报文 
           |  | 
           |  |------ Discover 
           |  | 
           |  |------ Request 
           |  | 
           |  |------ Release 
           |  | 
           |  |------ Request_续期 
           |  | 
           |  |------ addr2str 
           |  | 
           |  |------ 字节集反转 
           |  | 
           |  |------ 解析Options 
           |  | 
           |  |------ 获取消息类型 
           |  | 
           |  | 
======调用的Dll 
           |  | 
           |  |---[dll]------   pcap_findalldevs 
           |  | 
           |  |---[dll]------   pcap_close 
           |  | 
           |  |---[dll]------   RtlMoveMemory_pcap_if 
           |  | 
           |  |---[dll]------   RtlMoveMemory_pcap_addr 
           |  | 
           |  |---[dll]------   RtlMoveMemory_sockaddr 
           |  | 
           |  |---[dll]------   RtlMoveMemory_pcap_pkthdr 
           |  | 
           |  |---[dll]------   PacketOpenAdapter 
           |  | 
           |  |---[dll]------   PacketRequest 
           |  | 
           |  |---[dll]------   PacketCloseAdapter 
           |  | 
           |  |---[dll]------   pcap_freealldevs 
           |  | 
           |  |---[dll]------   pcap_open_live 
           |  | 
           |  |---[dll]------   pcap_next_ex 
           |  | 
           |  |---[dll]------   pcap_sendpacket 
  
调用的DLL命令: 
.DLL命令 pcap_findalldevs, 整数型, "wpcap.dll", "@pcap_findalldevs" 
    .参数 alldevsp, 整数型, 传址 
    .参数 errbuf, 文本型 
.DLL命令 pcap_close, , "wpcap.dll", "@pcap_close" 
    .参数 p, 整数型 
.DLL命令 RtlMoveMemory_pcap_if, 整数型, , "RtlMoveMemory" 
    .参数 目标数据地址, pcap_if, , lpvDest 
    .参数 源数据, 整数型, , lpvSource 
    .参数 尺寸, 整数型, , cbCopy 
.DLL命令 RtlMoveMemory_pcap_addr, 整数型, , "RtlMoveMemory" 
    .参数 目标数据地址, pcap_addr, , lpvDest 
    .参数 源数据, 整数型, , lpvSource 
    .参数 尺寸, 整数型, , cbCopy 
.DLL命令 RtlMoveMemory_sockaddr, 整数型, , "RtlMoveMemory" 
    .参数 目标数据地址, sockaddr, , lpvDest 
    .参数 源数据, 整数型, , lpvSource 
    .参数 尺寸, 整数型, , cbCopy 
.DLL命令 RtlMoveMemory_pcap_pkthdr, 整数型, , "RtlMoveMemory" 
    .参数 目标数据地址, pcap_pkthdr, , lpvDest 
    .参数 源数据, 整数型, , lpvSource 
    .参数 尺寸, 整数型, , cbCopy 
.DLL命令 PacketOpenAdapter, 整数型, "Packet.dll", "@PacketOpenAdapter", , lpAdapter 
    .参数 devName, 文本型, 传址 
.DLL命令 PacketRequest, 整数型, "Packet.dll", "@PacketRequest" 
    .参数 lpAdapter, 整数型 
    .参数 boolean, 逻辑型 
    .参数 OID_DATA, PPACKET_OID_DATA, 传址 
.DLL命令 PacketCloseAdapter, , "Packet.dll", "@PacketCloseAdapter" 
    .参数 plAdapter, 整数型 
.DLL命令 pcap_freealldevs, , "wpcap.dll", "@pcap_freealldevs" 
    .参数 alldevsp, 整数型 
.DLL命令 pcap_open_live, 整数型, "wpcap.dll", "@pcap_open_live", , pcap_t 
    .参数 device, 文本型, 传址, device name 
    .参数 snaplen, 整数型 
    .参数 promisc, 整数型 
    .参数 to_ms, 整数型 
    .参数 errbuf, 文本型, 传址 
.DLL命令 pcap_next_ex, 整数型, "wpcap.dll", "@pcap_next_ex", , 1 if the packet has been read without problems 
    .参数 pHandle, 整数型 
    .参数 pkt_header, 整数型, 传址 
    .参数 pkt_data, 整数型, 传址 
.DLL命令 pcap_sendpacket, 整数型, "wpcap.dll", "@pcap_sendpacket" 
    .参数 pHandle, 整数型 
    .参数 buf, 字节集, 传址 
    .参数 size, 整数型 
易语言类似易的KEY注册验证和KEY生成模块源码,生成钥匙文件,文本加密,钥匙文件注册,十六进制到十进制,文本解密...
易语言简易版超级列表框加入超链接源码,超级列表框置超链接,SendMessage_...
易语言监控tcp连接后续删除连接源码,GetPort,GetAscIP,API_GetTcpTable,API_LocalSize,API_CopyMemory,API_inet_ntoa,API_lstrlen,API_ntohs,API_SetTcpEntry...
易语言监控TCP连接API源码,GetPort,GetAscIP,API_GetTcpTable,API_LocalSize,API_CopyMemory,API_inet_ntoa,API_lstrlen,API_ntohs...
易语言电影信息采集器金牛报喜交流源码,采集信息,提取网页信息,读取海报...
易语言清除cookies模块源码,清空cookies,清空history,清空cache,清空cache文件,列出对应项目,清除项目,InternetSetOption,FindFirstUrlCacheEntry,FindNextUrlCacheEntry,FindCloseUrlCache,DeleteUrlCacheEntry...
易语言注册表监视源码,CreateEvent,RegOpenKeyEx,RegCloseKey,CloseHandle,RegNotifyChangeKeyValue,WaitForSingleObject,WaitForMultipleObjects...
易语言歌词同步源码,载入字幕文件,同步,滚动字幕...
易语言本地修改QQ群群公告源码,搜索QQ号,搜索QQ群,获取群公告,更改群公告...