随笔分类 -  其他

摘要:XSS-跨站脚本攻击,依靠一切可能的手段,将浏览器中可以执行的JS代码植入到Web界面中去,从而对客户产生攻击,该漏洞经常出现在需要用户输入的地方,这些地方一旦对输入的内容不进行处理,攻击者就可以进行HTML注入,进而篡改网页。 反射型XSS: 非持久化,一般需要用户手动点进去攻击者伪造好的连接才能 阅读全文
posted @ 2025-07-30 17:03 样子2018 阅读(48) 评论(0) 推荐(0)
摘要:一、安装sqlmap 浏览器访问SQLmap官网 即可下载工具;需要说明的是,SQLmap运行依赖于python环境,所以在下载使用前务必在电脑及终端上安装好python环境。 通过网盘分享的文件:sqlmap-master.zip链接: https://pan.baidu.com/s/1YZiET 阅读全文
posted @ 2025-07-25 10:19 样子2018 阅读(43) 评论(0) 推荐(0)
摘要:文档:https://lbsyun.baidu.com/index.php?title=webapi/weather 一、申请API Key 百度ak申请地址:http://lbsyun.baidu.com/apiconsole/key 二、接口示例 https://api.map.baidu.co 阅读全文
posted @ 2023-06-17 10:59 样子2018 阅读(598) 评论(0) 推荐(0)
摘要:一、文档 https://ai.baidu.com/ai-doc/IMAGESEARCH/Ck3bczreq 二、示例代码 获取token 1、入库 <?php /** * 发起http post请求(REST API), 并获取REST请求的结果 * @param string $url * @p 阅读全文
posted @ 2023-06-02 10:03 样子2018 阅读(47) 评论(0) 推荐(0)
摘要:一、文档 https://ai.youdao.com/DOCSIRMA/html/trans/api/wyfy/index.html 二、示例 # -*- coding: utf-8 -*- import sys import uuid import requests import hashlib 阅读全文
posted @ 2023-06-02 09:48 样子2018 阅读(97) 评论(0) 推荐(0)
摘要:一、基本命令 1、第一次初始化 git init git add . 添加当前目录到缓存区git commit -m ‘注释’ 提交到本地仓库 git remote add origin git@github.com:帐号名/仓库名.gitgit pull origin master(分支名称)gi 阅读全文
posted @ 2023-06-01 09:22 样子2018 阅读(55) 评论(0) 推荐(0)
摘要:一、Photo Sphere Viewer 1、文档:https://photo-sphere-viewer.js.org/guide/ demo链接:https://pan.baidu.com/s/1UPOq17DJTCihNdmESMKMPg 提取码:v9n9 2、效果图 3、示例代码 <htm 阅读全文
posted @ 2023-02-03 10:31 样子2018 阅读(3170) 评论(0) 推荐(0)
摘要:一、下载 http://www.winwin7.com/soft/12461.html 二、效果图 阅读全文
posted @ 2022-10-11 10:51 样子2018 阅读(239) 评论(0) 推荐(0)
摘要:一、项目目录 二、配置.htaccess 其中主要的是.htaccess文件配置 <IfModule mod_rewrite.c> if (!-f $request_filename){ set $rule_0 1$rule_0; } if ($rule_0 = "1"){ rewrite ^/([ 阅读全文
posted @ 2022-08-30 10:32 样子2018 阅读(106) 评论(0) 推荐(0)
摘要:TreeTable.js下载 链接:https://pan.baidu.com/s/1lLBge_4MSSViLztwTnPfkA 提取码:whj3 一、效果图 二、前端代码 {include file='common/header'} <div class="layui-fluid"> <div 阅读全文
posted @ 2022-08-01 10:52 样子2018 阅读(3577) 评论(0) 推荐(0)
摘要:一、下载 https://gitee.com/hnaoyun/PbootCMS/ 二、开发文档 https://www.pbootcms.com/docs/ 三、模板网 https://www.pbootcms.com/cooperation/ 阅读全文
posted @ 2022-04-25 08:57 样子2018 阅读(148) 评论(0) 推荐(0)
摘要:一、阿里云 /** * Created by PhpStorm. * User: Mr.Yang * Date: 2022/4/13 * Time: 10:14 * QQ: 2575404985 */ namespace app\api\controller; use OSS\OssClient; 阅读全文
posted @ 2022-04-14 14:34 样子2018 阅读(166) 评论(0) 推荐(0)
摘要:一、代码 1、设置sort {field: 'endtime', title: '结束时间', sort: true} 2、刷新表格,向服务器传递排序的参数 table.on('sort(test)', function (obj) { console.log(obj.field, obj.type 阅读全文
posted @ 2022-01-07 09:48 样子2018 阅读(780) 评论(0) 推荐(0)
摘要:/** * 设置编辑器内容 * @param {[type]} index 编辑器索引 * @param {[type]} content 要设置的内容 * @param {[type]} flag 是否追加模式 */ layedit.setContent(index, content, flag) 阅读全文
posted @ 2021-08-11 09:45 样子2018 阅读(254) 评论(0) 推荐(0)
摘要:一、示例 function showDeskTopNotice(id, title, msg){ var Notification = window.Notification || window.mozNotification || window.webkitNotification; if(Not 阅读全文
posted @ 2021-03-03 10:26 样子2018 阅读(2461) 评论(0) 推荐(1)
摘要:一、验证radio、checkbox form.verify({ mustradio: function (value, item) { //单选按钮必选 var val = $(item).parent().find("input[name='answer']:checked").val(); i 阅读全文
posted @ 2020-09-26 13:15 样子2018 阅读(764) 评论(0) 推荐(0)
摘要:一、常用API 1、View static currentState static context 公用数据存取上下文,用于跨视图存取数据。 static checkIfBrowserHistorySupportsPushPopAction() static getViewContainerDomE 阅读全文
posted @ 2020-09-15 13:07 样子2018 阅读(135) 评论(0) 推荐(0)
摘要:一、单行文本省略 实现方法: 二、多行文本省略 实现方法: 注: 阅读全文
posted @ 2019-10-16 10:12 样子2018 阅读(173) 评论(0) 推荐(0)
摘要:一、下载layer http://layer.layui.com/ 二、效果图 三、代码 阅读全文
posted @ 2019-09-21 10:54 样子2018 阅读(604) 评论(0) 推荐(0)
摘要:一、目录结构 二、具体代码 MemcacheCluster.php memcached.php MY_Controller.php index.php 阅读全文
posted @ 2019-09-17 16:31 样子2018 阅读(374) 评论(0) 推荐(0)