the difference between these two images are brightness level, hence go to the 'brightness.html'
download 'delta.gz' and unzip the file
look into the dataset, the regular stuff would come out...
>>> import gzip
>>> f=gzip.open('/home/****/Downloads/deltas.gz')
>>> data=f.read()
>>> data=data.splitlines()
>>> import difflib
>>> left=[]
>>> right=[]
>>> for row in data:
left.append(row[0:53])
right.append(row[56:])
>>> diff=list(difflib.ndiff(left,right))
>>> add_data=['']
>>> minus_data=['']
>>> space_data=['']
>>> for temp in diff:
s=temp[0:1]
t=[]
for b in temp[2:].split():
t.append(chr((int(b,16))))
n.append(s)
if s=='+':
add_data[0]+=''.join(t)
elif s=='-':
minus_data[0]+=''.join(t)
else:
space_data[0]+=''.join(t)
>>> open('add.png','wb').write(add_data[0])
>>> open('minus.png','wb').write(minus_data[0])
>>> open('space.png','wb').write(space_data[0])
the username is 'butter' password is 'fly' and the url is '../hex/bin.html'
download 'delta.gz' and unzip the file
look into the dataset, the regular stuff would come out...
>>> import gzip
>>> f=gzip.open('/home/****/Downloads/deltas.gz')
>>> data=f.read()
>>> data=data.splitlines()
>>> import difflib
>>> left=[]
>>> right=[]
>>> for row in data:
left.append(row[0:53])
right.append(row[56:])
>>> diff=list(difflib.ndiff(left,right))
>>> add_data=['']
>>> minus_data=['']
>>> space_data=['']
>>> for temp in diff:
s=temp[0:1]
t=[]
for b in temp[2:].split():
t.append(chr((int(b,16))))
n.append(s)
if s=='+':
add_data[0]+=''.join(t)
elif s=='-':
minus_data[0]+=''.join(t)
else:
space_data[0]+=''.join(t)
>>> open('add.png','wb').write(add_data[0])
>>> open('minus.png','wb').write(minus_data[0])
>>> open('space.png','wb').write(space_data[0])
the username is 'butter' password is 'fly' and the url is '../hex/bin.html'
本文介绍了一种通过分析两张图片的亮度差异来提取隐藏信息的方法。具体步骤包括下载并解压包含图片亮度差异的数据集,使用Python进行数据处理,通过对比原始数据生成三张图片以展示增加、减少及不变的部分,并从中提取用户名、密码等信息。
1417

被折叠的 条评论
为什么被折叠?



