Skip to content

Instantly share code, notes, and snippets.

View Zer0xFF's full-sized avatar

Zer0xFF

View GitHub Profile
git config --global user.name "Clang-Format"
git config --global user.email "Clang@format.it"
git config --global user.name "Mahmood - Zer0xFF"
git config --global user.email "5013823+Zer0xFF@users.noreply.github.com"
git config --global alias.undo-commit "reset --soft HEAD^"
function writeHomebrewEN(p, reactPSPlus, time) {
p.write4(reactPSPlus.add32(0x00000000), 0x00005be9);
p.write4(reactPSPlus.add32(0x00000004), 0x0f2e6600);
p.write4(reactPSPlus.add32(0x00000008), 0x0000841f);
p.write4(reactPSPlus.add32(0x0000000c), 0x90000000);
p.write4(reactPSPlus.add32(0x00000010), 0x000082b9);
p.write4(reactPSPlus.add32(0x00000014), 0x320f53c0);
p.write4(reactPSPlus.add32(0x00000018), 0xbfd18948);
p.write4(reactPSPlus.add32(0x0000001c), 0x0000000f);
p.write4(reactPSPlus.add32(0x00000020), 0x20e1c148);
from idautils import *
from idaapi import *
from idc import *
file2 = open("/Users/USERNAME/Desktop/outfunctions.txt", "w")
for segea in Segments():
for funcea in Functions(segea, SegEnd(segea)):
functionName = GetFunctionName(funcea)
if not functionName.startswith("sub_") :
print "{\"" , functionName.strip() , "\" ," , "0x%06x"%(funcea - segea) , "},"