7 Comments

  1. OpSecX August 2, 2017 at 3:27 pm #

    How are you running MobSF.
    Always run from the root dir.

    cd dir_of_mobsf
    python manage.py runserver

    Reply

  2. OpSecX August 2, 2017 at 3:34 pm #

    If you still see the issue.
    Comment the lines
    from install.windows.setup import windows_config_local
    and windows_config_local(MobSF_HOME) in settings.py

    Reply

    • ATT. MARIO FERNANDEZ August 3, 2017 at 8:00 am #

      It does not seem to work.

      Unhandled exception in thread started by
      Traceback (most recent call last):
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/utils/autoreload.py”, line 227, in wrapper
      fn(*args, **kwargs)
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/core/management/commands/runserver.py”, line 117, in inner_run
      autoreload.raise_last_exception()
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/utils/autoreload.py”, line 250, in raise_last_exception
      six.reraise(*_exception)
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/utils/autoreload.py”, line 227, in wrapper
      fn(*args, **kwargs)
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/__init__.py”, line 27, in setup
      apps.populate(settings.INSTALLED_APPS)
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/apps/registry.py”, line 85, in populate
      app_config = AppConfig.create(entry)
      File “/Users/mariofnl/Library/Python/2.7/lib/python/site-packages/django/apps/config.py”, line 94, in create
      module = import_module(entry)
      File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py”, line 37, in import_module
      __import__(name)
      ImportError: No module named DynamicAnalyzer

      Reply

  3. OpSecX August 3, 2017 at 8:07 am #

    Looks like an issue with your python installation. It’s not able to do relative imports. You can try on a VM or different machine.
    Alternatively you can use the MobSF slack channel for detailed discussion with the community and the tool authors. Get your invitation from https://goo.gl/6cYU5a

    Reply

    • ATT. MARIO FERNANDEZ August 3, 2017 at 8:15 am #

      Yes, I was wondering that maybe is the python version that uses OS X. I will try a workaround and, if not working, I will try in other laptop with windows.

      Thanks for your help,

      Mario

      Reply

    • ATT. MARIO FERNANDEZ August 3, 2017 at 10:18 am #

      Working like a charm in windows 10 at first time. Thanks

      Reply

  4. OpSecX August 3, 2017 at 2:20 pm #

    Good to know. It is not a Mac problem, but something is wrong with your Python2 installation in OSX.

    Reply

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.