mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update portscan.py
This commit is contained in:
parent
f20817a12c
commit
116ef2574a
|
@ -11,7 +11,7 @@ def main(args):
|
|||
(options, args) = parser.parse_args()
|
||||
|
||||
nm = nmap.PortScanner(nmap_search_path=('bin/nmap-7.92/nmap',))
|
||||
result = nm.scan(hosts=options.hosts, arguments='-sV')
|
||||
result = nm.scan(hosts=options.hosts, arguments='-T5 -sV -p21-25,80,139,443,445,1883,2179,2323,3389,7547,8080,8443,8883')
|
||||
|
||||
print(json.dumps(result))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user