PC端微信会将图片进行异或加密再存储,把原本可以快乐jpg的全部搞成dat格式。某一天我想在PC端想找几个有用的历史图片,发现dat没法打开,研究了一下,搞到了dat转jpg的py代码,如有侵权立删。
就这种简单方法,在百度和知乎还有人忽悠交几十块钱去买他的转化程序,互联网时代割韭菜钱也来得太快了吧?我们不能被忽悠,下面这个python3的代码,复制到你自己的编译器,只需要修改一下导入和导出的文件路径,run一下就全部自动给出来了,免费的。
但是有个条件,这玩意儿对你有用,以后就多访问望江雁的网站。请记住我的域名xianghonghuang.cn,以后还会持续出一些有用的技术贴,即使不炒股、不玩音乐、对文学没兴趣,你来我这也可以掌握真枪实弹的技术。
import os
into_path = r'E:\wendang\WeChat Files\wxid_wa8ztuagwm9q32\FileStorage\Image\2020-07' #请将想导入的dat文件的路径复制到引号里面,修改此处代码
out_path = r"E:\jpgs" #运行代码前记得修改导出路径,此处是导出到E盘的jpgs空文件夹下
def imageDecode(f, fn):
dat_read = open(f, "rb")
xo = Format(f)
out = out_path + fn + ".jpg"
print("导出文件的路径{}".format(out), end='\n\n')
png_write = open(out, "wb")
dat_read.seek(0)
for now in dat_read:
for nowByte in now:
newByte = nowByte ^ xo
png_write.write(bytes([newByte]))
dat_read.close()
png_write.close()
def findFile(f):
fsinfo = os.listdir(f)
print(fsinfo)
for fn in fsinfo:
temp_path = os.path.join(f, fn)
if os.path.isfile(temp_path):
print('导入的文件路径是{}'.format(temp_path))
fn = fn[:-4]
imageDecode(temp_path, fn)
else:
pass
def Format(f):
dat_r = open(f, "rb")
try:
a = [(0x89, 0x50, 0x4e), (0x47, 0x49, 0x46), (0xff, 0xd8, 0xff)]
for now in dat_r:
for xor in a:
i = 0
res = []
nowg = now[:3]
for nowByte in nowg:
res.append(nowByte ^ xor[i])
i += 1
if res[0] == res[1] == res[2]:
return res[0]
except:
pass
finally:
dat_r.close()
if __name__ == '__main__':
findFile(into_path)
semaglutide canada pharmacy prices
wegovy retail price
semaglutide medication
http://medicinefromindia.store/# top 10 pharmacies in india
buy wegovy online from india
wegovy over the counter
https://certifiedpharmacymexico.pro/# medicine in mexico pharmacies
buy rybelsus online no script needed
🌌 Wow, this blog is like a fantastic adventure blasting off into the universe of wonder! 🎢 The captivating content here is a rollercoaster ride for the imagination, sparking awe at every turn. 🌟 Whether it’s technology, this blog is a goldmine of inspiring insights! 🌟 Embark into this exciting adventure of imagination and let your mind soar! 🌈 Don’t just enjoy, savor the excitement! 🌈 🚀 will be grateful for this exciting journey through the dimensions of endless wonder! 🚀
purchase rybelsus
order wegovy
wegovy 14mg
semaglutide buy from canada
furosemide 100mg for sale lasix 100mg drug buy generic lasix
кракен kraken kraken darknet top
Скрытая сеть, представляет собой, закрытую, сеть, в, сети, вход, получается, путем, уникальные, программы плюс, инструменты, обеспечивающие, конфиденциальность пользователей. Один из, этих, средств, считается, The Onion Router, который обеспечивает, гарантирует, защищенное, подключение к интернету, к сети Даркнет. Используя, его, сетевые пользователи, могут иметь возможность, незаметно, посещать, сайты, не индексируемые, стандартными, поисковыми сервисами, позволяя таким образом, обстановку, для осуществления, различных, запрещенных деятельностей.
Киберторговая площадка, в свою очередь, часто связывается с, даркнетом, в качестве, площадка, для, криминалитетом. Здесь, есть возможность, купить, разные, нелегальные, товары и услуги, начиная от, препаратов и огнестрельного оружия, доходя до, хакерскими действиями. Система, гарантирует, высокую степень, шифрования, и также, защиты личной информации, что, делает, данную систему, привлекательной, для тех, кто, стремится, избежать, наказания, от органов порядка.
wegovy canada
semaglutide price
purchase semaglutide
nice content!nice history!! boba 😀
https://canadianinternationalpharmacy.pro/# rate canadian pharmacies
sildenafil online order sildenafil citrate 50mg sildenafil pharmacy
buy ozempic
rybelsus canada pharmacy
http://certifiedpharmacymexico.pro/# mexico drug stores pharmacies
ozempic semaglutide tablets cost
buy semaglutide uk
medicine in mexico pharmacies buying from online mexican pharmacy п»їbest mexican online pharmacies
buy semaglutide
mexican mail order pharmacies mexican rx online buying prescription drugs in mexico
canadianpharmacyworld com canadian drugstore online canadian drugs pharmacy
indian pharmacy online mail order pharmacy india п»їlegitimate online pharmacies india
buying prescription drugs in mexico online: medication from mexico pharmacy – mexico drug stores pharmacies
Great delivery. Sound arguments. Keep up the amazing effort.
https://certifiedpharmacymexico.pro/# mexico pharmacies prescription drugs
ed medications list natural remedies for ed ed treatment drugs
wegovy semaglutide tablets
where can i buy semaglutide
blibli
https://edpill.cheap/# top rated ed pills
http://medicinefromindia.store/# pharmacy website india
semaglutide 7 mg tablet
rybelsus lose weight
https://definithing.com/entertainment/the-unveiling-of-the-most-expensive-csgo-skin-ever-sold/
I don’t know whether it’s just me or if everybody else experiencing problems with your website. It looks like some of the text within your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them as well? This might be a problem with my web browser because I’ve had this happen previously. Thank you
http://edpill.cheap/# cheap erectile dysfunction pills
wegovy tablets cost
cheap semaglutide
http://certifiedpharmacymexico.pro/# buying prescription drugs in mexico
buying ed pills online online ed pills buying ed pills online
rybelsus