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
const utils = { | |
colors: { | |
red: function(string) { | |
return '\x1b[31m' + string + '\x1b[0m'; | |
}, | |
green: function(string) { | |
return '\x1b[32m' + string + '\x1b[0m'; | |
}, |
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
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: |
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
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, |
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
# -*- 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 * |