Open cromatkastar opened 4 years ago
Was there any spaces in the package name? Enclose with " " if there is.
Hi I think this might be because the frida.get_usb_device().attach("com.xxx.yyyy") does not work in the first try. It tries once and gives up due to error at line 73 of fridump.py and moves to the catch statement.
For me I would get the error: device not found or Can't connect to App. Have you connected the device? when it failed in the try statement of fridump.py. So I modified the part of script to constantly probe for the USB device and try attach to process and it worked for me.
I modified "fridump.py" from line 69 to 79 as below:
session = None
while True:
try:
if USB:
session = frida.get_usb_device().attach(APP_NAME)
print("pass")
break
else:
session = frida.attach(APP_NAME)
except Exception as e:
print("Can't connect to App. Have you connected the device?")
logging.debug(str(e))
print("fail")
Hope it helps you!
Hi I think this might be because the frida.get_usb_device().attach("com.xxx.yyyy") does not work in the first try. It tries once and gives up due to error at line 73 of fridump.py and moves to the catch statement.
For me I would get the error: device not found or Can't connect to App. Have you connected the device? when it failed in the try statement of fridump.py. So I modified the part of script to constantly probe for the USB device and try attach to process and it worked for me.
I modified "fridump.py" from line 69 to 79 as below:
session = None while True: try: if USB: session = frida.get_usb_device().attach(APP_NAME) print("pass") break else: session = frida.attach(APP_NAME) except Exception as e: print("Can't connect to App. Have you connected the device?") logging.debug(str(e)) print("fail")
Hope it helps you!
this does the trick! well thought!!
My fridump is connected to the device for sure, because the command
python fridump.py -U -s keystore
works.
however any other processes, especially the ones that start with com.xxx.yyy don't work
is there any reason?
thank you.