dpnishant / appmon

Documentation:
http://dpnishant.github.io/appmon
Apache License 2.0
1.55k stars 275 forks source link

Unable to use with unrooted android #93

Open omareltf opened 4 years ago

omareltf commented 4 years ago

Hi, I installed on my device (Samsung s7 edge) the myapk.appmon.apk version of the apk. And i followed everything in this video https://www.youtube.com/watch?v=fERg_FJBw3Y But when I try to launch this command i get this error:

`python appmon.py -p android -s scripts/Android -a Gadget

[ERROR] unable to connect to remote frida-server: Error sending data: Broken pipe

Traceback (most recent call last):

File "appmon.py", line 353, in init_session session = device.attach(arg_to_attach) File "/usr/local/lib/python2.7/dist-packages/frida/core.py", line 26, in wrapper return f(*args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/frida/core.py", line 156, in attach return Session(self._impl.attach(self._pid_of(target))) File "/usr/local/lib/python2.7/dist-packages/frida/core.py", line 176, in _pid_of return self.get_process(target).pid File "/usr/local/lib/python2.7/dist-packages/frida/core.py", line 26, in wrapper return f(args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/frida/core.py", line 106, in get_process matching = [process for process in self._impl.enumerate_processes() if fnmatch.fnmatchcase(process.name.lower(), process_name_lc)]

ServerNotRunningError: unable to connect to remote frida-server: Error sending data: Broken pipe `