Skip to content

Commit

Permalink
fix codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Jan 10, 2024
1 parent bdfbeda commit b169ea4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mobsfscan/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,11 @@ def browsable_activity_check(self, app):

def check_url(self, w_url):
"""Check URL."""
rcode = 0
iden = 'sha256_cert_fingerprints'
rule = 'android_manifest_well_known_assetlinks'
status = True
try:
iden = 'sha256_cert_fingerprints'
rule = 'android_manifest_well_known_assetlinks'
status = True
r = requests.get(
w_url,
allow_redirects=True,
Expand All @@ -326,7 +327,6 @@ def check_url(self, w_url):
rcode = r.status_code
except Exception:
status = False
rcode = 0
if not status:
add_finding(
self.findings,
Expand Down

0 comments on commit b169ea4

Please sign in to comment.