Fork me on github
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: JS挂马攻防实录 攻现在最多见的JS挂马方法有两种,一种是直接将JavaScript脚本代码写在网页中,当访问者在浏览网页时,恶意的挂马脚本就会通过用户的浏览器悄悄地打开网马窗口,隐藏地运行(图1),这种方法使用的关键代码如下: window.open("","","toolbar=no,locat 阅读全文
posted @ 2016-05-03 14:38 Champion-水龙果 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: <head> <script language="javascript" type="text/javascript" src="http://202.102.100.100/35ff706fd57d11c141cdefcd58d6562b.js" charset="gb2312"></script 阅读全文
posted @ 2016-05-03 12:06 Champion-水龙果 阅读(329) 评论(0) 推荐(0) 编辑
摘要: '; //iframe加载完成后 $("#iframe").load(function(){ //设置class="name"的值为jeffson $(this).contents().find('.name').val("jeffson"); //设置class="content"的值为abcdefg $(this).contents().find('.conte... 阅读全文
posted @ 2016-04-28 14:20 Champion-水龙果 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 冒泡排序: 快速排序: 选择排序: 插入排序: 二叉树(二分法)排序: 阅读全文
posted @ 2016-04-25 10:20 Champion-水龙果 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-04-21 16:50 Champion-水龙果 阅读(307) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <title>js验证输入的金钱格式</title> <script type="text/javascript"> function moneyCheck(){ var isNum = /^\d+(\.\d+)?$/; var money = document.getE 阅读全文
posted @ 2016-04-21 10:09 Champion-水龙果 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 使用时: 阅读全文
posted @ 2016-04-13 11:16 Champion-水龙果 阅读(2899) 评论(0) 推荐(0) 编辑
摘要: css: style="cursor: pointer" 例如: <input type="button" style="cursor:pointer"> <a href="#" style="cursor:pointer"></a> <span style="cursor:pointer"></s 阅读全文
posted @ 2016-04-12 09:43 Champion-水龙果 阅读(692) 评论(0) 推荐(0) 编辑
摘要: function formatDate(timestamp){ var test = new Date(parseInt(timestamp) * 1000); var $year = test.getFullYear(); var $month = parseInt(test.getMonth())+1; var $day = test.getDate(); //返回格式... 阅读全文
posted @ 2016-04-06 15:46 Champion-水龙果 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 点击下载jquery.masonry.min.js文件 阅读全文
posted @ 2016-03-31 16:06 Champion-水龙果 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Document 阅读全文
posted @ 2016-03-31 11:00 Champion-水龙果 阅读(191) 评论(0) 推荐(0) 编辑
摘要: ThinkPHP 表单提交操作成功后执行JS操作如何刷新父页面或关闭当前页等操作 1.操作成功后刷新父页面 $this->assign('jumpUrl', "javascript:window.parent.location.reload();"); $this->success(‘提交成功’); 阅读全文
posted @ 2016-03-28 15:16 Champion-水龙果 阅读(2351) 评论(0) 推荐(0) 编辑
摘要: 下载源码:点击下载 ;!function(window, undefined){ "use strict"; var pathType = true, //是否采用自动获取绝对路径。false:将采用下述变量中的配置 pathUrl = 'lily/lib/layer/', //上述变量为false 阅读全文
posted @ 2016-03-24 17:30 Champion-水龙果 阅读(3849) 评论(0) 推荐(0) 编辑
摘要: thinkphp的框架文件 ThinkPHP/Common/functions.php function session(){ 在这个方法中找到 thinkphp 3.1版 if(isset($name['expire'])) ini_set('session.gc_maxlifetime', $name['expire']); thinkph... 阅读全文
posted @ 2016-03-24 16:42 Champion-水龙果 阅读(3320) 评论(0) 推荐(0) 编辑
摘要: 多文件上传<input type="file" name="file[]" multiple /><?php function reArrayFiles(&$file_post) { $file_ary = array(); $file_count = count($file_post['name' 阅读全文
posted @ 2016-03-08 15:31 Champion-水龙果 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 这是Sublime text 3不是2的版本,两者的安装还是有区别的,下面的方法是我感觉比较简单的,其他的要命令什么的感觉太复杂了,经测试是OK的。 先关闭Sublime text 3: 第一步:下载sublime_package_control-master.zip ,解压命名文件夹为Packag 阅读全文
posted @ 2016-03-03 11:41 Champion-水龙果 阅读(184) 评论(0) 推荐(0) 编辑
摘要: ThinkPHP V5.0——为API开发而设计的高性能框架 ThinkPHP5.0.0版本是一个颠覆和重构版本,采用全新的架构思想,引入了很多的PHP新特性,优化了核心,减少了依赖,实现了真正的惰性加载。 GitHub项目地址:点击访问 ThinkPHP5在保持快速开发和大道至简的核心理念不变的同时,PHP版本要求提升到5.4,对已有的CBD模式做了更深的强化,优化核心,减少依赖,基于全... 阅读全文
posted @ 2016-03-03 09:44 Champion-水龙果 阅读(1879) 评论(0) 推荐(0) 编辑
摘要: 1.cd 命令 cd 命令经常使用来改变目录 root@test:~# cd /home/user/Desktop root@test:~# cd .. 返回上一级目录 root@test:~# cd ../.. 返回上两级目录 如果不知道工作目录,pwd直接显示当前的目录路径 root@test: 阅读全文
posted @ 2016-03-02 11:00 Champion-水龙果 阅读(239) 评论(0) 推荐(0) 编辑
摘要: <?php namespace app\index\controller; use think\Controller; //引用think/Controller类 class Index extends Controller { public function index() { // 实例化视图类 阅读全文
posted @ 2016-03-01 15:26 Champion-水龙果 阅读(413) 评论(0) 推荐(0) 编辑
摘要: JS保留两位小数例子 四舍五入使用函数 toFixed() <script language="javascript"> document.write("<h1>JS保留两位小数例子</h1><br>"); var a = 2.1512131231231321; document.write("原来 阅读全文
posted @ 2016-02-26 16:53 Champion-水龙果 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
Champion-水龙果