上传者: 38617846
|
上传时间: 2021-04-27 17:20:31
|
文件大小: 29KB
|
文件类型: PDF
tcp.py 复制代码 代码如下:# -*- coding: cp936 -*-import socketfrom struct import *from time import ctime,sleepfrom os import system
system(‘title tcp sniffer’)system(‘color 05’)
# the public network interfaceHOST = socket.gethostbyname(socket.gethostname())
# create a raw socket and bind it to the public int