mirror of
https://github.com/hyugogirubato/KeyDive.git
synced 2025-05-01 00:44:26 +02:00
Support frida server running error
This commit is contained in:
parent
d6c5c6d148
commit
a2f185ede1
@ -203,6 +203,8 @@ class Core:
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
session: Session = self.device.attach(pid, persist_timeout=timeout)
|
session: Session = self.device.attach(pid, persist_timeout=timeout)
|
||||||
|
except frida.ServerNotRunningError as e:
|
||||||
|
raise EnvironmentError('Frida server is not running') from e
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(e)
|
self.logger.error(e)
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user