Skip to content

Commit

Permalink
png.pl: make payload chunk as critical to prevent stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Dec 20, 2019
1 parent ebf19ab commit facd742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions png.pl
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ sub inject_payload {
# chunk size
syswrite $fh, (pack 'I>', length $payload);

# chunk name: pUnk
syswrite $fh, "\x70\x55\x6e\x6b";
# chunk name: PUnK (critical)
syswrite $fh, "\x50\x55\x6e\x4b";

syswrite $fh, $payload;

Expand Down

0 comments on commit facd742

Please sign in to comment.