Пример #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
 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
 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
 def execute_dig_axfr(self):
     command = "dig " + str(self.url).replace('www.', '') + " -t axfr"
     return execute_terminal("dig-axfr", command)
Пример #7
0
 def execute_dig_mx(self):
     command = "dig mx " + str(self.url).replace('www.', '')
     return execute_terminal("dig-mx", command)
Пример #8
0
 def execute_dig_trace(self):
     command = "dig +trace " + str(self.url).replace('www.', '')
     return execute_terminal("dig-trace", command)
Пример #9
0
 def execute_dig(self):
     command = "dig " + self.url
     return execute_terminal("dig", command)
Пример #10
0
 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)