Skip to content

Commit

Permalink
remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Dec 5, 2021
1 parent b83f15c commit 7062ef6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions bmp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
say `file $outfile` if -f '/usr/bin/file';
say `hexdump -C $outfile` if -f '/usr/bin/hexdump';

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Subroutines #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

sub usage {
say <<"EOF";
Expand Down Expand Up @@ -80,7 +80,7 @@ sub inject_payload {

syswrite $fh, "\x2f\x2a";
sysseek $fh, 0, SEEK_END;

syswrite $fh, "\x2a\x2f\x3d\x31\x3b";
syswrite $fh, $payload;
syswrite $fh, "\x3b";
Expand Down
4 changes: 2 additions & 2 deletions gif.pl
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
say `file $outfile` if -f '/usr/bin/file';
say `hexdump -C $outfile` if -f '/usr/bin/hexdump';

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Subroutines #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

sub usage {
say <<"EOF";
Expand Down
6 changes: 3 additions & 3 deletions jpg.pl
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
say `file $outfile` if -f '/usr/bin/file';
say `hexdump -C $outfile` if -f '/usr/bin/hexdump';

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Subroutines #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

sub usage {
say <<"EOF";
Expand Down Expand Up @@ -123,7 +123,7 @@ sub inject_payload_to_comm {

$exifTool->WriteInfo($outfile)
or die "[✘] Fail to WriteInfo\n";

say "[✔] Payload was injected successfully\n";
}

Expand Down
8 changes: 4 additions & 4 deletions png.pl
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
say `file $outfile` if -f '/usr/bin/file';
say `hexdump -C $outfile` if -f '/usr/bin/hexdump';

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Subroutines #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

sub systell {
sysseek $_[0], 0, SEEK_CUR
Expand Down Expand Up @@ -118,8 +118,8 @@ sub inject_payload {
sysread $fh, $chunk_type, 4;

$chunk_size = unpack('I>', $chunk_size);
say "[+] Chunk size: $chunk_size";

say "[+] Chunk size: $chunk_size";
say "[+] Chunk type: $chunk_type";

return if $chunk_type eq 'IEND';
Expand Down
6 changes: 3 additions & 3 deletions webp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
say `file $outfile` if -f '/usr/bin/file';
say `hexdump -C $outfile` if -f '/usr/bin/hexdump';

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Subroutines #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

sub usage {
say <<"EOF";
Expand All @@ -55,7 +55,7 @@ sub usage {
webp image. Only the new (minimal) webp image will be created and your
payload will be injected into.
If the -output argument file exists, the payload will be injected into
If the -output argument file exists, the payload will be injected into
the existing image, but this image will be corrupted.
EOF
exit +shift;
Expand Down

0 comments on commit 7062ef6

Please sign in to comment.