Skip to content

Instantly share code, notes, and snippets.

Avatar
☂️
带伞不下雨下雨不带伞

Leopold leommxj

☂️
带伞不下雨下雨不带伞
  • China
View GitHub Profile
@leommxj
leommxj / openssl-frida.js
Created Apr 11, 2022 — forked from FrankSpierings/openssl-frida.js
Some OpenSSL hooks in Frida - Work in progress....
View openssl-frida.js
const utils = {
colors: {
red: function(string) {
return '\x1b[31m' + string + '\x1b[0m';
},
green: function(string) {
return '\x1b[32m' + string + '\x1b[0m';
},
@leommxj
leommxj / getpdb.py
Created Jul 21, 2021
download pdb from microsoft
View getpdb.py
import lief
import argparse
import urllib.request
from tqdm import tqdm
URL = "http://msdl.microsoft.com/download/symbols/{}/{}{}/{}"
class DownloadProgressBar(tqdm):
def update_to(self, b=1, bsize=1, tsize=None):
if tsize is not None:
View dbr.py
bt16 = [0xeb, 0x3c, 0x90, 0x43, 0x6f, 0x6e, 0x73, 0x79, 0x73, 0x56, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x0e, 0x1f,
0x88, 0x16, 0x24, 0x7c, 0xbe, 0x7b, 0x7d, 0xe8, 0x22, 0x01, 0xb8, 0x00, 0x08, 0xa3, 0x14, 0x7c,
0xb8, 0xbe, 0x7c, 0xa3, 0x20, 0x7c, 0xb8, 0x05, 0x7d, 0xa3, 0x22, 0x7c, 0x66, 0x0f, 0xb7, 0x06,
0x0e, 0x7c, 0x66, 0x03, 0x06, 0x1c, 0x7c, 0x66, 0xa3, 0x1c, 0x7c, 0x0f, 0xb6, 0x06, 0x10, 0x7c,
0xf7, 0x26, 0x16, 0x7c, 0x66, 0x98, 0x66, 0x03, 0x06, 0x1c, 0x7c, 0x66, 0xa3, 0x26, 0x7c, 0x8b,
0x0e, 0x11, 0x7c, 0x83, 0xc1, 0x0f, 0xc1, 0xe9, 0x04, 0x66, 0x0f, 0xb7, 0xd1, 0x66, 0x01, 0xd0,
0x66, 0xa3, 0x18, 0x7c, 0xe8, 0x27, 0x00, 0xff, 0x36, 0x14, 0x7c, 0x07, 0x31, 0xdb, 0xe8, 0x64,
@leommxj
leommxj / chip8.py
Created Feb 20, 2019
ida processor module script for chip-8
View chip8.py
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------
# Processor module template script
# (c) Hex-Rays
import sys
from ida_bytes import *
from ida_ua import *
from ida_idp import *
from ida_auto import *
from ida_nalt import *