Skip to content

Commit

Permalink
HOTFIX: Injected code overwrite revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Feb 10, 2024
1 parent 435274f commit 887a12c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mobsf/DynamicAnalyzer/views/ios/tests_frida.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def ios_instrument(request, api=False):
"""Instrument app with frida."""
data = {
'status': 'failed',
'message': 'Failed to instrument app'}
'message': ''}
try:
action = request.POST.get('frida_action', 'spawn')
pid = request.POST.get('pid')
Expand Down Expand Up @@ -107,7 +107,6 @@ def ios_instrument(request, api=False):
args = (None, None)
Thread(target=frida_obj.session, args=args, daemon=True).start()
data['status'] = OK
data['message'] = 'Frida Instrumentation successful'
except Exception as exp:
logger.exception('Frida Instrumentation failed')
data['message'] = str(exp)
Expand Down

0 comments on commit 887a12c

Please sign in to comment.