This needs to be ported to the python backend table, because this code requires nmap to be installed...