frooky 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {frooky-0.1.2 → frooky-0.1.3}/PKG-INFO +1 -1
  2. {frooky-0.1.2 → frooky-0.1.3}/frooky/_version.py +3 -3
  3. {frooky-0.1.2 → frooky-0.1.3}/frooky/frida_runner.py +3 -2
  4. {frooky-0.1.2 → frooky-0.1.3}/frooky.egg-info/PKG-INFO +1 -1
  5. {frooky-0.1.2 → frooky-0.1.3}/.github/workflows/publish.yml +0 -0
  6. {frooky-0.1.2 → frooky-0.1.3}/.github/workflows/sync-labels.yml +0 -0
  7. {frooky-0.1.2 → frooky-0.1.3}/.gitignore +0 -0
  8. {frooky-0.1.2 → frooky-0.1.3}/LICENSE +0 -0
  9. {frooky-0.1.2 → frooky-0.1.3}/README.md +0 -0
  10. {frooky-0.1.2 → frooky-0.1.3}/docs/examples/example.md +0 -0
  11. {frooky-0.1.2 → frooky-0.1.3}/docs/examples/hooks.json +0 -0
  12. {frooky-0.1.2 → frooky-0.1.3}/docs/examples/hooks2.json +0 -0
  13. {frooky-0.1.2 → frooky-0.1.3}/docs/examples/output.json +0 -0
  14. {frooky-0.1.2 → frooky-0.1.3}/docs/usage.md +0 -0
  15. {frooky-0.1.2 → frooky-0.1.3}/frooky/__init__.py +0 -0
  16. {frooky-0.1.2 → frooky-0.1.3}/frooky/__main__.py +0 -0
  17. {frooky-0.1.2 → frooky-0.1.3}/frooky/android/android_decoder.js +0 -0
  18. {frooky-0.1.2 → frooky-0.1.3}/frooky/android/base_script.js +0 -0
  19. {frooky-0.1.2 → frooky-0.1.3}/frooky/android/native_decoder.js +0 -0
  20. {frooky-0.1.2 → frooky-0.1.3}/frooky/cli.py +0 -0
  21. {frooky-0.1.2 → frooky-0.1.3}/frooky/ios/base_script.js +0 -0
  22. {frooky-0.1.2 → frooky-0.1.3}/frooky/resources.py +0 -0
  23. {frooky-0.1.2 → frooky-0.1.3}/frooky.egg-info/SOURCES.txt +0 -0
  24. {frooky-0.1.2 → frooky-0.1.3}/frooky.egg-info/dependency_links.txt +0 -0
  25. {frooky-0.1.2 → frooky-0.1.3}/frooky.egg-info/entry_points.txt +0 -0
  26. {frooky-0.1.2 → frooky-0.1.3}/frooky.egg-info/requires.txt +0 -0
  27. {frooky-0.1.2 → frooky-0.1.3}/frooky.egg-info/top_level.txt +0 -0
  28. {frooky-0.1.2 → frooky-0.1.3}/pyproject.toml +0 -0
  29. {frooky-0.1.2 → frooky-0.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: frooky
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Frida-powered hook runner based on JSON hook files.
5
5
  Author-email: Carlos Holguera <holguera.cybersec@gmail.com>, Stefan Bernhardsgrütter <stefan.bernhardsgruetter@redguard.ch>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.1.2'
32
- __version_tuple__ = version_tuple = (0, 1, 2)
31
+ __version__ = version = '0.1.3'
32
+ __version_tuple__ = version_tuple = (0, 1, 3)
33
33
 
34
- __commit_id__ = commit_id = 'gaa822d4fd'
34
+ __commit_id__ = commit_id = 'gf9dc6e318'
@@ -46,6 +46,7 @@ class FrookyRunner:
46
46
  self.session: Optional[frida.core.Session] = None
47
47
  self.script: Optional[frida.core.Script] = None
48
48
  self.device: Optional[frida.core.Device] = None
49
+ self.spawned_pid: Optional[int] = None
49
50
  self.event_count: int = 0
50
51
  self.last_event: str = "Waiting for events..."
51
52
  self.total_hooks: Optional[int] = None
@@ -325,6 +326,7 @@ class FrookyRunner:
325
326
  elif opts.spawn:
326
327
  pid = self.device.spawn(opts.spawn)
327
328
  session = self.device.attach(pid)
329
+ self.spawned_pid = pid
328
330
  return session
329
331
 
330
332
  else:
@@ -387,8 +389,7 @@ class FrookyRunner:
387
389
 
388
390
  # Resume if spawned
389
391
  if self.options.spawn:
390
- pid = self.session.pid
391
- self.device.resume(pid)
392
+ self.device.resume(self.spawned_pid)
392
393
 
393
394
  # Main loop
394
395
  while True:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: frooky
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Frida-powered hook runner based on JSON hook files.
5
5
  Author-email: Carlos Holguera <holguera.cybersec@gmail.com>, Stefan Bernhardsgrütter <stefan.bernhardsgruetter@redguard.ch>
6
6
  License: GNU GENERAL PUBLIC LICENSE
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes