Skip to content

Commit

Permalink
Added hint to imagemagick's security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelduss committed Sep 6, 2023
1 parent f47762a commit 44a0cee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions createpng
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env bash

#
# Note: You have to add the following line in /etc/ImageMagick-6/policy.xml:
#
# <policy domain="coder" rights="read|write" pattern="PDF,PS" />
#

PDF="$(ls hacking_tools_cheat_sheet_v*.pdf)"
PNG="$(sed 's/\.pdf$/.png/' <<< $PDF)"

Expand Down

0 comments on commit 44a0cee

Please sign in to comment.