Skip to content

Instantly share code, notes, and snippets.

View n4sm's full-sized avatar
🏳️
Fuzzing

nasm n4sm

🏳️
Fuzzing
View GitHub Profile
l = open("input", "r").read().split("\n")
l[len(l)-1] = "0"
content = list(map(lambda x: int(x), l))
print(content)
counter = 0
"""
for i, n in enumerate(content):
@n4sm
n4sm / rsakeyfinder_ida.py
Last active July 19, 2023 07:40
Improved version of this script: http://www.trapkit.de/research/sslkeyfinder/ for recent IDApython versions.
#---------------------------------------------------------------------
# Simple IDA script to extract RSA private keys and certificates.
# kyprizel, 2010
#
# Based on original idea and PoC by Tobias Klein
# http://www.trapkit.de/research/sslkeyfinder/
#---------------------------------------------------------------------
import os
import idaapi
from idautils import *
@n4sm
n4sm / autofunc_arm64.py
Created July 21, 2023 13:52
ARM64 bootloader / secure monitor function finder.
import idaapi
def find_sig(segment, sig, callback):
seg = idaapi.get_segm_by_name(segment)
if not seg:
return
ea, maxea = seg.start_ea, seg.end_ea
while ea != idaapi.BADADDR:
ea = idaapi.find_binary(ea, maxea, sig, 16, idaapi.SEARCH_DOWN)
if ea != idaapi.BADADDR: