So, what I want to do is a module which can automatically look for some things, but for that I need to take outputs from NMAP, specifically the Software Version. I have only written this, I just want to know how could i make this or if it is possible
def check():
while True:
cmd = raw_input("smb(check) > ")
This is an actual scan of NMAP
PORT STATE SERVICE VERSION 21/tcp open ftp ProFTPD 1.3.5b
What i want to do is to set that ProFTPD 1.3.5b as an object