mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Initial Configuration Push
This commit is contained in:
6
deps/nmap/test.py
vendored
Normal file
6
deps/nmap/test.py
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import nmap
|
||||
nm = nmap.PortScanner()
|
||||
nm.scan('localhost', arguments= '-S 127.0.0.1')
|
||||
for host in nm.all_hosts():
|
||||
print('Host : %s (%s)' % (host, nm[host].hostname()))
|
||||
|
Reference in New Issue
Block a user