[RoarCTF2019] Golden Year 6

The roar of miscellaneous questions CTF

This question is relatively simple

After the download is a mp4 file, six gold, harm, which the dear beloved terrier

Using 010 Editor open the video file, find the bottom there is base64 encoded

UmFyIRoHAQAzkrXlCgEFBgAFAQGAgADh7ek5VQIDPLAABKEAIEvsUpGAAwAIZmxhZy50eHQwAQAD
Dx43HyOdLMGWfCE9WEsBZprAJQoBSVlWkJNS9TP5du2kyJ275JzsNo29BnSZCgMC3h+UFV9p1QEf
JkBPPR6MrYwXmsMCMz67DN/k5u1NYw9ga53a83/B/t2G9FkG/IITuR+9gIvr/LEdd1ZRAwUEAA==

Online decode it

 

 You can see it is Rar file, write python script outputs

import base64
code="UmFyIRoHAQAzkrXlCgEFBgAFAQGAgADh7ek5VQIDPLAABKEAIEvsUpGAAwAIZmxhZy50eHQwAQADDx43HyOdLMGWfCE9WEsBZprAJQoBSVlWkJNS9TP5du2kyJ275JzsNo29BnSZCgMC3h+UFV9p1QEfJkBPPR6MrYwXmsMCMz67DN/k5u1NYw9ga53a83/B/t2G9FkG/IITuR+9gIvr/LEdd1ZRAwUEAA=="
r=base64.b64decode(code)
test_file=open("test.rar","wb")
test_file.write(r)
test_file.close()

View test.rar output file, a password is required

We found a file in base64 hex file video which, in general, the password will be hidden in the player's video

I'm using here is pr framing View video

 

 

 

 

 

 

 

 This topic should really do the screen a little brighter, and finally a two-dimensional code can not be found for a long time life and death, the brighter the screen immediately after it found

After the scan code will put together a password

Get password: iwantplayctf

Password decompression

Guess you like

Origin www.cnblogs.com/Cl0ud/p/12181703.html