Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes from upstream merge #79

Merged
merged 53 commits into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
e00991c
HOTFIX: EFR01 Enterprise feature request (#1908)
ajinabraham Feb 19, 2022
fb15cf4
update quark & frida (#1903)
superpoussin22 Feb 19, 2022
74f1874
Update tldextract from 3.1.2 to 3.2.0 (#1910)
pyup-bot Feb 27, 2022
9ad3e81
upgrade apktool to 2.6.1 (#1915)
superpoussin22 Mar 4, 2022
7e9dea0
Hotfix: Update slack link
ajinabraham Mar 10, 2022
4ad0b5c
Hotfix: update slack link
ajinabraham Mar 10, 2022
05e17d3
Hotfix: Slack link
ajinabraham Mar 10, 2022
c1afb4f
Hotfix:Slack link
ajinabraham Mar 10, 2022
dba910d
Hotfix:Slack link
ajinabraham Mar 10, 2022
c190a38
Introduce jadx decompilation timeout with env var (#1916)
Mar 23, 2022
9dea1a2
Update ip2location from 8.6.4 to 8.7.2 (#1926)
pyup-bot Mar 23, 2022
c49b045
Scheduled weekly dependency update for week 13 (#1931)
pyup-bot Mar 29, 2022
ba176e1
update apkid (#1939)
superpoussin22 Apr 7, 2022
c4f5130
Fix dynamic report_json api bug (#1934)
N1neSun Apr 8, 2022
16788ad
Hotfix: LIEF
ajinabraham Apr 12, 2022
1842969
Update README.md (#1951)
dapoadedire Apr 28, 2022
664367e
update jadx to 1.3.4 (#1941)
superpoussin22 May 9, 2022
1800d36
Scheduled weekly dependency update for week 22 (#1972)
pyup-bot Jun 2, 2022
b76963f
Check for updates via GitHub releases (#1957)
atarii Jun 2, 2022
19e4602
Update cert_analysis.py (#1948)
atarii Jun 2, 2022
e83cefc
HOTFIX: Update Readme with Rewards Banner
ajinabraham Jun 7, 2022
51b215b
Update frida from 15.1.23 to 15.1.24 (#1975)
pyup-bot Jun 12, 2022
e9cb1af
HOTFIX: openSSL link and readme update
ajinabraham Jun 12, 2022
1a5f9a7
Hotfix: Broken slack channel link fix
ajinabraham Jun 12, 2022
49bf0ee
Hotfix: Windows setup script
ajinabraham Jun 13, 2022
7b49912
Feature Parity Allow iOS IPA download (#1977)
ajinabraham Jun 13, 2022
774eae4
Add the checking of the parent element of the permission-related elem…
Han0nly Jun 13, 2022
db3e516
Remove RELRO (#1978)
ajinabraham Jun 15, 2022
c2d1127
Revert "Add the checking of the parent element of the permission-rela…
ajinabraham Jun 25, 2022
14c8c09
Scheduled weekly dependency update for week 26 (#1986)
pyup-bot Jun 27, 2022
4a5a000
Update quark-engine from 22.5.1 to 22.6.1 (#1989)
pyup-bot Jul 5, 2022
e7e839f
Scheduled weekly dependency update for week 28 (#1993)
pyup-bot Jul 11, 2022
c630a90
HOTFIX: libsast, iOS Rule, M1 Mac support
ajinabraham Jul 17, 2022
767896e
Hotfix #1999
ajinabraham Jul 23, 2022
2906854
Update frida from 15.1.28 to 15.2.2 (#2002)
pyup-bot Jul 30, 2022
e042252
Update README.md (#2020)
superpoussin22 Sep 28, 2022
3ae54e8
Fix bug #1917 where checking for stripped debugging symbols produces …
rustaska Sep 28, 2022
324c44e
Update ip2location from 8.8.0 to 8.8.1 (#2035)
pyup-bot Sep 28, 2022
de7ace6
update apkid to 2.1.4 (#2037)
superpoussin22 Sep 30, 2022
664d339
Adding tarfile member sanitization to extractall() (#2039)
TrellixVulnTeam Sep 30, 2022
41dc607
fix res directory not exist (#2042)
ohyeah521 Oct 4, 2022
277e74d
[EFR-02]Enterprise Feature Request - False Positive Triaging (#2000)
ajinabraham Oct 4, 2022
037caac
Unit Test for False Positive Triaging
ajinabraham Oct 4, 2022
04c2520
Merge branch 'master' into merge-upstream
brice-syslogic Oct 12, 2022
b2f26a8
print_n_send_error_response to error_response
brice-syslogic Oct 12, 2022
2cddfcc
Lint fixes
brice-syslogic Oct 12, 2022
422afb8
Lint fixes
brice-syslogic Oct 12, 2022
7ffbf5c
Merge branch 'master' into merge-upstream
brice-syslogic Oct 13, 2022
e154f6f
Attempted fix for 3.6.0 rescan requirement
brice-syslogic Oct 13, 2022
44daa28
Merge branch 'master' into merge-upstream
brice-syslogic Oct 13, 2022
cd5ec50
Enabling Manage Suppressions links
brice-syslogic Oct 14, 2022
bc0f72d
Enabling Manage Suppressions links
brice-syslogic Oct 14, 2022
6247726
Fixed divide by zero bug
brice-syslogic Oct 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions mobsf/StaticAnalyzer/views/common/appsec.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,10 @@ def common_fields(findings, data):
warn = len(findings.get('warning'))
sec = len(findings.get('secure'))
total = high + warn + sec
score = int(100 - (
((high * 1) + (warn * .5) - (sec * .2)) / total) * 100)
score = 100
if total > 0:
score = int(100 - (
((high * 1) + (warn * .5) - (sec * .2)) / total) * 100)
if score > 100:
score = 100
findings['security_score'] = score
Expand Down
29 changes: 15 additions & 14 deletions mobsf/templates/static_analysis/android_binary_analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -619,21 +619,22 @@ <h3>{{ providers | length }}</h3>
<section class="content">
<div class="container-fluid">
<div class="row">
<!--<div class="col-lg-4">
<div class="card">
<div class="card-body">
<p>
<strong><i class="fas fa-cog"></i> SCAN OPTIONS</strong>
</p>
<p> <a href="../static_analyzer/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=apk&amp;rescan=1" class="btn btn-info" role="button"><i class="fa fa-sync"></i> Rescan</a>
<a id="supbtn" onclick="list_suppressions()" role="button" class="btn btn-primary" data-target="#sup_list" data-toggle="modal" href="#"><i class="fa fa-list"></i> Manage Suppressions</a>
</p>
<p>
<a onclick="dynamic_loader()" href="../android_dynamic/{{md5}}" class="btn btn-success" role="button"><i class="fa fa-play-circle"></i> Start Dynamic Analysis</a>
</p>
<div class="col-lg-4">
<div class="card">
<div class="card-body">
<p>
<strong><i class="fas fa-cog"></i> SCAN OPTIONS</strong>
</p>
<p>
<!--<a href="../static_analyzer/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=apk&amp;rescan=1" class="btn btn-info" role="button"><i class="fa fa-sync"></i> Rescan</a>-->
<a id="supbtn" onclick="list_suppressions()" role="button" class="btn btn-primary" data-target="#sup_list" data-toggle="modal" href="#"><i class="fa fa-list"></i> Manage Suppressions</a>
</p>
<!--<p>
<a onclick="dynamic_loader()" href="../android_dynamic/{{md5}}" class="btn btn-success" role="button"><i class="fa fa-play-circle"></i> Start Dynamic Analysis</a>
</p>-->
</div>
</div>
</div>
</div>-->
<div class="col-lg-8">
<div class="card">
<div class="card-body">
Expand Down Expand Up @@ -997,7 +998,7 @@ <h3>{{ providers | length }}</h3>
</a>

<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a style="cursor:pointer;" class="dropdown-item" onclick="suppress('{{ item|key:"title" | android_component}}{{item|key:'rule' | escapejs }}', false, $(this.closest('tr')), true)">Suppression the rule <b>{{ item|key:"title" | android_component}}{{ item|key:'rule' }}</b> in <b>{{package_name}}</b></a>
<a style="cursor:pointer;" class="dropdown-item" onclick="suppress('{{ item|key:"title" | android_component}}{{item|key:'rule' | escapejs }}', false, $(this.closest('tr')), true)">Suppress the rule <b>{{ item|key:"title" | android_component}}{{ item|key:'rule' }}</b> in <b>{{package_name}}</b></a>
</div>
</div>
</td>
Expand Down
4 changes: 0 additions & 4 deletions mobsf/templates/static_analysis/android_source_analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -533,12 +533,8 @@ <h3>{{ providers | length }}</h3>
<strong><i class="fas fa-cog"></i> SCAN OPTIONS</strong>
</p>
<p align="center">
<<<<<<< HEAD
<!--<a href="../static_analyzer/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=zip&amp;rescan=1" class="btn btn-info" role="button"><i class="fa fa-sync"></i> Rescan</a>-->
=======
<a href="../static_analyzer/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=zip&amp;rescan=1" class="btn btn-info" role="button"><i class="fa fa-sync"></i> Rescan</a>
<a id="supbtn" onclick="list_suppressions()" role="button" class="btn btn-primary" data-target="#sup_list" data-toggle="modal" href="#"><i class="fa fa-list"></i> Manage Suppressions</a>
>>>>>>> 037caac135ba5d9a5d77af80a70b7cdafa653b5d
<a target="_blank" href="../manifest_view/?md5={{ md5 }}&amp;type={{ app_type }}&amp;bin=0" role="button" class="btn btn-primary"><i class="fa fa-eye"></i> View AndroidManifest.xml</a>
<a href="{% url "tree_view" %}?md5={{ md5 }}&amp;type=java" class="btn btn-info" role="button"><i class="fa fa-code"></i> View Source</a>
</p>
Expand Down
6 changes: 1 addition & 5 deletions mobsf/templates/static_analysis/ios_binary_analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,9 @@ <h5 class="card-title"></h5>
<p>
<strong><i class="fas fa-cog"></i> SCAN OPTIONS</strong>
</p>
<<<<<<< HEAD
<p>
<!--<a role="button" class="btn btn-info" href="../static_analyzer_ios/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=ipa&amp;rescan=1" ><i class="fa fa-sync"></i> Rescan</a>-->
=======
<a role="button" class="btn btn-info" href="../static_analyzer_ios/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=ipa&amp;rescan=1" ><i class="fa fa-sync"></i> Rescan</a>
<!--<a role="button" class="btn btn-info" href="../static_analyzer_ios/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=ipa&amp;rescan=1" ><i class="fa fa-sync"></i> Rescan</a>-->
<a id="supbtn" onclick="list_suppressions()" role="button" class="btn btn-primary" data-target="#sup_list" data-toggle="modal" href="#"><i class="fa fa-list"></i> Manage Suppressions</a>
>>>>>>> 037caac135ba5d9a5d77af80a70b7cdafa653b5d
</p>
</div>
</div><!-- /.card -->
Expand Down
4 changes: 0 additions & 4 deletions mobsf/templates/static_analysis/ios_source_analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,8 @@ <h5 class="card-title"></h5>
<strong><i class="fas fa-cog"></i> SCAN OPTIONS</strong>
</p>
<p align="center">
<<<<<<< HEAD
<!--<a href="../static_analyzer_ios/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=ios&amp;rescan=1" class="btn btn-info" role="button"><i class="fa fa-sync"></i> Rescan</a>-->
=======
<a href="../static_analyzer_ios/?checksum={{ md5 }}&amp;name={{ file_name }}&amp;type=ios&amp;rescan=1" class="btn btn-info" role="button"><i class="fa fa-sync"></i> Rescan</a>
<a id="supbtn" onclick="list_suppressions()" role="button" class="btn btn-primary" data-target="#sup_list" data-toggle="modal" href="#"><i class="fa fa-list"></i> Manage Suppressions</a>
>>>>>>> 037caac135ba5d9a5d77af80a70b7cdafa653b5d
<a data-target="#mplist" role="button" class="btn btn-primary" data-toggle="modal" href="#"><i class="fa fa-list"></i> View Info.plist</a>
</p>
</div>
Expand Down