Skip to content

Commit

Permalink
add api support for aab
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed May 25, 2024
1 parent 47480b6 commit 6eaade2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mobsf/MobSF/views/api/api_static_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def api_scan(request):
{'error': 'The file is not uploaded/available'}, 500)
scan_type = robj[0].SCAN_TYPE
# APK, Source Code (Android/iOS) ZIP, SO, JAR, AAR
if scan_type in {'xapk', 'apk', 'apks', 'zip', 'so', 'jar', 'aar'}:
if scan_type in {'xapk', 'apk', 'apks', 'aab',
'zip', 'so', 'jar', 'aar'}:
resp = static_analyzer(request, checksum, True)
if 'type' in resp:
resp = static_analyzer_ios(request, checksum, True)
Expand Down

0 comments on commit 6eaade2

Please sign in to comment.