摘要: 清华的镜像站 pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ 北京外国语 https://mirrors.bfsu.edu.cn/ 设置超时时间 pip --default-timeout=100 install -U 阅读全文
posted @ 2020-05-07 11:45 轻幻 阅读(317) 评论(0) 推荐(0) 编辑
摘要: @echo off echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration[version and language] for /f %%i in ('"REG QUERY "HKEY_CURREN 阅读全文
posted @ 2023-08-01 19:52 轻幻 阅读(36) 评论(1) 推荐(0) 编辑
摘要: from typing import Union, Anyimport pymysqlclass Mysql: def __init__(self, host): self.host = host self.port = 33066 self.user = '' self.password = '' 阅读全文
posted @ 2022-10-08 17:47 轻幻 阅读(11) 评论(0) 推荐(0) 编辑
摘要: # coding=utf8import configparserimport xlrdimport yamlclass Read_Excel: def __init__(self, file_path, num=0): self.wb = xlrd.open_workbook(file_path) 阅读全文
posted @ 2022-10-08 17:44 轻幻 阅读(25) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriverfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdriver.support import expected_conditions as ECc 阅读全文
posted @ 2022-10-08 17:42 轻幻 阅读(66) 评论(0) 推荐(0) 编辑
摘要: DVWA简介DVWA(Damn Vulnerable Web App)是一个基于PHP/MySql搭建的Web应用程序,旨在为安全专业人员测试自己的专业技能和工具提供合法的 环境,帮助Web开发者更好的理解Web应用安全防范的过程。 DVWA一共包含十个模块分别是: 1.Bruce Force 暴力 阅读全文
posted @ 2022-03-18 11:44 轻幻 阅读(179) 评论(0) 推荐(0) 编辑
摘要: sql注入,没有对用户输入的字符串进行过滤,转义;'or 1=1# 数字型注入 SELECT * FROM table WHERE id=1' 加单引号 ' 返回错误 SELECT * FROM table WHERE id=1 and 1 = 1 and 1 = 1 返回正确 SELECT * F 阅读全文
posted @ 2022-03-18 11:41 轻幻 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 负载测试 通过在被测系统上不断加压,直到性能指标达到极限,例如“响应时间”超过预定指标或都某种资源已经达到饱和状态 对一个系统持续不段的加压,看你在什么时候已经超出“我的要求”或系统崩溃。 压力测试 压力测试方法测试系统在一定饱和状态下,例如cpu、内存在饱和使用情况下,系统能够处理的会话能力,以及 阅读全文
posted @ 2021-12-11 00:15 轻幻 阅读(43) 评论(0) 推荐(0) 编辑
摘要: DeprecationWarning: the imp module is deprecated in favour of importlib 此问题原因为 python 3.4后 imp库废弃,采用importlib库,所以更改我们的编译器pycharm的源码文件即可 在该目录下C:\PyChar 阅读全文
posted @ 2021-12-10 00:43 轻幻 阅读(2063) 评论(0) 推荐(0) 编辑
摘要: #codin=utf-8 from selenium import webdriver from selenium.webdriver.common.by import By import time, unittest class TEST1(unittest.TestCase): # 类方法(不需 阅读全文
posted @ 2021-12-10 00:40 轻幻 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1、-bash: findstr: command not found 在path中追加:%SystemRoot%/system32;%SystemRoot%; 2、app无法启动,java.lang.SecurityException: Permission Denial: starting In 阅读全文
posted @ 2021-12-08 01:23 轻幻 阅读(105) 评论(0) 推荐(0) 编辑