Traceback (most recent call last):
File "main.py", line 58, in <module>
hk.hooking()
File "main.py", line 36, in hooking
process = frida.get_remote_device().attach(self.arg)
File "C:\anaconda\lib\site-packages\frida\core.py", line 26, in wrapper
return f(*args, **kwargs)
File "C:\anaconda\lib\site-packages\frida\core.py", line 156, in attach
return Session(self._impl.attach(self._pid_of(target), *args, **kwargs))
File "C:\anaconda\lib\site-packages\frida\core.py", line 180, in _pid_of
return self.get_process(target).pid
File "C:\anaconda\lib\site-packages\frida\core.py", line 26, in wrapper
return f(*args, **kwargs)
File "C:\anaconda\lib\site-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)]
frida.TransportError: unexpected lack of content trying to read a line