Skip to content

Instantly share code, notes, and snippets.

import os
import socket
gw = input('输入默认网关:')
mask = '255.255.255.0'
ip_list = []
domainfile = 'domain.txt'
with open(domainfile) as file:
domain_list = file.readlines()