title: pass ip scan through subroutine as an argument
body: <p>Is it possible to pass an nmap scan of any IP address through as a subroutine?</p>
  
  <p>I am currently executing the scans like so:</p>
  
  <p>('Nmap -v -r xx.xx.xxx.xxx p 1-10); 
  Which works but I want to pass it through a subroutine. Can this be done?</p>