上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 186 下一页
摘要: 一,firewall-cmd预定义信息主要分为三种: 1、可用区域 2、可用服务 3、可用的icmp阻塞类型 二,查看预定义的zone [root@blog ~]# firewall-cmd --get-zones block dmz drop external home internal nm-s 阅读全文
posted @ 2024-08-13 10:06 刘宏缔的架构森林 阅读(75) 评论(0) 推荐(0)
摘要: 一,默认情况允许ping [lhdop@blog ~]$ ping 8.14.7.5 PING 8.14.7.5 (8.14.7.5) 56(84) bytes of data. 64 bytes from 8.14.7.5: icmp_seq=1 ttl=58 time=2.69 ms 64 by 阅读全文
posted @ 2024-08-13 09:44 刘宏缔的架构森林 阅读(1391) 评论(0) 推荐(0)
摘要: 一,官方地址 1,官网: https://sqlmap.org/ 2,官方代码地址: https://github.com/sqlmapproject/sqlmap 二,安装 1,安装准备: 注意看,要保证本地具备python环境 2,下载 liuhongdi@lhdpc:/usr/local/so 阅读全文
posted @ 2024-08-12 17:54 刘宏缔的架构森林 阅读(590) 评论(0) 推荐(0)
摘要: 一,什么是xss? XSS 攻击通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是 JavaScript,但实际上也可以包括 Java,VBScript,ActiveX,Flash 或者甚至是普通的 HTML 阅读全文
posted @ 2024-08-12 16:28 刘宏缔的架构森林 阅读(166) 评论(0) 推荐(0)
摘要: 一,操作允许ip伪装 1,# 允许防火墙伪装IP [root@blog ~]# firewall-cmd --add-masquerade --permanent success 效果: [root@blog ~]# more /etc/firewalld/zones/public.xml <?xm 阅读全文
posted @ 2024-08-12 15:25 刘宏缔的架构森林 阅读(475) 评论(0) 推荐(0)
摘要: 一,添加别名 1,代码: //初始化es的client $client = $this->_init_es(); // 确定参数 $params = [ 'index' => 'gs_second', //索引名字 'name' => 'gs_second_idx', //索引的别名 ]; // 执 阅读全文
posted @ 2024-08-08 14:59 刘宏缔的架构森林 阅读(61) 评论(0) 推荐(0)
摘要: 一,查看节点的fs得到索引数据的保存目录 说明: 修改索引数据的保存目录,通常是因为要把数据单独保存到服务器专用的数据盘,方便扩展\管理\备份等 访问: http://localhost:9200/_nodes/stats/fs 也可以从命令行访问: [root@lhdpc elasticsearc 阅读全文
posted @ 2024-08-08 13:48 刘宏缔的架构森林 阅读(554) 评论(0) 推荐(0)
摘要: 一,只包含中文: 'city' => 'required|regex:/^[\x{4e00}-\x{9fa5}]+$/u', 正则表达式 [\x{4e00}-\x{9fa5}] 匹配所有中文字符,其中 \x{4e00} 是中文字符的开始码,\x{9fa5} 是结束码。 u 修饰符用于正则表达式,以支 阅读全文
posted @ 2024-08-07 19:32 刘宏缔的架构森林 阅读(384) 评论(0) 推荐(0)
摘要: 一,代码: 1, 中间件 <?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Response; use App\ext 阅读全文
posted @ 2024-08-07 17:26 刘宏缔的架构森林 阅读(70) 评论(0) 推荐(0)
摘要: 一,报错: {"index":{"_index":"my_office","_id":"48","status":400 ,"error":{"type":"document_parsing_exception","reason":"[1:1123] failed to parse field [p 阅读全文
posted @ 2024-08-06 16:34 刘宏缔的架构森林 阅读(317) 评论(0) 推荐(0)
上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 186 下一页