This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* [loopPost 循环往钓鱼网站库里写虚假帐号和密码。目前自动模式只支持form表格提交的钓鱼网站] | |
* @param {[type]} min [帐号和密码的最小长度,默认为6] | |
* @param {[type]} max [帐号和密码的最大长度,默认为12] | |
* @param {[type]} timeGap [发送数据的时间间隔,单位为ms,不需要填写单位。默认为500] | |
* @param {[type]} times [一共发送的虚假帐号个数,默认为5000] | |
* @return {[type]} [description] | |
*/ | |
function loopPost(min,max,timeGap,times){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (rand()%5==0) { | |
echo "1111"; | |
} else { | |
echo "0000"; | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf8 | |
import base64 | |
import binascii | |
import cookielib | |
import json | |
import os | |
import random | |
import re | |
import rsa | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//方法1 递归 | |
function file_list($path) | |
{ | |
$result = array(); | |
if (is_dir($path) && $handle = opendir($path)) { | |
while (FALSE !== ($file = readdir($handle))) { | |
if ($file == '.' || $file == '..') continue 1; | |
$real_path = str_replace(DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR, $path.DIRECTORY_SEPARATOR.$file); //realpath($path.DIRECTORY_SEPARATOR.$file);//得到当前文件的全称路径 | |
$result[] = $real_path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name SongTasteDownload | |
// @namespace http://www.onefloweroneworld.com | |
// @description 自动解析SongTaste歌曲URL,点击即可下载~ | |
// @include http://www.songtaste.com/song/* | |
// @include http://songtaste.com/song/* | |
// @include http://www.songtaste.com/playmusic.php?song_id=* | |
// @include http://songtaste.com/playmusic.php?song_id=* | |
// @version 0.1 | |
// @author iSayme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
纯真数据库自动更新原理实现 | |
示例代码使用php实现,从copywrite.rar中读取解密需要的一个key,然后解密qqwry.rar头0x200字节数据,随后使用zlib解压数据即可得到qqwry.dat文件 | |
通过此代码的实现,你应该可以自行实现一个纯真数据库更新工具。copywrite.rar中还有一些更多的数据,没有一一列出,比如版本号、qqwry.rar文件大小。 | |
collect from https://github.com/shuax/QQWryUpdate/blob/master/update.php | |
*/ | |
$copywrite = file_get_contents("http://update.cz88.net/ip/copywrite.rar"); | |
$qqwry = file_get_contents("http://update.cz88.net/ip/qqwry.rar"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var IframeOnClick = { | |
resolution : 200, | |
iframes : [], | |
interval : null, | |
Iframe : function() { | |
this.element = arguments[0]; | |
this.cb = arguments[1]; | |
this.hasTracked = false; | |
}, | |
track: function(element, cb) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.keys = Object.keys || (function () { | |
var hasOwnProperty = Object.prototype.hasOwnProperty, | |
hasDontEnumBug = !{toString:null}.propertyIsEnumerable("toString"), | |
DontEnums = [ | |
'toString', | |
'toLocaleString', | |
'valueOf', | |
'hasOwnProperty', | |
'isPrototypeOf', | |
'propertyIsEnumerable', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"selector": "source.php", | |
"cmd": ["php", "-l", "$file"], | |
"variants": [ | |
{ | |
"name": "Run", | |
"cmd": ["php", "$file"] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 对Date的扩展,将 Date 转化为指定格式的String | |
* 月(M)、日(d)、12小时(h)、24小时(H)、分(m)、秒(s)、周(E)、季度(q) 可以用 1-2 个占位符 | |
* 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) | |
* eg: | |
* (new Date()).pattern("yyyy-MM-dd hh:mm:ss.S") ==> 2007-07-02 08:09:04.423 | |
* (new Date()).pattern("yyyy-MM-dd E HH:mm:ss") ==> 2007-03-10 二 20:09:04 | |
* (new Date()).pattern("yyyy-MM-dd EE hh:mm:ss") ==> 2007-03-10 周二 08:09:04 | |
* (new Date()).pattern("yyyy-MM-dd EEE hh:mm:ss") ==> 2007-03-10 星期二 08:09:04 | |
* (new Date()).pattern("yyyy-M-d h:m:s.S") ==> 2007-7-2 8:9:4.18 |