From 1393226d47ebf72610885d594aef4844c7e334d9 Mon Sep 17 00:00:00 2001 From: elburg Date: Sun, 15 Jan 2023 23:26:02 -0800 Subject: [PATCH] started work on scanning module --- src/services/3con-scanner.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/services/3con-scanner.py diff --git a/src/services/3con-scanner.py b/src/services/3con-scanner.py new file mode 100644 index 0000000..8538c15 --- /dev/null +++ b/src/services/3con-scanner.py @@ -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 +