自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(59)
  • 收藏
  • 关注

原创 在线工具类

工具

2022-07-21 18:30:58 173 1

原创 app逆向环境win

jadx下载夜神下载firda环境

2022-06-13 14:32:48 171

原创 win环境配置mysql和Redis(添加环境变量)

参考文章1参考文章2文章1是整体流程,文章2是补充 默认登录密码启动mysql服务是报错,缺少vcruntime140_1.dll文件下载vc++运行库(集合),都得安装# 启动net start mysql# 停止net stop mysql在成功安装mysql及添加环境变量后,出现密码问题(1045)# 生成data文件命令mysqld --initialize-insecure在安装路径生成data文件之后data目录下找.err后缀的日志#..

2022-05-16 12:10:50 279

原创 北京医保医院

更改医保定点医院关注公众号–医保北京医保查询–个人定点查询修改次日生效

2021-12-30 09:28:03 135

原创 多线程demo

多线程demofrom threading import Threadclass MyThread(Thread): def __init__(self, func): Thread.__init__(self) self.func = func def run(self): self.func()def sayhello(): print('hello')if __name__ == '__main__':.

2021-12-24 18:26:12 88

原创 celery参数配置

参考1

2021-12-22 11:15:19 434 1

原创 MySQL数据库遇到Lock wait timeout exceeded问题

参考链接自己解决# 当前运行的所有事务select * from information_schema.innodb_trx;# 杀掉LOCK WAIT状态的线程IDkill 6987# 当杀掉真正的问题的线程ID,再次查询时,会显示空select * from information_schema.innodb_trx;其他了解# 锁等待的对应关系select * from information_schema.innodb_lock_waits;# 当前出现的锁selec.

2021-11-22 14:53:04 717

原创 Python把TXT写入Excel

import xlwtdef txt2xls(filename): # 创建一个workbook 设置编码 workbook = xlwt.Workbook(encoding='utf-8') # 创建一个worksheet worksheet = workbook.add_sheet('My Worksheet') with open(filename, 'r') as f1: i = 0 while i < 55:

2021-10-28 14:38:49 753

原创 使用docker安装wordpress

Ubuntu安装docker使用docker安装wordpress

2021-10-27 19:25:22 870

原创 elastic serach学习

中文文档是什么Elasticsearch 是一个分布式、可扩展、实时的搜索与数据分析引擎。 它能从项目一开始就赋予你的数据以搜索、分析和探索的能力,这是通常没有预料到的。 它存在还因为原始数据如果只是躺在磁盘里面根本就毫无用处。为什么elastic与mysql对比怎么做基本概念了解倒排索引...

2021-10-19 10:53:06 414

原创 twisted框架学习

系列文章文章

2021-10-02 11:52:27 81

原创 爬虫添加代理ip

