Skip to content

Commit

Permalink
HOTFIX: Frida Logs API response code + Dependency bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Mar 6, 2024
1 parent f20ee08 commit bfd8bc2
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 70 deletions.
2 changes: 1 addition & 1 deletion mobsf/MobSF/views/api/api_android_dynamic_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def api_frida_logs(request):
{'error': 'Missing Parameters'}, 422)
resp = frida.frida_logs(request, True)
# frida logs can be json or html
if resp.get('data'):
if resp.get('data') or resp.get('message'):
return make_api_response(resp, 200)
return make_api_response(resp, 500)

Expand Down
Loading

0 comments on commit bfd8bc2

Please sign in to comment.