随笔分类 - 爬虫
摘要:一.不多说直接上代码 #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/11/11 14:04 # @Author : ywy import os, sys path = r'xxxx'# 文件夹目录 files = os.li
阅读全文
摘要:一.异常报告 frida.NotSupportedError: unexpected error while attaching to process with pid xxxx 二.解决方法 #首先要重启下 adb #断开之前的frida #adb shell #su root #setenfor
阅读全文
摘要:任何事情都没有捷径都是博主日积月累累积的,加密的文章不便于公开大家谅解一下,爬虫实践自己专研很重要 一.爬虫原则 爬虫的盗亦有道Robots协议 二.爬虫页面获取基础 Requests库概念 深入requests库params|data|json参数 requests模块请求常用参数的写法整理 re
阅读全文
摘要:一.涉及知识点 app脱壳 java层 so层动态注册 二.抓包信息 POST /user/login.html HTTP/1.1 x-app-session: 1603177116420 x-app-lng: 121.xxxx x-app-lat: 31.xxxxxx x-app-version:
阅读全文
摘要:一.查看内存 redis-cli #连接 info #可以查看配置信息 config get 配置内容 #查看指定配置内容 CONFIG GET maxmemory #查看内存 如果maxmemory值为0,表示不做限制 config get maxmemory-policy #查看策略 二.配置的
阅读全文
摘要:一.简单使用和讲解 import aiohttp import asyncio async def fetch(client): async with client.get('http://httpbin.org/get') as resp: assert resp.status == 200 re
阅读全文
摘要:一.代码 #!/usr/bin/python # -*- coding: UTF-8 -*- import requests import socket import socks SOCKS5_PROXY_HOST = 'xxxx' # socks 代理IP地址 SOCKS5_PROXY_PORT
阅读全文
摘要:一.命令行启动浏览器 chrome.exe --remote-debugging-port=5555 --user-data-dir="C:\selenum\setting" -remote-debugging-port值,可以指定任何打开的端口。 -user-data-dir标记,指定创建新Chr
阅读全文
摘要:frida获取so层动态注册函数 谢谢大佬的无私奉献https://github.com/lasting-yang/frida_hook_libart 一.js模板一 function hook_RegisterNatives() { var symbols = Module.enumerateSy
阅读全文
摘要:androidpoco定义方法 from poco.drivers.android.uiautomation import AndroidUiautomationPoco dev = connect_device("android:///" + devices) Androidpoco = Andr
阅读全文
摘要:一.本地连接 # -*- coding: utf-8 -*-# from poco.drivers.android.uiautomation import AndroidUiautomationPoco from airtest.core.api import * class_name = '059
阅读全文
摘要:一.实现代码 # -*- coding: utf-8 -*- import cv2 from PIL import Image from io import BytesIO def tryTime(maxTry, timeout=random.random()): """ 重试 :param max
阅读全文
摘要:一.环境配置 https://ffmpeg.org/download.html#build-windows #选择对于系统 如果是windows直接访问一下连接 https://github.com/BtbN/FFmpeg-Builds/releases 选择xxx-shared.zip https
阅读全文
摘要:模板 function getfunc() { java.perform(function () { var class_name = java.use('你反编译需要拿到的类名'); var methods=class_name.getDeclaredMethods(); for(var j =0
阅读全文
摘要:1.界面介绍 https://www.freebuf.com/column/157939.html 2.IDA常用快捷键 切换文本视图与图表视图 空格键 返回上一个操作地址 ESC 搜索地址和符号 G 对符号进行重命名 N 常规注释 '冒号键 可重复注释 分号键 添加标签 Alt+M 查看标签 Ct
阅读全文