/usr/share/pyshared/nmap/t.py is in python-nmap 0.3.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | import nmap
nm = nmap.PortScanner()
r=nm.scan('127.0.0.1', '22-443')
print(nm.scaninfo())
print(nm.csv())
|