frida-fusion 0.1.7__tar.gz → 0.1.8__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.
Potentially problematic release.
This version of frida-fusion might be problematic. Click here for more details.
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/PKG-INFO +1 -1
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/__meta__.py +2 -2
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/fusion.py +16 -7
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/libs/logger.py +2 -2
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion.egg-info/PKG-INFO +1 -1
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/LICENSE +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/README.md +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/__init__.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/__main__.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/args.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/config.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/libs/__init__.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/libs/color.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/libs/database.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/libs/helpers.js +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/libs/scriptlocation.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/module.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/modules/__init__.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/modules/crypto/__init__.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/modules/crypto/crypto.js +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/modules/crypto/crypto.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/modules/tls_unpinning/__init__.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion/modules/tls_unpinning/frida_multiple_unpinning.py +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion.egg-info/SOURCES.txt +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion.egg-info/dependency_links.txt +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion.egg-info/entry_points.txt +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion.egg-info/requires.txt +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/frida_fusion.egg-info/top_level.txt +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/pyproject.toml +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/setup.cfg +0 -0
- {frida_fusion-0.1.7 → frida_fusion-0.1.8}/setup.py +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
__version__ = '0.1.
|
|
1
|
+
__version__ = '0.1.8'
|
|
2
2
|
__title__ = "Frida Fusion"
|
|
3
3
|
__description__ = "📱 frida-fusion - runtime mobile exploration"
|
|
4
4
|
__url__ = "https://github.com/helviojunior/frida-fusion"
|
|
5
|
-
__build__ =
|
|
5
|
+
__build__ = 0x36275f5
|
|
6
6
|
__author__ = "Helvio Junior (M4v3r1ck)"
|
|
7
7
|
__author_email__ = "helvio_junior@hotmail.com"
|
|
8
8
|
__license__ = "GPL-3.0"
|
|
@@ -423,7 +423,10 @@ class Fusion(object):
|
|
|
423
423
|
received_data=received_data
|
|
424
424
|
)
|
|
425
425
|
except Exception as e:
|
|
426
|
-
|
|
426
|
+
if Configuration.debug_level >= 2:
|
|
427
|
+
self.print_message("E", f"Error resizing event to module {m.name}: {str(e)}")
|
|
428
|
+
else:
|
|
429
|
+
self.print_exception(e)
|
|
427
430
|
|
|
428
431
|
def _raise_data_event(self,
|
|
429
432
|
script_location: ScriptLocation = None,
|
|
@@ -437,7 +440,10 @@ class Fusion(object):
|
|
|
437
440
|
received_data=received_data
|
|
438
441
|
)
|
|
439
442
|
except Exception as e:
|
|
440
|
-
|
|
443
|
+
if Configuration.debug_level >= 2:
|
|
444
|
+
self.print_message("E", f"Error resizing event to module {m.name}: {str(e)}")
|
|
445
|
+
else:
|
|
446
|
+
self.print_exception(e)
|
|
441
447
|
|
|
442
448
|
@classmethod
|
|
443
449
|
def insert_history(cls, source: str, data: str, stack_trace: str = ''):
|
|
@@ -458,16 +464,19 @@ class Fusion(object):
|
|
|
458
464
|
@classmethod
|
|
459
465
|
def print_exception(cls, err):
|
|
460
466
|
from traceback import format_exc
|
|
461
|
-
err_txt = '
|
|
462
|
-
err_txt += '{O}Full stack trace below'
|
|
467
|
+
err_txt = 'Error:{O} %s{W}' % str(err)
|
|
468
|
+
err_txt += '\n{O}Full stack trace below\n'
|
|
463
469
|
err_txt += format_exc().strip()
|
|
464
470
|
|
|
465
|
-
err_txt = err_txt.replace('\n', '\n{W}
|
|
471
|
+
err_txt = err_txt.replace('\n', '\n{W} ')
|
|
466
472
|
err_txt = err_txt.replace(' File', '{W}{D}File')
|
|
467
473
|
err_txt = err_txt.replace(' Exception: ', '{R}Exception: {O}')
|
|
468
|
-
|
|
474
|
+
|
|
475
|
+
Logger.print_message(
|
|
469
476
|
level="E",
|
|
470
|
-
message=Color.s(
|
|
477
|
+
message=Color.s(err_txt),
|
|
478
|
+
filename_col_len=Fusion.max_filename,
|
|
479
|
+
script_location=Logger.get_caller_info(stack_index=2)
|
|
471
480
|
)
|
|
472
481
|
|
|
473
482
|
@classmethod
|
|
@@ -59,7 +59,7 @@ class Logger(object):
|
|
|
59
59
|
Color.pl(text)
|
|
60
60
|
|
|
61
61
|
@classmethod
|
|
62
|
-
def
|
|
62
|
+
def get_caller_info(cls, stack_index: int = 1) -> ScriptLocation:
|
|
63
63
|
"""Retrieves information about the calling script, function, and line number."""
|
|
64
64
|
# inspect.stack() returns a list of frame records.
|
|
65
65
|
# Each frame record is a tuple containing:
|
|
@@ -133,7 +133,7 @@ class Logger(object):
|
|
|
133
133
|
tag_color = Color.color_tags[dbg_idx]
|
|
134
134
|
|
|
135
135
|
if script_location is None:
|
|
136
|
-
script_location = cls.
|
|
136
|
+
script_location = cls.get_caller_info(stack_index=2)
|
|
137
137
|
|
|
138
138
|
if script_location.file_name == "frida/node_modules/frida-java-bridge/lib/class-factory.js":
|
|
139
139
|
file_name = "frida/.../class-factory.js"
|
|
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
|
|
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
|