06 2021 档案

摘要:python-pyinstaller打包 安装Pyinstaller pip install pyinstaller 常用打包命令 Pyinstaller -F -w -i chengzi.ico py_word.py 打包指定exe图标打包 Pyinstaller -F -w py_word.py 阅读全文
posted @ 2021-06-23 01:53 chron 阅读(65) 评论(0) 推荐(0)
摘要:Wireshark解密HTTPS数据包 1、新建一个*.log文件 2、设置环境变量 SSLKEYLOGFILE=*.log文件路径 3、设置wiresharek,编辑 --> 首选项 -->protocols --> 选中TLS 选中新建的*.log文件 4、抓取百度的https协议 阅读全文
posted @ 2021-06-12 21:06 chron 阅读(467) 评论(0) 推荐(0)
摘要:python-openpyxl 概念 工作蒲(workbook) 表单(worksheet) 行、列、单元格(row、column、cell) 工作簿的操作 创建工作簿 file_name = r"c:/creat.xlsx" book = openpyxl.Workbook(file_name) 阅读全文
posted @ 2021-06-09 18:27 chron 阅读(141) 评论(0) 推荐(0)
摘要:python-接口自动化测试框架——持续更新优化 简介 基于unittest库,后续引入pytest+allure+Jenkins持续集成 需要的库 # 自动化框架 unittest # 读取ini配置文件 configparser # 正则提取数据 re # 输出日志 logging # json 阅读全文
posted @ 2021-06-09 02:31 chron 阅读(158) 评论(0) 推荐(0)
摘要:python-设置国内源 Windows 临时配置 #使用阿里源安装requests pip install requests -i https://mirrors.aliyun.com/pypi/simple 永久修改 打开文件夹 C:\Users\用户名\AppData\Roaming,新建文件 阅读全文
posted @ 2021-06-09 01:01 chron 阅读(64) 评论(0) 推荐(0)
摘要:python数据类型 number类型:int整形、float浮点型、Complex 复数类型 str字符串:"a"、'a'、"a" bool布尔:True、Flase tuple元组:(1,[...]) list列表:[1] dict字典:{键:值,键:值} set集合:{键[....]} 阅读全文
posted @ 2021-06-07 15:25 chron 阅读(49) 评论(0) 推荐(0)
摘要:代码不规范?试试自动化 PEP8 pep8 是Python 语言的一个代码编写规范。如若你是新手,目前只想快速掌握基础,而不想过多去注重代码的的编写风格(虽然这很重要),那你可以尝试一下这个工具 - autopep8 安装第三方库 pip install autopep8 PyCharm 导入这个工 阅读全文
posted @ 2021-06-01 18:35 chron 阅读(185) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-01 17:37 chron 阅读(44) 评论(0) 推荐(0)
摘要:1、启动setoolkit 选择1进入社会工程学攻击模块:Social-Engineering Attacks 选择2进入网站攻击向量:Website Attack Vectors 选择3进入凭证收割机攻击方法: Credential Harvester Attack Method 选择3进入凭证收 阅读全文
posted @ 2021-06-01 17:24 chron 阅读(226) 评论(0) 推荐(0)
摘要:Monkey 进行稳定性测试 Monkey 可以生成伪随机用户事件来模拟单击、触摸、手势等操作,可以对正在开发中的程序进行随机压力测试。 Monkey路径 查看Monkey路径 cd /system/bin/ 参数详情 查看参数 C:\Users\admin\Downloads>adb shell 阅读全文
posted @ 2021-06-01 17:08 chron 阅读(164) 评论(0) 推荐(0)
摘要:adb-查看日志 清理之前的日志 adb logcat -c 按时间查看日志 adb logcat -v time adb logcat -v time | findstr "包名" > log.txt 查看指定APP的错误日志并保存到文件中 adb logcat "*:E" | findstr " 阅读全文
posted @ 2021-06-01 16:01 chron 阅读(249) 评论(0) 推荐(0)
摘要:adb常用命令 查看设备 adb devices 连接设备 # 无线连接 adb connect ip:port[5555] # USB连接 """ 连接数据线,开启手机端开发模式和USB调试模式 """ 查看adb版本 adb version 显示所有应用 # 只显示第三方应用包名 adb she 阅读全文
posted @ 2021-06-01 15:03 chron 阅读(75) 评论(0) 推荐(0)