using the extconf and netifaces from metasploit