#!/usr/bin/env python3 import os import lib_common as mylib import lib_html as HTML def gen_root(): with open(mylib.path_root('templates', 'root.html'), 'r') as fp: HTML.write(mylib.path_out(), fp.read()) def gen_help(): many = 7 txt = '''

Help needed!

With the release of iOS 14 some Privacy features are put into the spotlight. One of these features is making transparent how your data is being used for tracking purposes. Developers are now required to self-report their privacy practices.

We have selected a random sample of applications for evaluation and want to check whether the app behaviour changes over time. This study consists of two stages; this is the second. In the first stage we recorded the app communications before iOS 14 was released. In the second stage we repeat the process after the launch of iOS 14.

You can help us by providing app recordings of the following applications. Make sure to update to the lastest AppCheck version (v.34) which includes a check for the iOS version. Get the Testflight beta.

' HTML.write(mylib.path_out('help'), txt) def gen_search(): HTML.write(mylib.path_out(), '''

Redirecting …

''', fname='redirect.html') def gen_404(): HTML.write(mylib.path_out(), '''

404 – Not Found

Go back to start page

''', fname='404.html') def process(): print('generating root html ...') print(' index.html') gen_root() # root index.thml print(' redirect.html') gen_search() # root redirect.html?id=my.bundle.id print(' 404.html') gen_404() print(' /help/') gen_help() print('') if __name__ == '__main__': process()