Update default-port-scan.py
Renamed UDP Port Scan class. Added "long" tag,.
This commit is contained in:
parent
ad994bdbfa
commit
9a66c83575
|
@ -28,12 +28,12 @@ class AllTCPPortScan(PortScan):
|
||||||
await process.wait()
|
await process.wait()
|
||||||
return services
|
return services
|
||||||
|
|
||||||
class Top20UDPPortScan(PortScan):
|
class Top100UDPPortScan(PortScan):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.name = "Top 100 UDP Ports"
|
self.name = "Top 100 UDP Ports"
|
||||||
self.tags = ["default", "default-port-scan"]
|
self.tags = ["default", "default-port-scan", "long"]
|
||||||
|
|
||||||
async def run(self, target):
|
async def run(self, target):
|
||||||
# Only run UDP scan if user is root.
|
# Only run UDP scan if user is root.
|
||||||
|
|
Loading…
Reference in New Issue