从Objection的使用操作中我们可以发现,Obejction采用Attach附加模式进行Hook,这可能会让我们错过较早的Hook时机,可以通过如下的代码启动Objection,引号中的objection命令会在启动时就注入App
objection -g packageName explore --startup-command 'android hooking watch xxx' 从Objection的使用操作中我们可以发现,Obejction采用Attach附加模式进行Hook,这可能会让我们错过较早的Hook时机,可以通过如下的代码启动Objection,引号中的objection命令会在启动时就注入App
objection -g packageName explore --startup-command 'android hooking watch xxx' 注意:本笔记为C核心语法学习笔记,为笔者快速复习C时使用,更完整的教程请查看更专业的C教程。
1、0xA3U:表示无符号的十六制数0xA3
2、字符常量:‘a' == 97
3、字符串常量:"aa",系统会在存储字符串的时候自动加上字符串结束标志:’\0'
4、符号常量/宏常量:#define 常量名 常量值 #define PI 3.1415926
今天整理脚本时,发现存了挺多跳转app的代码,大部分是我在百度上搜索得来的,所以你们也不用问我获取方法了,用就完了。当然之前我也写过一个快手的提取scheme url的方法,想学的话在我公众号(3分钟学堂)历史文章自行搜索。
多余的话我就不多说了直接上代码。注:向右滑动可以查看完整代码。
抖音作品页
Import "shanhai.lua"
shanhai.execute("am start -a android.intent.action.VIEW -d snssdk1128://aweme/detail/6814634004747193615")
| import sys | |
| import re | |
| import gzip | |
| import mimetypes | |
| from mimetools import Message | |
| from StringIO import StringIO | |
| def parse_headers(raw_headers): | |
| response_line, headers_text = raw_headers.split('\n', 1) | |
| headers = Message(StringIO(headers_text)) |
def pb2jb(byte_arr):
"""
python字节码转java字节码
:param byte_arr:
:return:
"""
return [int(i) - 256 if int(i) > 127 else int(i) for i in byte_arr]| http { | |
| upstream tiktok { | |
| server 192.168.90.147:5000; | |
| # server 192.90.156:5000; | |
| } | |
| server { | |
| listen 8080; | |
| # proxy_send_timeout 300s; | |
| # proxy_read_timeout 300s; |
| var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(f) { | |
| return typeof f | |
| } | |
| : function(f) { | |
| return f && "function" == typeof Symbol && f.constructor === Symbol && f !== Symbol.prototype ? "symbol" : typeof f | |
| } | |
| ; | |
| TAC = function() { | |
| function f(f, a, b, d, c, r) { | |
| null == r && (r = this); |
cd /data/misc/user/0/cacerts-added
# 安卓8
mount -o remount,rw /system
# 安卓7
mount -o rw,remount /system
cp * /etc/security/cacerts/
mount -o remount,ro /system
# 移动后记得修改权限 chmod 777 xxx.0| # _*_ coding: utf-8 _*_ | |
| # Flask中的一些定义 | |
| # ============================================================================================================================= | |
| # WSGI: Web服务器网关接口,是一种Web服务使用的协议。 | |
| # 路由: 处理URL和函数之间关系的程序称为"路由"。 | |
| # 视图函数: 类似于index()这样的,被app.route装饰器注册为路由的函数,或者通过app.add_url_rule()添加路由映射关系的函数,被称为视图函数。 | |
| # app.route(): 路由装饰器,可以带参数,参数可以指定数据类型:int/float/path。path类似于字符串,但不将反斜线/当做分隔符。 | |
| # ============================================================================================================================= |