Skip to content

Instantly share code, notes, and snippets.

View ciaoly's full-sized avatar
🐟
mofish

chaol ciaoly

🐟
mofish
View GitHub Profile
@ciaoly
ciaoly / postcat-scoop.json
Created November 14, 2023 16:35
PostCat scoop
{
"version": "0.5.1",
"description": "Postcat 是一个强大的开源、免费的、跨平台(Windows、Mac、Linux、Browsers...)的 API 开发测试工具",
"homepage": "https://github.com/Postcatlab/postcat",
"notes": "https://github.com/Postcatlab/postcat",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/Postcatlab/postcat/releases/download/v0.5.1/Postcat-0.5.1.exe#/postcat.exe"
}
@ciaoly
ciaoly / caesar.ps1
Last active November 28, 2023 04:43
一个简单的凯撒解密脚本
Param(
[Parameter(Mandatory=$true)]
[string] $Ciph = "",
[string] $GuideWord = "flag",
[switch] $SkipNoneAlpha = $false
)
begin {
if (($Ciph.Length -le 0) -or ($GuideWord.Length -le 1)){
return;
@ciaoly
ciaoly / block_jsonp.rules
Last active May 18, 2023 06:20
一个uBlock Origin规则, 用来尽可能的过滤jsonp蜜罐, 同样适用于ADBlock
jsonp|
*jsonp$document
/callback=.*/
/cb=fun.*/
/eval\(.*/
||yuedu.baidu.com
||*/music.pae.baidu.com$document
const setCssToHead = function(cssArr, errorInfo, config) {
const head = document.head || document.getElementsByTagName("head")[0];
const style = document.createElement("style");
head.appendChild(style);
let css = "";
cssArr.forEach(e => {
if(typeof e === "string") {
css += e;
} else if(e.length > 1){
css += e[1];
const wu = require("./wuLib.js");
const {VM} = require('vm2');
const fs = require("fs");
function catchZGroup(code, groupPreStr, cb) {
const debugPre = "(function(z){var a=11;function Z(ops,debugLine){";
let zArr = {};
let i = 0;
for (let preStr of groupPreStr) {
// console.log(preStr);
const wu = require("./wuLib.js");
const {getZ, catchM0} = require("./wuRestoreZ.js");
const {wxsBeautify} = require("./wuJs.js");
const fs = require('fs');
const path = require("path");
const esprima = require('esprima');
const {VM} = require('vm2');
const escodegen = require('escodegen');
function analyze(core, z, namePool, xPool, fakePool = {}, zMulName = "0") {

谈谈共存的逻辑

Original caozsay caoz的梦呓

caoz的梦呓

Weixin ID caozsay

About Feature caoz的心得与分享,只此一家,别无分号。

// ==UserScript==
// @name New Userscript
// @namespace hello
// @version 0.3
// @description try to take over the world!
// @author hello
// @match https://eztest.org/exam/session/62240/
// @match https://*.eztest.org/exam/*
// @grant none
// ==/UserScript==
@ciaoly
ciaoly / UserScript.user.js
Last active April 25, 2020 04:56
eztest_monkey
// ==UserScript==
// @name New Userscript
// @namespace hello
// @version 0.3
// @description try to take over the world!
// @author hello
// @match https://eztest.org/exam/session/62240/
// @match https://*.eztest.org/exam/*
// @grant none
// ==/UserScript==