2.1 Blind Test
- Prepare the compressed packages and categorize them into two groups: set1 and set2.
set1 corresponds to the data utilized in section 3.1Functionalityof the report.
set2 corresponds to the data utilized in section 3.2Performance Efficiency. - For each binary file in set1, create a separate directory that contains the compressed package along with a file named
manifest.phase1.set1.json.
This JSON file must include the attributereleaseDate. - For each binary file in set2, create a separate directory that contains the binary file along with a file named
manifest.phase1.set2.json.
This JSON file must include the attributetargetTestLabel. - Rename to hashed file name with
1-rename.py. - User upload Compressed Packages to SourceGuard to the same Project.
- User update record and update set2's
runTimeinmanifest.phase2.set2.json. - Download reports with
2-download-reports.pyusing the Project ID where Compressed Packages are uploaded to. - Show and save file hashes in output folder with
3-show-hash.sh. - Output folder ready for report generation.
tip
See Binary Preparation for preparation of compressed packages.
2.1.1 Report Downloader
This automated the renaming of compressed packages (hence the blindness of Hybrid Engine to the source of the binary).
Then it automated the web page login and download of the reports and preparing them for report generation.
2.1.2 Report Generator
This will read for the data prepared by Report Downloader.
Look up the CWEs (Common Weakness Enumeration) corresponding to the vulnerabilities and generate the report.