... | ... | @@ -145,3 +145,22 @@ MongoError: Sort exceeded memory limit of 104857600 bytes, but did not opt in to |
|
|
```
|
|
|
|
|
|
</details>
|
|
|
|
|
|
### PwnDoc parsing problems
|
|
|
|
|
|
PwnDoc supports only subset of HTML. Importer does preprocessing to transform the HTML, but clearly there are more problems. I don't have reproducers for the following problems, that TNS encountered in their testing.
|
|
|
|
|
|
- [ ] TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Content-Disposition"]
|
|
|
- [ ] TypeError: Cannot read properties of undefined (reading 'substring')
|
|
|
|
|
|
In addition, parsing can be inside Docx template, for example:
|
|
|
|
|
|
- [ ] explanation: 'The tag "text | convertHTML" is not inside a paragraph, putting raw tags inside an inline loop is disallowed.',
|
|
|
- [ ] explanation: 'The loop with tag "findings" is unclosed',
|
|
|
- [ ] explanation: `The tag "description" is closed by the tag "#images != ''"`,
|
|
|
- [ ] explanation: `The tag "poc != ''" is closed by the tag "findings"`,
|
|
|
- [ ] explanation: `The scope parser for the tag "#images != ''" failed to compile`,
|
|
|
- [ ] explanation: `The tag "images != ''" is closed by the tag "#images != ''"`,
|
|
|
- [ ] explanation: 'The tag "image" is not inside a paragraph',
|
|
|
- [ ] explanation: 'The tag beginning with "{/" is unclosed',
|
|
|
|