摘要: 多进程和多线程 from multiprocessing import Process import threading def process_worker(): for i in range(200): print(f"Process worker {i}") def thread_worker 阅读全文
posted @ 2024-07-04 20:33 noahze 阅读(4) 评论(0) 推荐(0) 编辑
摘要: HTML文本处理 re模式匹配 正则表达式是一种强大的字符串匹配和处理工具,允许通过指定的模式来查找、替换和验证字符串。 函数 编译正则表达式 re.compile(pattern, flags=0): 将字符串形式的正则表达式编译为一个正则对象,用于后续的匹配操作。 匹配操作 re.match(p 阅读全文
posted @ 2024-07-04 17:40 noahze 阅读(2) 评论(0) 推荐(0) 编辑
摘要: requests库 requests 提供发送网络请求和处理响应的方法 安装 pip install requests GET 请求 import requests url = 'https://www.baidu.com/' # url params = {'key1': 'value1', 'k 阅读全文
posted @ 2024-07-04 17:33 noahze 阅读(1) 评论(0) 推荐(0) 编辑
摘要: GDB 流程控制 命令功能 命令 简写 重新运行调试的程序 run r 继续运行 continue c 执行下一步 next n 执行N次下一步 next N n N 执行上次执行的命令 [Enter] 单步进入 step s 执行完当前函数返回到调用它的函数 finish f 指定程序直到退出当前 阅读全文
posted @ 2024-03-31 09:25 noahze 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 字符串转数组列表 def strTolist(str): ans = list(str) for i in range(len(ans)): ans[i] = ord(ans[i]) return ans str='Hello' print(strTolist(str)) #输出:[72, 101, 阅读全文
posted @ 2024-03-26 14:56 noahze 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 使用说明: - 确保下载好tmux后,使用tmux命令进入tmux终端 - 根据ELF文件位数选择context - elfFile添加ELF文件路径 - remoteIp添加远程连接的IP - remotePort添加远程连接的Port - libFile添加本地库 - REMOTE表示远程连接, 阅读全文
posted @ 2023-06-25 14:58 noahze 阅读(44) 评论(0) 推荐(0) 编辑
摘要: MyIdc类对IDA中的接口进行封装 目前实现功能: 按指定类型获取数据,请在初始化时初始化类型'byte': 1字节, 'word': 2字节, 'dword': 4字节, 'qword': 8字节 get_word方法的输出格式可以通过show_type参数指定'bin':2进制,'oct':8 阅读全文
posted @ 2023-05-17 17:36 noahze 阅读(54) 评论(0) 推荐(0) 编辑