给所有link和script标签加随机版本号,方便调试样式,不用每次清缓存了; $("link,script").each(function(){ var t=Math.random().toFixed(4); /*var $tag=$(this).prop("tagName").toLowerCa ...
分类:
其他好文 时间:
2020-11-27 11:46:06
阅读次数:
19
RCE: 英文全称:remote command / code execcute 分别为远程命令执行(ping)和远程代码执行(evel) 我们常见的路由器、防火墙、入侵检测等设备的web管理界面上一般会给用户提供一个ping操作的web界面,攻击者直接从web界面向后台服务器远程注入操作系统命令或 ...
分类:
Web程序 时间:
2020-11-27 11:30:34
阅读次数:
12
Unet在客户端初始化时只会同步变量,但是hook函数在初始化时是不会同步的。 如果新添加的物体也想同步hook函数,现在想到的办法是在客户端连接后的OnClientConnect里,调用一个协程方法, IEnumerator DelayBroad() { yield return new Wait ...
分类:
Web程序 时间:
2020-11-27 11:29:35
阅读次数:
12
环境: 6个es节点 冷热配置 es1 master节点 # elasticsearch.yml node.name: "es1" cluster.name: "docker-cluster" network.host: 0.0.0.0 node.master: true node.data: fa ...
分类:
其他好文 时间:
2020-11-26 15:08:48
阅读次数:
7
https://www.cnblogs.com/wwjj4811/p/13703804.html 三台centos7虚拟机,一台master,两台worker,集群中所有机器之间网络互通,可以访问外网,需要拉取镜像。 master ip:192.168.162.133 node1 ip:192.16 ...
分类:
其他好文 时间:
2020-11-25 12:31:20
阅读次数:
5
对于初学习者来说为什么用到PB3和PB4时无法控制输出呢? 下面就这一问题进行分析讲解。 首先,STM32F10x系列的MCU复位后,PA13/14/15 & PB3/4默认配置为JTAG功能。有时我们为了充分利用MCU I/O口的资源,会把这些 端口设置为普通I/O口。具体方法如下: 在GPIO_ ...
分类:
其他好文 时间:
2020-11-23 11:58:37
阅读次数:
4
<?php function getTagClassContent($url, $tagName, $className) //要抓取的网页, 要抓取的Tag名, 要抓取的Class名 { $doc = new DOMDocument(); @$doc->loadHTML(file_get_cont ...
分类:
Web程序 时间:
2020-11-20 12:00:20
阅读次数:
20
spring boot 知识点总结 天狼星 https://www.cnblogs.com/wjqhuaxia/p/9820902.html spring cloud 知识点总结 姿势帝 https://www.cnblogs.com/newAndHui/tag/springcloud/ ...
分类:
编程语言 时间:
2020-11-20 11:53:50
阅读次数:
8
要找到目标元素,通过浏览器检查的方式或者按F12键,找到该控件元素,通过其ID、class等属性,能够唯一定位到该元素。 Selenium提供了8种定位方式。 id name class name tag name link text partial link text xpath css sele ...
分类:
其他好文 时间:
2020-11-19 12:57:08
阅读次数:
21
在试图运行multi_uav_mavros_sitl_sdf.launch时报错: while processing /home/sp/src/Firmware/launch/single_vehicle_spawn_sdf.launch:Invalid <param> tag: Cannot lo ...
分类:
其他好文 时间:
2020-11-19 12:17:57
阅读次数:
5