2017年3月22日

摘要: python模块介绍- binascii:二进制和ASCII互转 以及其他进制转换 2012-08-01 0 个评论 收藏 我要投稿 广告位:2cto_左一 python模块介绍- binascii:二进制和ASCII互转以及其他进制转换 2012-08-01磁针石 #承接软件自动化实施与培训等gt 阅读全文
posted @ 2017-03-22 14:01 js.yeyong 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: tcp头 其中 tcp_header_len是这样的: 在t_f中给出的是header长度占32bit的数目,也就是: 8 ==> 8x32 = 8*4*8 = 32 bytes 其中 这一位可以取值范围是 4 bit 也就是 最大 1111 = 15 * 4* 8 = 60 bytes 一般这个值 阅读全文
posted @ 2017-03-22 12:57 js.yeyong 阅读(382) 评论(1) 推荐(0) 编辑
摘要: 1 def get_protocol_info_from_pcap(pcapfile): 2 pcap = PcapFile(pcapfile) 3 start = time.time() 4 pkts = {} 5 for p in pcap.tcp_udp_packets(): 6 l3 = p.L3_protocol 7 ... 阅读全文
posted @ 2017-03-22 09:52 js.yeyong 阅读(245) 评论(0) 推荐(0) 编辑

导航