Skip to content

Commit

Permalink
Update request.py
Browse files Browse the repository at this point in the history
  • Loading branch information
scu-igroup authored Oct 28, 2017
1 parent 5fb7700 commit cb9ddf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ def request_domain(DomainFile,ResultFile):
if __name__ == '__main__':
s=platform.system()
if cmp(s,"Windows")==0:
s = "输入DNS_Sniffer生成的文件(当前路径下),如‘DNS.txt’"
s = "输入DNS_Sniffer生成的文件(当前路径下),如‘Dns.txt’"
print s.decode('utf-8').encode('gbk')
rawfile = raw_input(">")
s = '开始解析--------------->>>>>>>'
print s.decode('utf-8').encode('gbk')
if Parse_DnsFile(rawfile,'domain_file.txt'):
request_domain('domain_file.txt','Result.txt')
else:
print "输入DNS_Sniffer生成的文件(当前路径下),如‘DNS.txt’"
print "输入DNS_Sniffer生成的文件(当前路径下),如‘Dns.txt’"
rawfile = raw_input(">")
print '开始解析--------------->>>>>>>'
if Parse_DnsFile(rawfile,'domain_file.txt'):
Expand Down

0 comments on commit cb9ddf0

Please sign in to comment.