# [GXYCTF2019]gakki

前面就是 foremost 分离,然后就是压缩包爆破密码,然后得到 flag.txt

image-20250506203349595

获得大量字符:

想到字频解码脚本:

# -*- coding:utf-8 -*-
#Author: mochu7
alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+- =\\{\\}[]"
strings = open('./flag.txt').read()
result = {}
for i in alphabet:
	counts = strings.count(i)
	i = '{0}'.format(i)
	result[i] = counts
res = sorted(result.items(),key=lambda item:item[1],reverse=True)
for data in res:
	print(data)
for i in res:
	flag = str(i[0])
	print(flag[0],end="")

image-20250506203856465

Edited on

Give me a cup of [coffee]~( ̄▽ ̄)~*

odiws WeChat Pay

WeChat Pay

odiws Alipay

Alipay

odiws PayPal

PayPal