From 116ef2574aade2153ad1006721d974d79ed84477 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 4 Feb 2022 17:17:43 +0900 Subject: [PATCH] Update portscan.py --- app/assets/py/portscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/py/portscan.py b/app/assets/py/portscan.py index 181f324..fe6eafe 100644 --- a/app/assets/py/portscan.py +++ b/app/assets/py/portscan.py @@ -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))