diff --git a/Document/0x05j-Testing-Resiliency-Against-Reverse-Engineering.md b/Document/0x05j-Testing-Resiliency-Against-Reverse-Engineering.md index 561e8953db..beada1c388 100644 --- a/Document/0x05j-Testing-Resiliency-Against-Reverse-Engineering.md +++ b/Document/0x05j-Testing-Resiliency-Against-Reverse-Engineering.md @@ -30,7 +30,7 @@ In the following section, we list some common root detection methods you'll enco Root detection can also be implemented through libraries such as [RootBeer](https://github.com/scottyab/rootbeer "RootBeer"). -#### SafetyNet +#### SafetyNet SafetyNet is an Android API that provides a set of services and creates profiles of devices according to software and hardware information. This profile is then compared to a list of accepted device models that have passed Android compatibility testing. Google [recommends](https://developers.google.com/android/reference/com/google/android/gms/safetynet/SafetyNet "SafetyNet Documentation") using the feature as "an additional in-depth defense signal as part of an anti-abuse system". diff --git a/src/scripts/populate_dynamic_pages.py b/src/scripts/populate_dynamic_pages.py index 052cf4c986..b37ab3b600 100644 --- a/src/scripts/populate_dynamic_pages.py +++ b/src/scripts/populate_dynamic_pages.py @@ -78,7 +78,7 @@ def reorder_dict_keys(original_dict, key_order): # tests/index.md -column_titles = {'id': 'ID', 'title': 'Name', 'masvs_v2_id': "MASVS ID", 'last_updated': 'Last Updated'} #'id': 'ID', ... , 'refs': 'Refs', 'techniques': 'Techniques' +column_titles = {'id': 'ID', 'title': 'Name', 'masvs_v2_id': "MASVS v2 ID", 'masvs_v1_id': "MASVS v1 IDs"} #'id': 'ID', ... , 'refs': 'Refs', 'techniques': 'Techniques', 'last_updated': 'Last Updated' tests = get_mastg_components_dict("docs/MASTG/tests") test_types = ["android", "ios"] @@ -87,6 +87,8 @@ def reorder_dict_keys(original_dict, key_order): tests_of_type = [reorder_dict_keys(test, column_titles.keys()) for test in tests if test['platform'] == test_type] for test in tests_of_type: test['masvs_v2_id'] = test['masvs_v2_id'][0] + if test.get("masvs_v1_id"): + test['masvs_v1_id'] = "
".join([f"{v1_id}" for v1_id in test['masvs_v1_id']]) for group_id, checklist in CHECKLIST_DICT.items():