started work on scanning module

This commit is contained in:
elburg 2023-01-15 23:26:02 -08:00
parent 4a0f7b1a33
commit 1393226d47

View file

@ -0,0 +1,27 @@
'''
3con Scanning Module -- v0.0.0-alpha0
Created by brendan Berger
'''
import os
class ScanObject:
def __init__(self,
autoscan: bool = False,
targetConfig: dict,
hostDiscoveryConfig: dict,
scanConfig: dict,
randomPorts: bool = True,
targetServiceDetection: bool = False,
targetServiceDetectionConfig: dict,
targetOSDetection: bool = False,
targetOSDetectionConfig: dict,
nmapScriptConfig: dict,
scanTimingConfig: dict,
antiIDSConfig: dict,
outputConfig: dict,
scanDir: str = f"{os.environ['HOME']}/.cache/3con/runningScans/h",
resume: bool = False
):
self.autoRunScan = autoscan