Logo

GuidePoint Security CTF 2021 - GoFaster (misc)

1 minute read Published:

Writeup for the Guidepoint 2021 CTF GoFaster misc challenge

Guidepoint Security CTF 2021 - GoFaster (misc)

For this challenge we get a large file with a lot of lines that appear to be HEX encoded data. Decoding this data it looked like there would be additional steps of decoding required since the resulting data appeared to be Base64 or Base62 encoded, but inspecting the output of just hex decoding each line we already find our flag:

data = File.readlines('GOFASTER.txt')

data.each do |line|
  line.chomp!
  tmp = [line].pack('H*')
  if tmp.include? 'CTF'
    puts tmp
    exit
  end
end
$ ruby solve.rb 
StormCTF{Learners:Encoding4:56fe2c8aB2A2cA0EedaA54f499fcfd1a}