Skip to content

Instantly share code, notes, and snippets.

View leadscloud's full-sized avatar
💭
I may be slow to respond.

LeadsCloud leadscloud

💭
I may be slow to respond.
View GitHub Profile
@leadscloud
leadscloud / auto-redirect-from-serp.js
Created March 11, 2020 09:03
js从搜索引擎过来的自动跳转
({
var regexp = /\.(google|yahoo|msn|goo|ask|docomo|aol|bing|biglobe|nifty|fresheye|ceek|excite)(\.[a-z0-9\-]+){1,2}\//gi;
var where = document.referrer;
if (regexp.test(where)) {
window.location.href = 'https://leadscloud.github.io/';
}
});
wget \
     --recursive \
     --no-clobber \
     --page-requisites \
     --html-extension \
     --convert-links \
     --restrict-file-names=windows \
     --domains website.org \
 --no-parent \
var LR_BAEO = 'bd390a625de6dcd02bca537926aeaaa1333a2f8fa9cc8f8e9cc9c3631e14d6b224592f9d405d6cf31ef46f74007bc5139c8615c67a4ce4b114e4beee73bb79f1';
function Hwd8F9(s) { return Fsw3B("LR_GETDATA_DES_FUNCTION();", Fcw5O(s), 0, 0) }
function Fsw3B(beinetkey, message, encrypt, mode, iv) {
var spfunction1 = new Array(0x1010400, 0, 0x10000, 0x1010404, 0x1010004, 0x10404, 0x4, 0x10000, 0x400, 0x1010400, 0x1010404, 0x400, 0x1000404, 0x1010004, 0x1000000, 0x4, 0x404, 0x1000400, 0x1000400, 0x10400, 0x10400, 0x1010000, 0x1010000, 0x1000404, 0x10004, 0x1000004, 0x1000004, 0x10004, 0, 0x404, 0x10404, 0x1000000, 0x10000, 0x1010404, 0x4, 0x1010000, 0x1010400, 0x1000000, 0x1000000, 0x400, 0x1010004, 0x10000, 0x10400, 0x1000004, 0x400, 0x4, 0x1000404, 0x10404, 0x1010404, 0x10004, 0x1010000, 0x1000404, 0x1000004, 0x404, 0x10404, 0x1010400, 0x404, 0x1000400, 0x1000400, 0, 0x10004, 0x10400, 0, 0x1010004);
var spfunction2 = new Array(-0x7fef7fe0, -0x7fff8000, 0x8000, 0x108020, 0x100000, 0x20, -0x7fefffe0, -0x7fff7fe0, -0x
var LR_BAEO = 'bd390a625de6dcd02bca537926aeaaa1333a2f8fa9cc8f8e9cc9c3631e14d6b224592f9d405d6cf31ef46f74007bc5139c8615c67a4ce4b114e4beee73bb79f1';
function Hwd8F9(s) { return Fsw3B("LR_GETDATA_DES_FUNCTION();", Fcw5O(s), 0, 0) }
function Fsw3B(beinetkey, message, encrypt, mode, iv) {
var spfunction1 = new Array(0x1010400, 0, 0x10000, 0x1010404, 0x1010004, 0x10404, 0x4, 0x10000, 0x400, 0x1010400, 0x1010404, 0x400, 0x1000404, 0x1010004, 0x1000000, 0x4, 0x404, 0x1000400, 0x1000400, 0x10400, 0x10400, 0x1010000, 0x1010000, 0x1000404, 0x10004, 0x1000004, 0x1000004, 0x10004, 0, 0x404, 0x10404, 0x1000000, 0x10000, 0x1010404, 0x4, 0x1010000, 0x1010400, 0x1000000, 0x1000000, 0x400, 0x1010004, 0x10000, 0x10400, 0x1000004, 0x400, 0x4, 0x1000404, 0x10404, 0x1010404, 0x10004, 0x1010000, 0x1000404, 0x1000004, 0x404, 0x10404, 0x1010400, 0x404, 0x1000400, 0x1000400, 0, 0x10004, 0x10400, 0, 0x1010004);
var spfunction2 = new Array(-0x7fef7fe0, -0x7fff8000, 0x8000, 0x108020, 0x100000, 0x20, -0x7fefffe0, -0x7fff7fe0, -0x
var LR_BAEO = 'bd390a625de6dcd02bca537926aeaaa1333a2f8fa9cc8f8e9cc9c3631e14d6b224592f9d405d6cf31ef46f74007bc5139c8615c67a4ce4b114e4beee73bb79f1';
function Hwd8F9(s) { return Fsw3B("LR_GETDATA_DES_FUNCTION();", Fcw5O(s), 0, 0) }
function Fsw3B(beinetkey, message, encrypt, mode, iv) {
var spfunction1 = new Array(0x1010400, 0, 0x10000, 0x1010404, 0x1010004, 0x10404, 0x4, 0x10000, 0x400, 0x1010400, 0x1010404, 0x400, 0x1000404, 0x1010004, 0x1000000, 0x4, 0x404, 0x1000400, 0x1000400, 0x10400, 0x10400, 0x1010000, 0x1010000, 0x1000404, 0x10004, 0x1000004, 0x1000004, 0x10004, 0, 0x404, 0x10404, 0x1000000, 0x10000, 0x1010404, 0x4, 0x1010000, 0x1010400, 0x1000000, 0x1000000, 0x400, 0x1010004, 0x10000, 0x10400, 0x1000004, 0x400, 0x4, 0x1000404, 0x10404, 0x1010404, 0x10004, 0x1010000, 0x1000404, 0x1000004, 0x404, 0x10404, 0x1010400, 0x404, 0x1000400, 0x1000400, 0, 0x10004, 0x10400, 0, 0x1010004);
var spfunction2 = new Array(-0x7fef7fe0, -0x7fff8000, 0x8000, 0x108020, 0x100000, 0x20, -0x7fefffe0, -0x7fff7fe0, -0x
@leadscloud
leadscloud / free-ss.site.js
Created March 23, 2020 06:18
获取free-ss.site的账号并生成订阅内容
var table = $('#tbss').DataTable();
var data = table.rows().data();
var groups = [];
Array.from(data).forEach(e => {
let ss = `${e[3]}:${e[4]}@${e[1]}:${e[2]}`
let str = 'ss://' + btoa(ss)
let ssr = `${e[1]}:${e[2]}:origin:${e[3]}:plain:${btoa(e[4]).replace(/=/g, "")}/?remarks=${btoa(e[6]).replace(/=/g, "")}&group=${btoa("free-ss.site").replace(/=/g, "")}`
console.info("ssr://" + btoa(ssr))
groups.push("ssr://" + btoa(ssr).replace(/\//, "_"))
@leadscloud
leadscloud / python-thread-loop.py
Created February 22, 2021 06:46
python thread多线程
import threading
import time
thread_num = 0
lock = threading.Lock()
def do_request():
global thread_num
# -------------
# my code here