随笔 - 134  文章 - 0  评论 - 0  阅读 - 42858
08 2023 档案
python中使用re.findall()方法的坑
摘要:在python中使用正则表达式时,小括号"()"有分组的意思,而在正则表达式中,小括号有把几个被括起来的几个符号作为一个子表达式的含义.所以,当在python中使用正则表达式的时候,正则表达式里面的括号就会既有分组功能,又有构成子表达式的功能.在使用re.findall()方法时,这种情况就会匹配出 阅读全文
posted @ 2023-08-30 17:26 CJTARRR 阅读(132) 评论(0) 推荐(1) 编辑
绕过TLS指纹检测/模拟浏览器的python第三方库
摘要:安装 pip install curl_cffi 使用 from curl_cffi import requests​# impersonate参数指定了模拟浏览器的型号res = requests.get("https://tls.browserleaks.com/json", impersona 阅读全文
posted @ 2023-08-08 16:00 CJTARRR 阅读(676) 评论(0) 推荐(0) 编辑
frida安卓应用层协议/框架通杀抓包
摘要:大佬开发的工具,可以很方便地对app抓包。 项目地址: https://github.com/r0ysue/r0capture 阅读全文
posted @ 2023-08-08 13:43 CJTARRR 阅读(108) 评论(0) 推荐(0) 编辑
frida hook md5加密类
摘要:import frida,sys​def on_message(message,data): if message['type'] == 'send': print("[*] {0}".format(message['payload'])) else: print(message)​​jscode 阅读全文
posted @ 2023-08-08 11:52 CJTARRR 阅读(312) 评论(0) 推荐(0) 编辑
[async]子线程内开启协程 RuntimeError: There is no current event loop in thread 'Thread-2'
摘要:在子线程内直接获取事件循环会报错:RuntimeError: There is no current event loop in thread 'Thread-2',此时的代码为: loop = asyncio.get_event_loop()loop.run_until_complete(协程函数 阅读全文
posted @ 2023-08-03 17:52 CJTARRR 阅读(413) 评论(0) 推荐(0) 编辑
生成随机User-Agent的第三方库
摘要:安装 pip install r-useragent 使用 from random_useragent import UserAgent​u = UserAgent()​# generate android user-agentprint(u.android()) # randomprint(u.a 阅读全文
posted @ 2023-08-03 17:43 CJTARRR 阅读(391) 评论(0) 推荐(0) 编辑
pyppeteer异常:ValueError: signal only works in main thread
摘要:当在子线程中调用pyppeteer工具的时候,会报错:ValueError: signal only works in main thread。 解决方案: 在创建浏览器对象时,加上以下三个字段: 阅读全文
posted @ 2023-08-03 17:33 CJTARRR 阅读(492) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示