Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi Android Runtime not found! #1343

Closed
slowmistio opened this issue Apr 2, 2020 · 9 comments
Closed

hi Android Runtime not found! #1343

slowmistio opened this issue Apr 2, 2020 · 9 comments

Comments

@slowmistio
Copy link

Android Runtime not found!

iused docker

adb devices
List of devices attached
192.168.56.101:5555 device

~/Mobile-Security-Framework-MobSF/MobSF/settings.py 馃憤

# ==========================================================
# -------------------------
# DYNAMIC ANALYZER SETTINGS
# -------------------------

# =======ANDROID DYNAMIC ANALYSIS SETTINGS===========
ANALYZER_IDENTIFIER = '192.168.56.101:5555'
FRIDA_TIMEOUT = 4
# ==============================================

# ================HTTPS PROXY ===============
PROXY_IP = '127.0.0.1'
PROXY_PORT = 1337  # Proxy Port
# ===================================================

..

but error :
http://0.0.0.0:8000/dynamic_analysis/

Android Runtime not found!

MobSF cannot find android instance identifier. Make sure that an android instance is running and refresh this page.

If this error persists, Please set ANALYZER_IDENTIFIER in MobSF/settings.py

@slowmistio
Copy link
Author

The file "~ / Mobile-Security-Framework-MobSF / MobSF / settings.py" is my modified file in my docker

@ajinabraham
Copy link
Member

ajinabraham commented Apr 2, 2020

@slowmistio
Copy link
Author

@ajinabraham ok thanks

@slowmistio
Copy link
Author

@ajinabraham Another question

Mobile-Security-Framework-MobSF % ./run.sh
[2020-04-02 23:37:24 +0800] [56403] [INFO] Starting gunicorn 20.0.4
[2020-04-02 23:37:24 +0800] [56403] [INFO] Listening at: http://0.0.0.0:8000 (56403)
[2020-04-02 23:37:24 +0800] [56403] [INFO] Using worker: threads
[2020-04-02 23:37:24 +0800] [56406] [INFO] Booting worker with pid: 56406
[2020-04-02 23:37:24 +0800] [56408] [INFO] Booting worker with pid: 56408
[2020-04-02 23:37:25 +0800] [56410] [INFO] Booting worker with pid: 56410
[2020-04-02 23:37:26 +0800] [56411] [INFO] Booting worker with pid: 56411
[2020-04-02 23:37:26 +0800] [56413] [INFO] Booting worker with pid: 56413
[2020-04-02 23:37:27 +0800] [56414] [INFO] Booting worker with pid: 56414
[2020-04-02 23:37:27 +0800] [56416] [INFO] Booting worker with pid: 56416
[2020-04-02 23:37:28 +0800] [56417] [INFO] Booting worker with pid: 56417
[2020-04-02 23:37:28 +0800] [56419] [INFO] Booting worker with pid: 56419
[2020-04-02 23:37:29 +0800] [56422] [INFO] Booting worker with pid: 56422
[2020-04-02 23:37:29 +0800] [56424] [INFO] Booting worker with pid: 56424
[2020-04-02 23:37:30 +0800] [56426] [INFO] Booting worker with pid: 56426
[2020-04-02 23:37:30 +0800] [56427] [INFO] Booting worker with pid: 56427
[2020-04-02 23:37:31 +0800] [56429] [INFO] Booting worker with pid: 56429
[2020-04-02 23:37:32 +0800] [56430] [INFO] Booting worker with pid: 56430
[2020-04-02 23:37:32 +0800] [56432] [INFO] Booting worker with pid: 56432
[2020-04-02 23:37:33 +0800] [56433] [INFO] Booting worker with pid: 56433
[2020-04-02 23:37:33 +0800] [56435] [INFO] Booting worker with pid: 56435
[2020-04-02 23:37:34 +0800] [56436] [INFO] Booting worker with pid: 56436
[2020-04-02 23:37:34 +0800] [56438] [INFO] Booting worker with pid: 56438
[2020-04-02 23:37:35 +0800] [56439] [INFO] Booting worker with pid: 56439
[2020-04-02 23:37:35 +0800] [56441] [INFO] Booting worker with pid: 56441
..

Python program started to report error

image

@ajinabraham
Copy link
Member

What version of Python? Something is crashing python. Please move the discussions to MobSF slack channel.

@slowmistio
Copy link
Author

Mobile-Security-Framework-MobSF % ./run.sh
[2020-04-03 09:30:03 +0800] [1092] [INFO] Starting gunicorn 20.0.4
[2020-04-03 09:30:03 +0800] [1092] [INFO] Listening at: http://0.0.0.0:8000 (1092)
[2020-04-03 09:30:03 +0800] [1092] [INFO] Using worker: threads
[2020-04-03 09:30:03 +0800] [1095] [INFO] Booting worker with pid: 1095
[2020-04-03 09:30:03 +0800] [1097] [INFO] Booting worker with pid: 1097
[2020-04-03 09:30:04 +0800] [1099] [INFO] Booting worker with pid: 1099
[2020-04-03 09:30:05 +0800] [1103] [INFO] Booting worker with pid: 1103
[2020-04-03 09:30:05 +0800] [1104] [INFO] Booting worker with pid: 1104
[2020-04-03 09:30:06 +0800] [1106] [INFO] Booting worker with pid: 1106
[2020-04-03 09:30:06 +0800] [1107] [INFO] Booting worker with pid: 1107
[2020-04-03 09:30:07 +0800] [1109] [INFO] Booting worker with pid: 1109
[2020-04-03 09:30:08 +0800] [1111] [INFO] Booting worker with pid: 1111
[2020-04-03 09:30:08 +0800] [1112] [INFO] Booting worker with pid: 1112
[2020-04-03 09:30:09 +0800] [1117] [INFO] Booting worker with pid: 1117
[2020-04-03 09:30:09 +0800] [1118] [INFO] Booting worker with pid: 1118
^C[2020-04-03 09:30:10 +0800] [1092] [INFO] Handling signal: int
[2020-04-03 09:30:10 +0800] [1092] [INFO] Shutting down: Master

@macbook-pro Mobile-Security-Framework-MobSF % python
Python 3.7.6 (default, Dec 30 2019, 19:38:26)
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

@slowmistio
Copy link
Author

@ajinabraham thanks

@ajinabraham
Copy link
Member

Where are you running Genymotion? Follow the docs: https://mobsf.github.io/docs/#/dynamic_analyzer

@SkPratihar1
Copy link

how to used SDK emulator for dynamic analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@ajinabraham @slowmistio @SkPratihar1 and others