摘要: 废话不多说直接上代码 1 import socket 2 import time 3 4 5 def socket_bind(server_socket, host, port=514, max_retries=5): 6 retries = 0 7 while retries < max_retr 阅读全文
posted @ 2024-01-21 19:31 像疯一样的孩纸 阅读(77) 评论(0) 推荐(0)
摘要: #encoding=utf-8 import random def randomMac(): macstring = "0123456789abcdef"*12 macstringlist=random.sample(macstring,12) return "{0[0]}{0[1]}:{0[2]} 阅读全文
posted @ 2020-04-29 09:44 像疯一样的孩纸 阅读(2237) 评论(0) 推荐(0)