DHCP
DHCP
Published on 2023-11-05 / 52 Visits
0
0

2023山河ctf misc 可爱的派梦捏

2023山河ctf misc 可爱的派梦捏

题目压缩包解压缩以后发现是一个图片
放入kali使用binwalk分离
分离出了两个txt,打开看一下
发现两个文件的内容类似,推测可能要找到两个文件不同的地方
Exp:

with open("C:\\Users\\32541\\Desktop\\txt1.txt",'r') as fp:
    a=fp.read()
with open("C:\\Users\\32541\\Desktop\\txt2.txt",'r') as fp:
    b=fp.read()
for i in range(len(a)):
    if a[i]!=b[i]:
        print(b[i],end='')


Comment