上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: import requests head = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/5 阅读全文
posted @ 2021-02-19 23:04 Anec 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 单个命令行 # 查询一个用户 dsquery user -name %user_name% # 查询一个主机 dsquery computer -name %computer_name% # 增加一个用户 cn:用户名 ou:组织单元 dc:域名 dsadd user "cn=anectest01, 阅读全文
posted @ 2021-01-07 00:04 Anec 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 环境: python 3.7.4 win 10 模块: flask 1.1.2 Flask-WTF 0.14.3 资料文档: 官网:https://flask-wtf.readthedocs.io/en/stable/ 辅助网站:http://wtforms.simplecodes.com/docs 阅读全文
posted @ 2021-01-04 00:26 Anec 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 环境: python 3.7.4 win 10 环境 redis 服务 模块依赖: flask flask-session redis 工程目录: flask 引入redis 替换原生session存储session(flask-session) 在配置文件中加入redis连接配置以及flask-s 阅读全文
posted @ 2021-01-03 19:57 Anec 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 环境: python 3.7.4 win10 模块: flask flask_sqlalchemy flask_migrate Migratelask_script PS:通过脚本命令的方式在运行服务前,先创建数据库表,然后再运行 工程目录结构: flask 引入flask_sqlalchemy m 阅读全文
posted @ 2021-01-03 18:42 Anec 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 环境: python 3.7.4 Windows 10 环境 scapy 2.4.4 前置软件安装: Npcap 网络抓包工具集 (下载网站 https://nmap.org/npcap/#download) Graohviz 可视化图形软件 (下载网站 http://www.graphviz.or 阅读全文
posted @ 2021-01-03 12:30 Anec 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 1.编辑组策略 用户配置 首选项 控制面板设置 本地用户和组 新建 本地组。 2、本地组 操作选择更新 组名选择Administrators(内置) 选择添加当前用户 确定。 策略结果: 关联了GPO的组织单位中的用户会自动加入administrators 这个组中 阅读全文
posted @ 2020-12-30 15:31 Anec 阅读(221) 评论(0) 推荐(0) 编辑
摘要: # 跨平台库系统信息获取(支持linux、MAC、Windwos、FreeBSD等多种系统) # 安装 # pip install psutil import psutil # 转换函数 数值转识别 def bytes2human(n): symbols = ('K','M','G','T','P' 阅读全文
posted @ 2020-12-16 00:13 Anec 阅读(111) 评论(0) 推荐(0) 编辑
摘要: # pip install Pillow # pip install pyzbar import pyzbar.pyzbar as pyzbar from PIL import Image, ImageEnhance image = "cs1.jpg" img = Image.open(image) 阅读全文
posted @ 2020-11-28 19:32 Anec 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 多进程模块 multiprocessing map方法使用: import multiprocessing from CeShi.defGet import ccccc if __name__ == '__main__': IPS = ['hequn', 'xiaxun'] pro = multip 阅读全文
posted @ 2020-10-28 11:38 Anec 阅读(64) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页