示例#1
0
 def execute_nmap_bruteforce(self):
     command = "nmap --script=dns-brute " + str(self.url).replace(
         'www.', '')
     return execute_terminal("nmap-zonetransfer", command)
示例#2
0
 def execute_nmap_reverse_ptr(self):
     command = "nmap -sL " + str(socket.gethostbyname(str(
         self.url))) + "/24"
     return execute_terminal("nmap-reverse", command)
示例#3
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig_soa(self):
     command = "dig " + str(self.url).replace('www.', '') + " -t soa"
     return execute_terminal("dig-soa", command)
示例#4
0
 def execute_nslookup(self):
     command = "nslookup " + str(self.url).replace('www.', '')
     return execute_terminal("nslookup", command)
示例#5
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig_reverse_trace(self):
     command = "dig +trace -x " + str(socket.gethostbyname(str(self.url)))
     return execute_terminal("dig-reverse-trace", command)
示例#6
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig_axfr(self):
     command = "dig " + str(self.url).replace('www.', '') + " -t axfr"
     return execute_terminal("dig-axfr", command)
示例#7
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig_mx(self):
     command = "dig mx " + str(self.url).replace('www.', '')
     return execute_terminal("dig-mx", command)
示例#8
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig_trace(self):
     command = "dig +trace " + str(self.url).replace('www.', '')
     return execute_terminal("dig-trace", command)
示例#9
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig(self):
     command = "dig " + self.url
     return execute_terminal("dig", command)
示例#10
0
文件: Dig.py 项目: D3n0Duz/HackerLand
 def execute_dig_ns(self):
     command = "dig ns " + str(self.url).replace('www.', '')
     return execute_terminal("dig-ns", command)
示例#11
0
 def execute_theharvester(self):
     command = "python " + self.theharvester_path + "theHarvester.py -d " + str(self.url).replace("www.", "") + " -b all"
     return execute_terminal("theharvester", command)
示例#12
0
 def execute_whois(self):
     command = "whois " + str(self.url).replace('www.', '')
     return execute_terminal("whois", command)
示例#13
0
 def execute_dnsrecon_reverse_ptr(self):
     command = self.dnsrecon_path + "dnsrecon.py -r " + str(
         socket.gethostbyname(str(self.url))) + "/24"
     return execute_terminal("dnsrecon-reverse-ptr", command)
示例#14
0
 def execute_dnsrecon_bruteforce(self):
     command = self.dnsrecon_path + "dnsrecon.py -t brt -d " + str(
         self.url).replace('www.', '')
     return execute_terminal("dnsrecon-bruteforce", command)
示例#15
0
 def execute_dnsrecon_zonetransfer(self):
     command = self.dnsrecon_path + "dnsrecon.py -a -d " + str(
         self.url).replace('www.', '')
     return execute_terminal("dnsrecon-zonetransfer", command)