BUUCTF:[DDCTF2018]第四扩展FS

题目地址:https://buuoj.cn/challenges#[DDCTF2018]%E7%AC%AC%E5%9B%9B%E6%89%A9%E5%B1%95FS

得到一张jpg

先丢进kali里foremost -T 得到隐藏zip 加密

回头看jpg属性 发现有注释 应该就是zip的密码了

解压得到txt

应该与词出现的频率有关

思维僵固 遂上网查询wp

原题有提示

贴个代码(Python2)

# -*- coding: utf-8 -*-
from collections import Counter
f=open('file.txt','r')
f_read=f.read()
print Counter(f_read)

得到下图结果

连接一下即得到flag:DCTF{huanwe1sik4o!}

参考:https://blog.csdn.net/xiangshangbashaonian/article/details/80016324
posted @ 2022-01-26 22:48  B0mbax  阅读(206)  评论(0编辑  收藏  举报