ExcelliumSA / WebConfigurationAuditor

The tools has for objective to perform a fully automated secure configuration review using the CIS referential.
GNU General Public License v3.0
1 stars 0 forks source link

Bug: IIS Extraction script missing case handling #16

Closed righettod closed 3 years ago

righettod commented 3 years ago

Add the following cases handling:

Error when JSON file is encoded using UTF8 BOM

PS> python main.py -f E:\Temp\TEST -s IIS -t template_html -o report.html
[INFO ] Load the audit rules from the reference file 'references/IIS.json'...
[INFO ] 54 rules loaded.
[INFO ] Gather the list of configuration files to review...
[INFO ] 1 files identified.
[INFO ] Load the configuration content for each configuration files to review...
[ERROR] Error during the processing: Expecting value: line 1 column 1 (char 0)
righettod commented 3 years ago

Error was also documented in a new KB section.