Create Function Called Nmapscan Takes Two Arguments Target Host Target Port Use Portscanne Q37175343

Create a function called nmapScan that takes in two argumentsfor the target host and the target port that will use thePortScanner( ) class object and save the results to a variablenamed nmScan. Then use that variable to scan the target host andtarget port utilizing the PortScanner class function that takes alist of targets and ports as input. Assign a variable to indexobject by target hosts and ports. Then print the status of theports.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.