抓包前使用iw命令创建一个监听模式(monitor)的接口 iw phy phy0 interface add mon0 type monitor tcpdum抓包命令: tcpdump -nei mon0 type WLAN_TYPE subtype SUB_WLAN_TYPE WLAN_TYPE ...
分类:
其他好文 时间:
2019-12-25 12:44:06
阅读次数:
107
问题:能读取资源路径下的properties配置文件但是不能读yml配置文件 因为无法读取配置yml配置文件,所以不能配置bean,导致项目启动报错。 解决方法: 在VM options中设置虚拟机加载配置文件的路径; -Dspring.config.location= -Djava.util.lo ...
分类:
其他好文 时间:
2019-12-23 17:12:23
阅读次数:
137
1.定时执行格式 1.1 每一个小时执行一次 * 1/* * * * 1.2 每一天的三点 00 03 * * * 2.具体实现 [root@localhost tomcat]# crontab -e 00 03 * * * /root/ansible/tomcat/zhou.sh [root@lo ...
分类:
其他好文 时间:
2019-12-23 17:04:27
阅读次数:
63
favicon.ico浏览器图标配置 favicon.ico 文件是浏览器收藏网址时显示的图标,当客户端使用浏览器问页面时,浏览器会自己主动发起请求获取页面的favicon.ico文件,但是当浏览器请求的favicon.ico文件不存在时,服务器会记录404日志,而且浏览器也会显示404报错。 lo ...
分类:
其他好文 时间:
2019-12-22 22:56:36
阅读次数:
484
Description Description Given an integer matrix. Find the longest increasing continuous subsequence in this matrix and return the length of it. The lo ...
分类:
其他好文 时间:
2019-12-21 23:04:41
阅读次数:
169
tcpdump详细教程 https://www.jianshu.com/p/d9162722f189 tcpdump tcpdump - dump traffic on a network tcpdump是一个用于截取网络分组,并输出分组内容的工具。凭借强大的功能和灵活的截取策略,使其成为类UNIX ...
分类:
其他好文 时间:
2019-12-21 10:19:32
阅读次数:
102
code: #include <vector> #include <cstdio> #include <set> #include <cstring> #include <string> #include <algorithm> #define N 200007 #define ll long lo ...
分类:
编程语言 时间:
2019-12-20 18:13:59
阅读次数:
67
【方式一】 1.先进入jmeter/bin下 C:\Users\hui\Desktop\tools\apache-jmeter-3.3\bin> 2.执行 jmeter.bat -n -t C:\Users\hui\Desktop\msg.jmx -l C:\Users\hui\Desktop\lo ...
分类:
其他好文 时间:
2019-12-20 12:14:22
阅读次数:
333
logging模块提供日志服务 在scrapy框架中已经对其进行一些操作所以使用更为简单 在Scrapy框架中使用: 1.在setting.py文件中设置LOG_LEVEL(设置日志等级,只有高于等于本等级的日志会显示) LOG_FILE(设置日志保存位置,设定后不会在终端显示日志) 2.实例化lo ...
分类:
编程语言 时间:
2019-12-17 17:58:40
阅读次数:
115
1:抓包命令tcpdump-ieth1host10.22.23.22-s0-wtest.cap-i指定网卡host指定主机也可以加port-s0抓出全部信息,默认只抓一点点-w写到后面文件里面2:抓包分析tcpdump-A-rtest.cap-r读-x16进制-A读出详细内容【可以看到get请求个post请求全部参数什么的】
分类:
其他好文 时间:
2019-12-16 09:54:59
阅读次数:
93