- 博客(10)
- 收藏
- 关注
原创 第一次进行android逆向的过程记录
前言要逆向的是一款叫shengqian快报的app,具体要分析sign签名的加密过程。环境配置及工具系统:macOS 10.14.1模拟器:mac版夜神模拟器 3.0.3.0抓包工具:Charles逆向工具:apk-tool、JD-GUI、frida、adb、dex2jar、objection准备工作从网上下载shengqian快报的apk保存到电脑上,打开夜神模拟器,将apk拖到夜神模拟器里面安装。抓包分析使用Charles对夜神模拟器进行抓包。(需要在夜神模拟器.
2020-06-22 14:57:59
386
原创 获得对象可被调用的方法及方法文档
def info(object, collapse=1, spacing=15): """ 使用更加格式化的方式来将 object中可以被调用的方法,被调用的方法详细的文档说明打印出来 collapse默认为1,用于选择分割字符串的方式,使processFun得值为" ".join(s.split()), 如果设为0,则为s """ me...
2018-08-13 00:20:41
224
原创 python中与或运算
逻辑与(and):>>> 1 and "a"'a'>>> 0 and "a"0 逻辑或(or): >>> 0 or "a"'a' 与或运算: 观察下面两个运算可以看出0和1可以作为输出'a'或'b'的开关。>>> 0 and 'a
2018-08-12 23:37:30
24582
原创 MAC环境为python3时无法创建cocos2d-x项目解决方法
由于cocos2d-x不支持python3版本,因此创建项目时就会遇到问题。我的解决方法:打开终端,输入vim ~/.bash_profile在第一行加入一句(注意一定要在第一行,放在后面可能会被python3的path覆盖掉)export PATH="/System/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"保存并退...
2018-03-22 11:13:52
1028
原创 Find Anagram Mappings
DescriptionGiven two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements in A.We want to find an index mapping P, from A to B. A mappi...
2018-02-09 11:49:36
198
原创 Self Dividing Numbers
DescriptionA self-dividing number is a number that is divisible by every digit it contains.For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0.Also, a self-...
2018-02-09 11:49:28
244
原创 Judge Route Circle
DescriptionInitially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the original place.The move sequence is repre...
2018-02-09 11:49:20
140
原创 python中连续赋值遇到的问题
在学习生成器的时候做了一个生成斐波那契数列的练习,下面是练习的代码:import sysdef fib(n): a, b, count = 0, 1, 0 while 1: if count >= n: return yield a a, b, count = b, a + b, count+1
2018-01-24 18:33:31
685
原创 MacOS安装python3
Mac系统自带python,不过版本是2.x的,我的系统python版本是2.7.10。skdeMacBook-Air:~ Kevin$ pythonPython 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwinType
2018-01-24 11:12:31
290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人