Created
September 1, 2021 12:16
-
-
Save spetrunia/6cf92913cce8d42eed67b5dec3b509f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use MIME::Base64; | |
while(<>) { | |
if ($_ =~ /base64:type254:([^"]+)"/) { | |
$res= decode_base64($1); | |
s/base64:type254:([^"]+)"/b64dec:type254:$res"/; | |
} | |
print $_; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment