Skip to content

Instantly share code, notes, and snippets.

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

Sane irever

💭
I may be slow to respond.
View GitHub Profile
@su-vikas
su-vikas / screenshot.js
Created October 7, 2018 07:55
FRIDA script for bypassing Android FLAG_SECURE
Java.perform(function() {
var surface_view = Java.use('android.view.SurfaceView');
var set_secure = surface_view.setSecure.overload('boolean');
set_secure.implementation = function(flag){
console.log("setSecure() flag called with args: " + flag);
set_secure.call(false);
};
@a232319779
a232319779 / douyinsig.py
Created May 2, 2018 01:56
douyin checksum calc.
# -*- coding: utf-8 -*-
# @Time : 2017/12/23 16:07
# @Author : ddvv
# @Site :
# @File : douyincore.py
# @Software: PyCharm
import hashlib
class calcSig(object):
@okanon
okanon / electra.md
Last active December 24, 2018 09:07
Fixed Electra 1.0.x "Error: topanga"

Fixed Electra 1.0.x "Error: topanga"

Download & Jailbreak Electra b11-3

Electra beta11-3

How to Use

  1. Download WinSCP or SCPcleint
    winscp
  2. SFTP connection to the device
  3. Forward rm_topanga.sh to /var/root directory
#!/usr/bin/env python2
# lrdcq
# usage python2 unwxapkg.py filename
import sys, os
import struct
class WxapkgFile(object):
nameLen = 0
@ChiChou
ChiChou / Android.mk
Last active March 28, 2024 10:56
WeChat dump
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := loader
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := loader.c
LOCAL_CPPFLAGS := -std=gnu++0x -Wall
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog -pie -fPIE
@Josscii
Josscii / weixin.md
Last active July 23, 2024 07:24
wechat_spider 原理扫盲帖

wechat_spider 原理扫盲帖

这篇文章旨在为刚接触 wechat_spider 的人提供一个快速了解这个项目基本原理的途径。

思路

首先我们随便进入一个微信公众号详情页。

@varhub
varhub / xposed_recover-from-bootlop.md
Last active June 11, 2020 07:27
XPOSED - Recover from bootloop

XPOSED - Recover from bootloop

Tested with Lollipop and Marshmallow. Some file path had been changed since ICS/KK [1].


When you activate an Xposed module and produces a bootloop, there are three options to recover it:

  1. Restore a nandroid
@kennwhite
kennwhite / vpn_psk_bingo.md
Last active February 24, 2024 12:19
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016

@ufologist
ufologist / CryptoJS-DES.html
Created May 15, 2013 03:34
Use CryptoJS encrypt message by DES and direct decrypt ciphertext, compatible with Java Cipher.getInstance("DES")
<!-- test pass with CryptoJS v3.1.2 -->
<script src="rollups/tripledes.js"></script>
<script src="components/mode-ecb.js"></script>
<script>
/**
* Encrypt message by DES in ECB mode and Pkcs7 padding scheme
*
* NOTE: DES is weak, please use 3DES(Triple DES) or AES
*
* @param {String} message