コード例 #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
ファイル: TheHarvester.py プロジェクト: D3n0Duz/HackerLand
 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
ファイル: WhoIs.py プロジェクト: D3n0Duz/HackerLand
 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)