Created
April 3, 2016 13:36
-
-
Save hpyhacking/8eb7c7fd57cb1c60abe6aa4266caf873 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# encoding: UTF-8 | |
require 'base64' | |
File.readlines('new.txt').each do |line| | |
puts line | |
if line =~ /b64\](.*)\[/ | |
puts Base64.decode64($1) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment