started work on scanning module
This commit is contained in:
parent
4a0f7b1a33
commit
1393226d47
1 changed files with 27 additions and 0 deletions
27
src/services/3con-scanner.py
Normal file
27
src/services/3con-scanner.py
Normal 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
|
||||
|
Loading…
Reference in a new issue