Skip to content

Instantly share code, notes, and snippets.

View omerk2511's full-sized avatar
💻

Omer Katz omerk2511

💻
View GitHub Profile
@omerk2511
omerk2511 / qoi.py
Created March 30, 2022 18:54
Naive QOI Image Decoder
#!/bin/python3
import struct
from PIL import Image
from sys import argv, exit
HEADER_FORMAT = ">4sIIBB"
HEADER_SIZE = 14
TAG_FORMAT = ">B"
@omerk2511
omerk2511 / netwalker_import_resolver.py
Created June 4, 2020 13:13
Resolves all the NetWalker ransomware imports and shows the actual function names when they are called
import zlib
import idc
import idautils
import idaapi
RESOLVE_IMPORTS = 0x00C512A6
GET_IMPORT_TABLE = 0x00C52400
rainbow_table = {}
imports = []