代码注入漏洞: OWASP将其定义为在客户端提交的代码在服务器端接收后当作动态代码或者嵌入文件处理。Wikipedia将其定义为客户端所提交的数据未经检查就让Web服务器去执行。 一:按照owasp分类,以下漏洞可以视作代码注入: 1.OS命令执行 1 <?php 2 $command=$_REQU ...
分类:
其他好文 时间:
2020-05-21 17:47:16
阅读次数:
58
一,自定义命令:1创建一个类的静态RoutedUICommand对象.并且在类初始化中创建该静态对象. 本实列创建了该类和类中的静态对象. public class DataCommands { private static RoutedUICommand requery; static DataC... ...
前言 测试一个web网站的时候,通常需要先登录。要是每个脚本都写一次登录流程,太麻烦了,于是我们会想到写一个公共函数,这样每次去调用函数即可。 cypress 里面提供了一个 commands.js 可以自定义命令,如使用cy.login(user,password)就能调用了 登录 前面写了一个登 ...
分类:
Web程序 时间:
2020-05-21 00:30:08
阅读次数:
145
一、使用reg文件测试 reg文件内容: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\密存加密\command] @="\"D:\\application\\secretsave\\secretsave.exe\" ...
分类:
其他好文 时间:
2020-05-21 00:21:30
阅读次数:
137
Linux su命令 在我的fc6系统下用普通用户登录,然后用su命令切换到超级用户,再输入ifconfig命令,报错:command not find。而如果用su -命令切换到超级用户,再输入ifconfig命令则能成功执行。这其中涉及的就是su命令与su -命令的区别,man su得到的帮助文 ...
分类:
系统相关 时间:
2020-05-20 20:28:20
阅读次数:
119
yum install -y epel-releaseyum install -y libmcrypt-devel两个不能一起安装,因为CentOs6默认的yum源没有 libmcrypt-devel这个包,只能借助epel的yum源,所以先安装epel,再安装libmcrypt。————————— ...
分类:
Web程序 时间:
2020-05-20 18:28:56
阅读次数:
64
背景:运行代码提示找不到ADB An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the A ...
分类:
移动开发 时间:
2020-05-20 12:43:19
阅读次数:
157
背景 运行时代码报错: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error ...
分类:
移动开发 时间:
2020-05-20 12:36:57
阅读次数:
127
后端数据:使用guzzle获取api数据,(安装扩展包guzzle) use GuzzleHttp\Client; //获取请求远程产品信息需要的参数public function getParams(Request $request){ $code = $request->code; $metho ...
分类:
其他好文 时间:
2020-05-20 12:07:04
阅读次数:
52
使用Maven命令方式: 一、Terminal 命令方式 例如:mvn dependency:tree 二、Edit Configurations 方式 新增一个 Maven 配置,Command line 输入命令。 参考: https://blog.csdn.net/Zheng_xiao_xin ...
分类:
其他好文 时间:
2020-05-20 12:02:21
阅读次数:
56