Ryan Prather
44669decf4
Nessus 8.2 can accommodate invalid XML tags. In plugin 86067, it now includes a tag <ssl/chain/sha-1>{data}</ssl/chain/sha-1>. The forward slashes in the opening tag cause the PHP stream parser to barf. I added a regex to remove tags with forward slashes in the tag that don't appear as the first character after the less than sign. As a result, this will also remove <attachment> tag items because the <attachment> tag also includes a "type" attribute that contains the MIME type of the attachment file. Not a big deal though because we are not using the attachments. If we decide to grab those as well, we will have to change this regex to make it work. |
||
---|---|---|
.. | ||
vendor | ||
.gitignore | ||
array2xml.inc | ||
base.inc | ||
chart.php | ||
composer.json | ||
composer.lock | ||
database.inc | ||
excelConditionalStyles.inc | ||
finding-filter.inc | ||
footer.inc | ||
header.inc | ||
helper.inc | ||
menu.inc | ||
reference-filter.inc | ||
scan-filter.inc | ||
target-filter.inc | ||
validation.inc | ||
xml_parser.inc |