Skip to content

Instantly share code, notes, and snippets.

View ghassani's full-sized avatar

Gassan Idriss ghassani

  • Miva Inc
  • San Diego, CA
View GitHub Profile
@ghassani
ghassani / gist:7f7e9d9417c64a91e3f511d2b2307085
Last active September 8, 2016 19:53 — forked from bNull/gist:6003874
IDA Python script that will allow you to highlight a range of bytes and turn it into dwords (for manually fixing up tables or whatever).
# hotkey_utils.py - bNull
#
# Some useful shortcuts for binding to hotkeys. Current output/hotkeys:
#
# [+] Bound make_dwords to Ctrl-Alt-D
# [+] Bound make_cstrings to Ctrl-Alt-A
# [+] Bound make_offset to Ctrl-Alt-O
import idaapi
import idc