Rename to appchk, fix typos, and remove help needed

This commit is contained in:
relikd
2020-10-25 18:50:58 +01:00
parent f250824528
commit 3a2f929f02
5 changed files with 31 additions and 43 deletions

View File

@@ -72,7 +72,7 @@ def write_temporary_lists():
}]}, pretty=True)
mylib.json_write(two, {
"name": "iOS 14 Study: Selected Apps",
"apps": ["com.google.chrome.ios", "com.google.chrome.ios.2", "com.ingka.ikea.app", "com.ingka.ikea.app.2", "com.microsoft.skype.teams", "com.microsoft.skype.teams.2", "com.Atinon.PassOver", "com.Atinon.PassOver.2", "com.Celltop.SpiralRoll", "com.Celltop.SpiralRoll.2", "com.redforcegames.stack.colors", "com.redforcegames.stack.colors.2"]
"apps": ["com.google.chrome.ios", "com.google.chrome.ios.2", "com.ingka.ikea.app", "com.ingka.ikea.app.2", "com.mcdonalds.mobileapp", "com.mcdonalds.mobileapp.2", "com.microsoft.skype.teams", "com.microsoft.skype.teams.2", "com.Atinon.PassOver", "com.Atinon.PassOver.2", "com.Celltop.SpiralRoll", "com.Celltop.SpiralRoll.2", "com.redforcegames.stack.colors", "com.redforcegames.stack.colors.2"]
}, pretty=True)
@@ -116,10 +116,11 @@ def move_ios14():
for fname, json in mylib.enum_jsons(bid):
fiil = os.path.basename(fname)
try:
if json['ios'].split('.')[0] == '14':
mylib.mv(fname, mylib.path_add(diir, '2', fiil))
ios = json['ios'].split('.')[0]
except KeyError:
pass
ios = '14'
if ios == '14' and os.path.getmtime(fname) > 1600258000:
mylib.mv(fname, mylib.path_add(diir, '2', fiil))
write_temporary_lists()
# move_ios14()

View File

@@ -85,7 +85,7 @@ def gen_results(base_dir, c_apps, c_domains, title):
print(' {} logs'.format(c_logs))
HTML.write(base_dir, '''
<h2>{}</h2>
<p>The AppCheck database currently contains <b>{:,}&nbsp;apps</b> with a total of <b>{:,} unique domains</b>.</p>
<p>The appchk database currently contains <b>{:,}&nbsp;apps</b> with a total of <b>{:,} unique domains</b>.</p>
<p>Collected through <b>{:,}&nbsp;recordings</b> with <b>{:,} individual requests</b>.</p>
<ul>
<li>List of <a href="/index/apps/">Apps</a></li>
@@ -112,8 +112,8 @@ def process(app_count, dom_count, inclStatic=False):
gen_redirect() # root redirect.html?id=my.bundle.id
print(' 404.html')
gen_404()
print(' /help/') # dynamic content
gen_help()
# print(' /help/') # dynamic content
# gen_help()
print(' /results/') # dynamic content
gen_results(mylib.path_out('results'), app_count, dom_count,
title='Results')
@@ -121,4 +121,4 @@ def process(app_count, dom_count, inclStatic=False):
if __name__ == '__main__':
process(-1, -1)
process(-1, -1, inclStatic=True)