MCPcopy
hub / github.com/Z4nzu/hackingtool / nmap

Method nmap

hackingtool.py:217–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

215 functions_info[choice]()
216
217 def nmap(self):
218 self.clear_scr()
219 choice = input("[1]Install [99]Back >> ")
220
221 self.check_input(choice, self.nmap, ['1', '99'])
222
223 if choice == "1":
224 os.system("sudo git clone https://github.com/nmap/nmap.git")
225 os.system("sudo chmod -R 755 nmap && cd nmap && sudo ./configure && make && sudo make install")
226 self.nmap()
227
228 if choice == "99":
229 self.info()
230
231 def dracnmap(self):
232 self.clear_scr()

Callers

nothing calls this directly

Calls 3

clear_scrMethod · 0.95
check_inputMethod · 0.95
infoMethod · 0.95

Tested by

no test coverage detected