Skip to content

Commit

Permalink
One more fix #24
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 authored Jul 9, 2024
1 parent 352fc32 commit bf8ea7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/nmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Namyheon Go (Catswords Research) <[email protected]>
# https://github.com/gnh1201/caterpillar
# Created at: 2022-01-26 (github.com/gnh1201/welsonjs)
# Updated at: 2024-07-04
# Updated at: 2024-07-09
#
import sys
import nmap
Expand All @@ -25,7 +25,7 @@ def dispatch(self, type, id, params, conn):
hosts = params['hosts']
binpath = params['binpath']

#result = nm.scan(hosts=hosts, arguments='-T5 -sV -p21-25,80,139,443,445,1883,2179,2323,3389,7547,8080,8443,8883')
nm = nmap.PortScanner(nmap_search_path=(binpath,))
result = nm.scan(hosts=hosts, arguments='-T5 -sV -p0-65535 --max-retries 0')

return result;
Expand Down

0 comments on commit bf8ea7b

Please sign in to comment.