病毒樣本分析
解決"convert-im6.q16: attempt to perform an operation not allowed by the security policy"問題
參考資訊:
1. imagemagick-security-policy-pdf-blocking-conversion
問題如下:
convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.
解法如下:
$ sudo vim /etc/ImageMagick-6/policy.xml <policy domain="coder" rights="read | write" pattern="PDF" />
P.S. 需要注意ImageMagick-X的版本差異,添加的內容是在</policymap>前一行