INNER CODE UNIT · Python

__init__

infobyte/emploleaks · emploleaks.py:240

    def __init__(self, connector_db=None, *args, **kwargs):
        super().__init__(*args, allow_cli_args=False, **kwargs)
        
        # Disable unused cmd2 commands
        self.hidden_commands.extend([
            'set',           # Disable set command
            'macro',         # Disable macro command
            'run_pyscript',  # Disable run_pyscript command
            'run_script',    # Disable run_script command
            'edit',          # Disable edit command
            'alias',         # Disable alias command
            'shortcuts',     # Disable shortcuts command
            'shell'          # Disable shell command
        ])
        
        self.conn = None  # PostgreSQL connection for leaks database
        self.leaks_conn = None  # ClickHouse connection for leaks database
        self.local_conn = None  # SQLite connection for local data

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…