Hello,
This is my first post here
With OpenVAS 10, I get a corrupted PDF when I export reports (PDF or latex).
I’ve exported the report in XML (not the xml anonymous, the full) and run manually xsltproc command :
xsltproc ./latex.xsl test.xml > test.latex
Then pdflatex command :
pdflatex test.latex
…
! Misplaced \noalign.
\rowcolor ->\noalign
{\ifnum 0=`}\fi \global \let \CT@do@color \CT@@do@color…
l.1357 \rowcolor
{white}{\verb=arachni (NASL wrapper)=}\
In test.latex file :
…
1355 : \textbf{Log Method}\
1356 : Details:
1357 : \rowcolor{white}{\verb=arachni (NASL wrapper)=}\
1358 : OID:1.3.6.1.4.1.25623.1.0.110001\
1359 : Version used:
…
If I modify latex.xsl like this :
- 1306 : xsl:textDetails:</xsl:text><xsl:call-template name=“newline”/>
- 1306 : xsl:textDetails:\</xsl:text><xsl:call-template name=“newline”/>
…
- 1333 : xsl:textVersion used:</xsl:text><xsl:call-template name=“newline”/>
- 1333 : xsl:textVersion used:\</xsl:text><xsl:call-template name=“newline”/>
I can get a PDF report with the hosts but without vulnerabilities while there are many vulnerabilities
My system :
gsad --version
Greenbone Security Assistant 8.0+beta2
gvmd --version
Greenbone Vulnerability Manager 8.0+beta2
openvassd --version
OpenVAS Scanner 6.0+beta2
gvm-libs:
gvm-libs-1.0-beta2
Operating system:
Ubuntu Server 18.04 x64
Did anyone have this problem?
Thanks