mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-07 18:31:10 +00:00
Update portscan.py
This commit is contained in:
parent
4bef7a2417
commit
7d5d997881
|
@ -18,7 +18,7 @@ from base import Extension
|
||||||
class PortScanner(Extension):
|
class PortScanner(Extension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.type = "rpcmethod"
|
self.type = "rpcmethod"
|
||||||
self.method = "discover_ports_by_hosts"
|
self.method = "scan_ports_by_hosts"
|
||||||
self.exported_methods = []
|
self.exported_methods = []
|
||||||
|
|
||||||
def dispatch(self, type, id, params, conn):
|
def dispatch(self, type, id, params, conn):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user