see: https://jsfiddle.net/zLnx5ub7/
preview screenshot:
see: https://jsfiddle.net/zLnx5ub7/
preview screenshot:
| var CryptoJS = require('crypto-js') | |
| var request = require('request-promise') | |
| /* | |
| * npm install crypto-js request-promise request | |
| * node wx_t1t_hack.js | |
| */ | |
| // export function testEncription(msg, fullKey) { | |
| // var fullKey = fullKey.slice(0, 16) |
| /* | |
| * Recommend run with node v8.9.x or higher version | |
| * npm install lodash crypto-js request-promise request | |
| * node hack.js | |
| */ | |
| const version = 5 // the version of t1t | |
| const score = 370 // the score you wanna get | |
| const playTimeSeconds = score * 0.01 // simulate the playing time (seconds) |
| <!doctype html> | |
| <html> | |
| <head> | |
| <style> | |
| .main { | |
| width: 13em; | |
| text-align: center; | |
| } | |
| .left, .right { |
| function number_format (number, decimals, dec_point, thousands_sep) { | |
| // http://kevin.vanzonneveld.net | |
| // + original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com) | |
| // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) | |
| // + bugfix by: Michael White (http://getsprink.com) | |
| // + bugfix by: Benjamin Lupton | |
| // + bugfix by: Allan Jensen (http://www.winternet.no) | |
| // + revised by: Jonas Raoni Soares Silva (http://www.jsfromhell.com) | |
| // + bugfix by: Howard Yeend | |
| // + revised by: Luke Smith (http://lucassmith.name) |
| #-*- coding:utf-8 -*- | |
| # from Python3WebSpider/CrackGeetest | |
| # and did some little changes to fix python2 | |
| import time | |
| from io import BytesIO | |
| from PIL import Image | |
| from selenium import webdriver | |
| from selenium.webdriver import ActionChains |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "log" | |
| "runtime" | |
| "strconv" | |
| "time" | |
| ) |
| <!DOCTYPE html> | |
| <html> | |
| <!--  --> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title></title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
| func getGoRoutineId() uint64 { | |
| b := make([]byte, 32) | |
| b = b[:runtime.Stack(b, false)] | |
| b = bytes.TrimPrefix(b, []byte("goroutine ")) | |
| b = b[:bytes.IndexByte(b, ' ')] | |
| id, err := strconv.ParseUint(string(b), 10, 64) | |
| if err != nil { | |
| log.Panicf("Cannot parse goroutine id from %v: %v", b, err) | |
| } |
| <!doctype html> | |
| <html> | |
| <head><title>嵌入SVG图片的N种方式</title></head> | |
| <body> | |
| <h3>0. 使用`svg`标签</h3> | |
| <svg version="1.1" | |
| preserveAspectRatio="xMinYMin meet" | |
| viewBox="0 0 660 342" | |
| width="660" height="342" | |
| xmlns="http://www.w3.org/2000/svg" |