Skip to content

Instantly share code, notes, and snippets.

View borgle's full-sized avatar

波哥 borgle

View GitHub Profile
<?php
namespace FatSmallTools;
class NavicatPassword
{
protected $version = 0;
protected $aesKey = 'libcckeylibcckey';
protected $aesIv = 'libcciv libcciv ';
protected $blowString = '3DC5CA39';
@borgle
borgle / ReadChromeCookies.py
Created April 20, 2022 11:24
读取 chrome 记录在 sqlite 里面的 cookie 记录
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" ReadChromeCookies.py: chrome cookie读取工具
__email__ = "wu@borgle.io"
__date__ = "2022-04-20"
__version__ = "1.0.0"
"""
import base64
@borgle
borgle / utils.py
Created March 9, 2022 06:02
交易日工具类
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""utils.py: 交易日工具
__email__ = "wu@borgle.io"
__date__ = "2021-12-21"
__version__ = "1.0.0"
"""
isolation.tools.getPtrLocation.disable = "TRUE"
isolation.tools.setPtrLocation.disable = "TRUE"
isolation.tools.setVersion.disable = "TRUE"
isolation.tools.getVersion.disable = "TRUE"
monitor_control.disable_directexec = "TRUE"
monitor_control.disable_chksimd = "TRUE"
monitor_control.disable_ntreloc = "TRUE"
monitor_control.disable_selfmod = "TRUE"
monitor_control.disable_reloc = "TRUE"
monitor_control.disable_btinout = "TRUE"
@borgle
borgle / check.bat
Created October 4, 2020 01:32 — forked from zu1k/check.bat
KMS脚本
@echo off
::配置BAT对话框样式
title KMS服务器检查脚本
MODE con: COLS=42 lines=8
color 0a
::检测vlmcs.exe
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
git branch --track ${branch##*/} $branch
done
git fetch --all
git pull --all
@borgle
borgle / init_private_network.sh
Created April 6, 2018 08:18
A shell for vultr private network
#!/bin/bash
private_network() {
local PRIVATE_IP=$1
if [ -f '/etc/sysconfig/network-scripts/ifcfg-eth1' ]
then
ifdown eth1 > /dev/null 2>&1
fi
cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
@borgle
borgle / extract-jdk-from-installer.cmd
Last active December 25, 2017 07:41
从jdk安装文件中提取文件的批处理脚本,只需要一个额外的 7z.exe 就可以了。
@echo off
rem ---------------------------------------------------------------------------
rem name : extract script for the jdk installer
rem author : yoker.wu@gmail.com
rem date : 2017/12/21
rem ---------------------------------------------------------------------------
set CURDIR=%cd%
set BIN7Z=%CURDIR%\7z\7z.exe
@borgle
borgle / HeaderInterceptor.java
Last active December 20, 2017 12:37
透传从网关传递来的 http header 的方法
package com.gkeeps.clients;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Bean;