摘要: 5.re-for-50-plz-50 tu-ctf-2016 流程很简单,异或比较 1 x=list('cbtcqLUBChERV[[Nh@_X^D]X_YPV[CJ') 2 y=0x37 3 z='' 4 for t in x: 5 z+=chr(ord(t)^y) 6 print(z) TUCT 阅读全文
posted @ 2019-08-29 21:48 DirWangK 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1.dmd-50 suctf-2016 md5后比较,在线解md5得到: md5(md5($pass)),所以将grape再进行MD5 b781cbb29054db12f88f08c6e161c199 2.Shuffle SECCON-CTF-2014 硬编码: SECCON{Welcome to 阅读全文
posted @ 2019-08-29 20:40 DirWangK 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 1 # bytes 与 int 2 b=b'\x01\x02' 3 num=int.from_bytes(b,'little') 4 print('bytes转int:',num) 5 6 b1=num.to_bytes(2,'little') 7 print('int转bytes:',b1) 8 阅读全文
posted @ 2019-08-29 19:34 DirWangK 阅读(17550) 评论(1) 推荐(0) 编辑
摘要: print(int('0b1010',0))#二进制数print(int('0xa',0))#十六进制数print(int('0xa',16))print(int('a',16))print(int(0xa))print(int(10.0)) """ int(x=0) -> integer int( 阅读全文
posted @ 2019-08-29 17:39 DirWangK 阅读(3236) 评论(0) 推荐(0) 编辑
摘要: 输出: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 阅读全文
posted @ 2019-08-29 17:17 DirWangK 阅读(283) 评论(0) 推荐(0) 编辑
摘要: b'aGVsbG8gd29ybGQ='b'hello world'hello world base64更改编码表: 标准base64编码:aGVsbG8gd29ybGQ=修改base64编码:iUdCjUS1yM9IjUY=hello world 阅读全文
posted @ 2019-08-29 17:07 DirWangK 阅读(1298) 评论(0) 推荐(0) 编辑