urllib.request 配置代理proxy参考文章import reimport urllibimport urllib.request as urllib2from http.cookiejar import MozillaCookieJarfrom urllib import parseproxy = { 'http': 'http://user:password@ip:port', # 访问http需要 'https': 'https://us.

2021-08-20 10:21:29 489

原创 Python常用方法

转化当前时间# 导入time模块import time# 优化格式化化版本 2021-08-18 14:48:26print(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())))MD5import hashlib# md5(alert_id+URL)str = '123456'str_md5 = hashlib.md5(str.encode(encoding='utf-8')).hexdigest()..

2021-08-18 14:56:05 76

原创 Mac环境配置,pem连接服务器,连接MySQL

Mac通过pem连接服务器-使用服务器帐号密码,登录服务器,不安全,导致服务器直接奔溃了,现在采用pem的方式登录。-很简单一个命令。记录一下啊,格式如下 :ssh -i pem文件地址 root@服务器ip-举个栗子:-假如你下载的文件,为mypem.pem,并且你放到了桌面上,你的服务器ip是255.245.235.22,你要用root帐号登录-那么你就可以这么写ssh -i 不知道pem文件地址的,直接鼠标拖进命令窗口就行就行了 ,假设pem所在你电脑的地址是desktabel

2021-08-12 15:19:34 936

原创 滑块验证码和图片验证码

文章链接计算需要滑动的距离接码平台

2021-04-16 13:48:27 231

原创 APP逆向工具-js调试

某赢时空APP加密解密工具WT-JS_DEBUDGEAPP加密方法HOOKXposed + inspeckage

2021-04-09 16:21:14 1799

原创 frida入门

参考链接frida 脚本import fridaimport sysscr = """setImmediate(function() { console.log("[*] Starting script"); Java.perform(function(){ var mainAc = Java.use("com.ynyh.pythondemo.MainActivity"); Activity.initNum.implementation

2021-04-01 16:14:44 1284

原创 Python的一些魔法方法

__get__魔法方法将 类方法 转化成 类属性class TestDes: def __init__(self, func): self.func = func def __get__(self, instance, owner): # instance是 被装饰类 的实例,owner 为 被装饰类 print(instance, owner) p = self.func(instance) return.

2021-02-23 10:53:13 77

原创 Python正则部分

1、正则替换url_1 = 'A%E7%94%B1%E8%A1%8C&fhLimit=0%2C60&hlFields=title&isTouch=0&lines6To10=0&lm=1800%2C60&m=l%2CbookingInfo%2CbrowsingInfo%2Clm&o=pop-desc&random=982944&s=all&sourcepage=list&t=all&tf=pcindex_free

2020-11-16 11:32:41 140

原创 js反调试debugger问题

文章链接:点击进入文章

2020-10-28 10:04:46 421

原创 服务器相关-命令

scp命令1.从本地复制到远程命令:scp local_file remote_username@remote_ip:remote_folder 或者 scp local_file remote_username@remote_ip:remote_file 实例scp /home/space/music/1.mp3 root@www.runoob.com:/home/root/others/music scp /home/space/music/1.mp3 root@www.run

2020-10-22 11:47:58 87

原创 lxml与xpath使用demo

from lxml import etreeif __name__ == '__main__': text = ''' <div> <ul> <li class="item-0"><a href="link1.html">first item</a></li> <li class="item-1"><a href="link2.htm

2020-10-12 14:55:34 168

原创 免费代理IP网站

免费代理IP网站西刺免费代理:http://www.xicidaili.com/米扑代理:http://proxy.mimvp.com/free.php?proxy=in_hphttp://www.66ip.cn/http://www.goubanjia.com这个是githup上一个开源的免费代理池:https://github.com/WYL-BruceLong/ProxyPool.git...

2020-09-21 14:16:45 13203 2

原创 requests请求返回 set_cookie的处理,CookieJar转字典

1. 登录返回set_cook,把 新cook值 添加到 cookie 中result = requests.post(url=url_limit, headers=headers, data=data, verify=False)# 设置cookieif 'Set-Cookie' in result.headers: simple_cookie = SimpleCookie(result.headers['Set-Cookie']) print(f'simple_cookie is {simpl

2020-09-18 14:18:47 6006

原创 手机App抓包

背景:网站PC端用了 瑞数js 的加密,然后决定从APP端入手进行爬取。1.fiddler下载与设置2.经过上一步,fiddler已经可以抓到手机浏览器的包,但是在抓取 某些APP时遇到 网络连接异常 的问题。

2020-09-15 10:03:32 3239

原创 电脑组装和电脑配置选择

https://zhuanlan.zhihu.com/p/60381178点击进入文章

2020-09-11 15:37:52 114

原创 Python导包路径问题

import sysimport oscurPath = os.path.abspath(os.path.dirname(__file__))rootPath = os.path.split(curPath)[0]sys.path.append(rootPath)from 上一级目录.文件 import *

2020-09-09 10:56:40 1432

原创 frida环境配置

1.pc端安装pip3 install fridapip3 install frida-tools2.手机端安装现在PC端下载Frida-server。直接去官网下载对应的版本即可下载链接版本要与pc端对应,夜神模拟器的一般为X86结尾查询模拟器版本adb shell getprop ro.product.cpu.abi将frida-server的压缩包解压并push到夜神模拟器中,结尾frida-server相当于重命名adb push /Users/用户名/Deskto

2020-09-02 14:29:10 7472

原创 查找window下pip的位置

1.pip3.exe一般在Python项目下的scripts

2020-09-02 10:06:30 1459

原创 adb桥连接PC端和手机端,传送文件

参考链接1.PC端下载adb2.pc端adb和手机端adb版本对应将电脑中SDK目录下的adb.exe文件,复制到夜神模拟器的目录下(bin目录),夜神模拟器目录下原adb文件名字叫做nox_adb.exe,复制过去之后改名为nox_adb.exe,替换即可。3.获取pull和push权限(cmd中执行)adb shell mount -o remount,rw /system4.传送文件.........

2020-09-01 16:52:38 693

原创 shell学习遇到的问题

遇到的待解决问题1.无法成功读取数组,控制台打印为空array_name=(value0 value1 value2 value3)valuen=${array_name[n]}echo ${valuen}

2020-08-19 13:47:26 146

转载 yield的使用,next和send调用

https://blog.csdn.net/mieleizhi0522/article/details/82142856/

2020-08-17 14:19:45 108

原创 某道翻译参数demo

import hashlibimport timeimport requestsdef getMD5(v): md5 = hashlib.md5() md5.update(v.encode('utf-8')) sign = md5.hexdigest() return signdef get_salt(): salt = str(int(time.time()*1000)) return saltdef get_sigh(e, salt):

2020-06-16 15:48:13 226

原创 pycharm,pip3安装包失败解决,DB navigator 安装

https://blog.csdn.net/TyuansushiT/article/details/81836732

2020-06-10 15:12:49 2755

原创 爬虫的问题

http请求和响应请求包括以下格式:请求行、请求头部、空行、请求数据HTTP响应也由四个部分组成,分别是: 状态行、消息报头、空行、响应正文

2020-04-16 15:12:16 202

原创 公共管理考研记录

1.两门考试对应的书籍知乎回答链接,点击传送综合之数学综合之逻辑综合之写作英语二陈剑的高分指南老吕要点精编写作分册(机工版)黄皮书(懂的人都懂,考研神器)...

2020-01-31 11:22:59 164

原创 Linux学习—四剑客awk、sed、find、grep

1. find (找文件)根据 文件名 和 路径 查找文件 并执行 一些操作find 路径 -name "文件名"find /home/python/Desktop/ -name "1.txt"find /home/python/Desktop/ -name "*.txt"find /home/python/Desktop/ -name "*.txt" -type f (f ==...

2020-01-13 16:19:33 188

原创 全面超越Appium,使用Airtest超快速开发App爬虫

https://www.cnblogs.com/xieqiankun/p/use_airtest.html

2020-01-07 15:48:56 130

原创 爬虫及scrapy遇到的小问题

1.LOGSTATS_INTERVAL = 60.0日志频率默认60s。自己用的话设置为5s。

2020-01-07 15:48:13 182

原创 连接服务器上的Redis数据库

连接测试服务器:1.先连接到Redis服务器:ssh crawler0(config已经设置好了)2.AUTH认证:AUTH ‘BIgsfintech27581’3.select 服务器:select 154.操作Redis数据库

2020-01-07 15:47:58 163

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除