hluwa / frida-dexdump

A frida tool to dump dex in memory to support security engineers analyzing malware.
GNU General Public License v3.0
4.03k stars 905 forks source link

frida.InvalidOperationError: script has been destroyed #59

Open andrewpedia opened 2 years ago

andrewpedia commented 2 years ago

frida.InvalidOperationError: script has been destroyed

wgqzlj commented 2 years ago

Same question...

mcoo commented 2 years ago
ERROR:frida-dexdump:[-] script has been destroyed: {'addr': '0xef4ae180', 'size': 7389808}
Traceback (most recent call last):
  File "C:\Python310\lib\site-packages\frida_dexdump\__main__.py", line 81, in dump
    bs = self.agent.memory_dump(dex['addr'], dex['size'])
  File "C:\Python310\lib\site-packages\frida_dexdump\agent\__init__.py", line 24, in memory_dump
    return self._rpc.memorydump(base, size)
  File "C:\Python310\lib\site-packages\frida\core.py", line 476, in method
    return script._rpc_request('call', js_name, args, **kwargs)
  File "C:\Python310\lib\site-packages\frida\core.py", line 34, in wrapper
    return f(*args, **kwargs)
  File "C:\Python310\lib\site-packages\frida\core.py", line 408, in _rpc_request
    raise result[2]
frida.InvalidOperationError: script has been destroyed
leftshine commented 2 years ago

Same question...

dongguaguaguagua commented 1 year ago

Same question...

wying111 commented 1 year ago

Same question...

chenjiaming2qiqi commented 1 year ago

INFO:Agent:DexDumpAgent<Connection(pid=Session(pid=10185), connected:True), attached=True>: Attach. INFO:frida-dexdump:Waiting 10s... INFO:frida-dexdump:[+] Searching... Exception in thread Thread-1 (_run): Traceback (most recent call last): File "C:\Users\user.conda\envs\python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Users\user.conda\envs\python310\lib\threading.py", line 946, in run self._target(self._args, self._kwargs) File "C:\Users\user.conda\envs\python310\lib\site-packages\frida_tools\application.py", line 836, in _run work() File "C:\Users\user.conda\envs\python310\lib\site-packages\frida_tools\application.py", line 432, in _try_start self._start() File "C:\Users\user.conda\envs\python310\lib\site-packages\frida_dexdump__main.py", line 68, in _start self.dump() File "C:\Users\user.conda\envs\python310\lib\site-packages\frida_dexdump__main__.py", line 74, in dump ranges = self.agent.search_dex(enable_deep_search=self.enable_deep) File "C:\Users\user.conda\envs\python310\lib\site-packages\frida_dexdump\agent\init__.py", line 21, in search_dex return self._rpc.searchdex(enable_deep_search) File "C:\Users\user.conda\envs\python310\lib\site-packages\frida\core.py", line 476, in method return script._rpc_request('call', js_name, args, kwargs) File "C:\Users\user.conda\envs\python310\lib\site-packages\frida\core.py", line 34, in wrapper return f(args, **kwargs) File "C:\Users\user.conda\envs\python310\lib\site-packages\frida\core.py", line 408, in _rpc_request raise result[2] frida.InvalidOperationError: script has been destroyed

icukeup commented 1 year ago

same question

AugustineFulgur commented 1 year ago

same

s0ing commented 1 year ago

same question