started work on scanning module

master
elburg 1 year ago
parent 4a0f7b1a33
commit 1393226d47

@ -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
Loading…
Cancel
Save