abhi-r3v0 / Adhrit

Android Security Suite for in-depth reconnaissance and static bytecode analysis based on Ghera benchmarks.
https://www.hawkspawn.com/Adhrit
GNU General Public License v3.0
535 stars 129 forks source link

Dependency issues in Mac #4

Closed g0kkk closed 6 years ago

g0kkk commented 6 years ago

Probably the installer.py needs a reconstruct for Mac.

PSNAppz commented 6 years ago

@abhi-r3v0 This is what I'm getting when I run python installer.py

[+]  Installing necessary tools 
Password:
sudo: apt-get: command not found

[+]  Installation of dependencies complete

[+]  Installing ARM dependencies
sudo: apt-get: command not found
sudo: apt-get: command not found
sudo: apt-get: command not found

[+]  Installation of ARM tools complete

[+]  Installing Android debug tools 
sudo: apt-get: command not found

[+]  Installation of Android tools complete 
PSNAppz commented 6 years ago

It should be brew install instead of apt-get

from sys import platform
if platform == "linux" or platform == "linux2":
    # linux
elif platform == "darwin":
    # OS X
elif platform == "win32":
    # Windows...

This might help differentiate the OS. @abhi-r3v0 Please assign this issue to me.

the1220 commented 6 years ago

eta on fix

PSNAppz commented 6 years ago

1 Day Max.

PSNAppz commented 6 years ago

@the1220 See #8 . Can you test it locally ?