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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding option for dynamic analysis with wired adb instead of wifi adb #404

Closed
paul-irolla opened this issue May 4, 2017 · 3 comments
Closed
Labels
enhancement MobSF enhancements and feature requests

Comments

@paul-irolla
Copy link

It would be convenient to use dynamic analysis with a device identified with a serial number.
It requires only a quick fix:

MobSF/settings.py, add under ANDROID REAL DEVICE SETTINGS:

DEVICE_SERIAL = "your-device-serial-here"

MobSF/android_dyn_shared.py, in get_identifier(), replace:

 if settings.ANDROID_DYNAMIC_ANALYZER == "MobSF_REAL_DEVICE":
     return settings.DEVICE_IP + ":" + str(settings.DEVICE_ADB_PORT)

with

if settings.ANDROID_DYNAMIC_ANALYZER == "MobSF_REAL_DEVICE":
    if settings.DEVICE_SERIAL:
        return settings.DEVICE_SERIAL
    else:
        return settings.DEVICE_IP + ":" + str(settings.DEVICE_ADB_PORT)
@ajinabraham
Copy link
Member

Would be neat if you can sent a PR.
Else will take this up for next release or milestone.

@ajinabraham ajinabraham added the enhancement MobSF enhancements and feature requests label Jun 5, 2017
@ajinabraham
Copy link
Member

Tracked Separately

@ajinabraham
Copy link
Member

Out of scope with new dynamic analyzer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement MobSF enhancements and feature requests
Projects
None yet
Development

No branches or pull requests

2 participants