This file contains 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
console.image = function(url, scale) { | |
scale = scale || 1; | |
const img = new Image(), | |
canvas = document.createElement('CANVAS'); | |
img.crossOrigin = 'Anonymous'; | |
img.onload = function() { | |
const {width, height} = img; | |
canvas.height = height; | |
canvas.width = width; |
This file contains 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
String.prototype.colorful = function(...colors) { | |
const text = this, | |
// ======================================= Core codes below from: ansi-style ======================================= | |
colorTypes = ['color', 'bgColor'], | |
{ | |
styles, | |
colorNames, | |
modifierNames | |
} = function() { | |
const ANSI_BACKGROUND_OFFSET = 10; |
This file contains 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
# !/usr/bin/python3 | |
# -*- coding: UTF-8 -*- | |
# 成品&说明: | |
# https://www.52pojie.cn/thread-1688300-1-1.html | |
import xml.etree.ElementTree as ETree | |
import requests | |
import re |
This file contains 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
// frida -U 微信 -l wechat_debugger.js --no-pause | |
// 上面的【微信】使用frida-ps -U命令查看系统显示的是包名还是应用名 | |
// 附上微信的包名:com.tencent.mm | |
if(Java.available) { | |
Java.perform(function(){ | |
const Ordinary_Class = Java.use("com.tencent.mm.plugin.biz.b.c"); | |
if(Ordinary_Class != undefined) { | |
Ordinary_Class.cXc.implementation = ()=>!0 | |
const context = Java.use("android.app.ActivityThread").currentApplication().getApplicationContext(); | |
Java.scheduleOnMainThread(function() { |