Skip to content

Commit

Permalink
QA
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Aug 4, 2024
1 parent f0dc1f6 commit 37a5315
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mobsf/DynamicAnalyzer/views/ios/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run_analysis(app_dir, bundle_id, checksum):
# Collect Log data
data = get_logs_data(app_dir, bundle_id)
urls, domains, emails = extract_urls_domains_emails(
checksum, # TODO: Diff checksum than IPA hash?
checksum,
data)
# App data files analysis
pfiles = get_app_files(app_dir, f'{checksum}-app-container')
Expand Down
4 changes: 4 additions & 0 deletions mobsf/MobSF/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,10 @@ def append_scan_status(checksum, status, exception=None):
'exception': exception})
db_obj.SCAN_LOGS = current_logs
db_obj.save()
except RecentScansDB.DoesNotExist:
# Expected to fail for iOS Dynamic Analysis Report Generation
# Calls MalwareScan and TrackerScan with different checksum
pass
except Exception:
logger.exception('Appending Scan Status to Database')

Expand Down

0 comments on commit 37a5315

Please sign in to comment.