摘要:
嵌套生成器方法: ab = [[1,2,3], [5,8,9,0], [7,8,9]] print([i for item in ab for i in item]) #[1, 2, 3, 5, 8, 9, 0, 7, 8, 9] 原理:将ab二维数组先转换成生成器,在将这个生成器继续转换成更细(一 阅读全文
摘要:
目的:使用ContentResolver和ContentProvider进行两个app的数据共享 问题:插入了数据但是一直出现Failed to find provider info for com.test(com.test 是provider的authorities值) 经过测试,发现了两个ap 阅读全文
摘要:
XCTF的新手逆向题 题目是pyc的后缀,反编译得到python源码 #!/usr/bin/env python # encoding: utf-8 import base64 def encode(message): s = '' for i in message: x = ord(i) ^ 32 阅读全文