OrenGitHub / dhscanner

free as in speech container scanner
https://orengithub.github.io/
2 stars 0 forks source link

CVE-2024-33667 missing entire if body block #68

Closed OrenGitHub closed 3 months ago

OrenGitHub commented 3 months ago
$ grep -rn sub_class_name output.txt | wc -l
0
OrenGitHub commented 3 months ago

Here is the original ruby source code:

        if @preferences[ object_name ].present?
          sub_class_name = object_name.to_s.capitalize
OrenGitHub commented 3 months ago

FIXED:

$ python src/dhscanner.py --input=zammand.tar --workdir=workdir > output.txt
$ grep -rn sub_class_name output.txt | wc -l
12