Example #1
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()
#===============================================
    CURRENT_PLATFROM = platform.system()

    # Configure the params here if you are not on windows
    # Private key if rpc server is needed
    WINDOWS_VM_SECRET = 'MobSF/windows_vm_priv_key.asc'
    #IP and Port of the MobSF Windows VM

    WINDOWS_VM_IP = None  # eg. '127.0.0.1'; None = disabled
    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)
    #==============================================

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

#================VirtualBox Settings============
VBOX = utils.FindVbox()
#===============================================
    #================WINDOWS-Analysis-Settings ====
    # Get the OS MobSF is currently running on
    CURRENT_PLATFROM = platform.system()

    # 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
        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(False)
#===============================================

#================VirtualBox Settings============
VBOX = utils.FindVbox(False)
#===============================================
    #==============================================
    #================WINDOWS-Analysis-Settings ====
    # Get the OS MobSF is currently running on
    CURRENT_PLATFROM = platform.system()

    # 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
        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(False)
#===============================================

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