一个请求通过经过中间件最后生成响应 基于koa2的demo const Koa = require('koa'); const app = new Koa(); const PORT = 3000; // #1 app.use(async (ctx, next)=>{ console.log('wa ...
分类:
其他好文 时间:
2021-04-15 12:19:38
阅读次数:
0
fofa: body="和信下一代云桌面" 构造发送数据包: POST /Upload/upload_file.php?l=test HTTP/1.1 Host:x.x.x.x User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWe ...
分类:
其他好文 时间:
2021-04-14 12:41:47
阅读次数:
0
<a id="ajax_submit">悄悄提交</a> <script> $('#ajax_submit').click(function () { $.ajax({ url:"/host/", type:'POST', data:{'k1':123,'k2':'root'}, success:f ...
分类:
Web程序 时间:
2021-04-14 12:21:15
阅读次数:
0
return [ 'connector' => 'Redis', // Redis 驱动 'expire' => null, // 任务的过期时间,默认为60秒; 若要禁用,则设置为 null 'default' => 'default', // 默认的队列名称 'host' => '127.0.0 ...
分类:
其他好文 时间:
2021-04-14 12:15:40
阅读次数:
0
创建db.properties配置文件,将所需内容写入 db.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/mybatis?useUnicode=true&characterEncoding=utf-8 ...
分类:
其他好文 时间:
2021-04-14 12:02:31
阅读次数:
0
监控linux主机的相关性能 cpu 内存 网络 磁盘 带宽 IO采用插件node_export 部署node_exporter插件[root@node1 ~]# mkdir /opt/monitor/[root@node1 ~]# tar -xf node_exporter-0.17.0.linu ...
分类:
系统相关 时间:
2021-04-13 12:02:02
阅读次数:
0
部署altermanager组件 [root@zabbix ~]# tar -xf alertmanager-0.21.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# cd /opt/monitor/[root@zabbix monitor ...
分类:
其他好文 时间:
2021-04-13 11:58:34
阅读次数:
0
参考资料: https://www.jianshu.com/p/279f432deb0e https://www.pconline.com.cn/win10/1113/11135714.html 这里涉及到两个host文件的位置,1. 真正的host文件 2. ssh登录时的known_hosts ...
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0
使用mysql-8.0.23版的,创建用户屡屡失败,最终靠万能的度娘解决: 已知版本信息: C:\Users\Administrator\Desktop\mysql-8.0.23-winx64\mysql-8.0.23-winx64\bin>mysql -Vmysql Ver 8.0.23 for ...
分类:
数据库 时间:
2021-04-12 12:20:25
阅读次数:
0