Update default-port-scan.py

Renamed UDP Port Scan class.
Added "long" tag,.
This commit is contained in:
Tib3rius 2021-08-23 20:25:06 -04:00
parent ad994bdbfa
commit 9a66c83575
1 changed files with 2 additions and 2 deletions

View File

@ -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.