Example #1
0
    # Before setting APKID_ENABLED to True,
    # Install rednaga fork of Yara Python
    # git clone --recursive https://github.com/rednaga/yara-python-1 yara-python
    # cd yara-python
    # python3 setup.py build --enable-dex install
    #==============================================

    #^CONFIG-END^: Do not edit this line

# The below code should be loaded last.
#============JAVA SETTINGS======================
JAVA_PATH = utils.FindJava(False)
#===============================================

#================VirtualBox Settings============
VBOX = utils.FindVbox(False)
#===============================================

DJANGO_LOG_LEVEL = DEBUG

# Better logging
LOGGING = {
    'version': 1,
    'disable_existing_loggers': True,
    'formatters': {
        'standard': {
            'format': "[%(levelname)s] %(asctime)-15s - %(message)s",
            'datefmt': "%d/%b/%Y %H:%M:%S"
        },
    },
    'handlers': {
Example #2
0
    # Private key if rpc server is needed
    WINDOWS_VM_SECRET = 'MobSF/windows_vm_priv_key.asc'
    # IP and Port of the MobSF Windows VM
    # eg: WINDOWS_VM_IP = '127.0.0.1'
    WINDOWS_VM_IP = None
    WINDOWS_VM_PORT = '8000'

    # Configure here if you are on windows
    # Path to lock-file (so setup is only run once)
    PATH_TO_LOCK_FILE = os.path.join(MobSF_HOME, "setup_done.txt")
    if (os.path.isfile(PATH_TO_LOCK_FILE) is
            False) and CURRENT_PLATFROM == 'Windows':
        print "[INFO] Running first time setup for windows."
        # Setup is to-be-executed
        if CONFIG_HOME:
            windows_setup.install_locally(MobSF_HOME, user_config=USER_CONFIG)
        else:
            windows_setup.install_locally(MobSF_HOME)
    #==============================================
    #^CONFIG-END^: Do not edit this line

# The below code should be loaded last.
#============JAVA SETTINGS======================
JAVA_PATH = utils.FindJava()
#===============================================

#================VirtualBox Settings============
VBOX = utils.FindVbox()
#===============================================