def options(self, context, module_options):
        '''
        THREADS             Max numbers of threads to execute on target (defaults to 20)
        COLLECTIONMETHOD    Method used by BloodHound ingestor to collect data (defaults to 'Default')
        CSVPATH             (optional) Path where csv files will be written on target (defaults to C:\)
        NEO4JURI            (optional) URI for direct Neo4j ingestion (defaults to blank)
        NEO4JUSER           (optional) Username for direct Neo4j ingestion
        NEO4JPASS           (optional) Pass for direct Neo4j ingestion

        Give NEO4J options to perform direct Neo4j ingestion (no CSVs on target)
        '''

        self.threads = 3
        self.csv_path = 'C:\\'
        self.collection_method = 'Default'
        self.neo4j_URI = ""
        self.neo4j_user = ""
        self.neo4j_pass = ""

        if module_options and 'THREADS' in module_options:
            self.threads = module_options['THREADS']
        if module_options and 'CSVPATH' in module_options:
            self.csv_path = module_options['CSVPATH']
        if module_options and 'COLLECTIONMETHOD' in module_options:
            self.collection_method = module_options['COLLECTIONMETHOD']
        if module_options and 'NEO4JURI' in module_options:
            self.neo4j_URI = module_options['NEO4JURI']
        if module_options and 'NEO4JUSER' in module_options:
            self.neo4j_user = module_options['NEO4JUSER']
        if module_options and 'NEO4JPASS' in module_options:
            self.neo4j_pass = module_options['NEO4JPASS']

        if self.neo4j_URI != "" and self.neo4j_user != "" and self.neo4j_pass != "" :
            self.opsec_safe= True

        self.ps_script = obfs_ps_script('BloodHound-modified.ps1')
def options ( self , context , module_options ) : self . threads = 3 self . csv_path = 'C:\\' self . collection_method = 'Default' self . neo4j_URI = "" self . neo4j_user = "" self . neo4j_pass = "" if module_options and 'THREADS' in module_options : self . threads = module_options [ 'THREADS' ] if module_options and 'CSVPATH' in module_options : self . csv_path = module_options [ 'CSVPATH' ] if module_options and 'COLLECTIONMETHOD' in module_options : self . collection_method = module_options [ 'COLLECTIONMETHOD' ] if module_options and 'NEO4JURI' in module_options : self . neo4j_URI = module_options [ 'NEO4JURI' ] if module_options and 'NEO4JUSER' in module_options : self . neo4j_user = module_options [ 'NEO4JUSER' ] if module_options and 'NEO4JPASS' in module_options : self . neo4j_pass = module_options [ 'NEO4JPASS' ] if self . neo4j_URI != "" and self . neo4j_user != "" and self . neo4j_pass != "" : self . opsec_safe = True self . ps_script = obfs_ps_script ( 'BloodHound-modified.ps1' )
THREADS             Max numbers of threads to execute on target (defaults to 20)
        COLLECTIONMETHOD    Method used by BloodHound ingestor to collect data (defaults to 'Default')
        CSVPATH             (optional) Path where csv files will be written on target (defaults to C:\)
        NEO4JURI            (optional) URI for direct Neo4j ingestion (defaults to blank)
        NEO4JUSER           (optional) Username for direct Neo4j ingestion
        NEO4JPASS           (optional) Pass for direct Neo4j ingestion

        Give NEO4J options to perform direct Neo4j ingestion (no CSVs on target)