Skip to content

Instantly share code, notes, and snippets.

@mr-tz
Created January 29, 2021 11:57
Show Gist options
  • Select an option

  • Save mr-tz/e64cc459078fda9217bf8f97b8f2f3af to your computer and use it in GitHub Desktop.

Select an option

Save mr-tz/e64cc459078fda9217bf8f97b8f2f3af to your computer and use it in GitHub Desktop.
add FLARE to your IDB file details
import idc
def append_file_details(cmt):
va0 = idc.next_head(0)
# get number of free line
n = 0
while idc.get_extra_cmt(va0, idc.E_PREV + n):
n += 1
for line in cmt.split("\n"):
idc.update_extra_cmt(va0, idc.E_PREV + n, line)
n += 1
FLARE = """
( ( (
)\ ) )\ ) ( )\ )
(()/((()/( )\ (()/((
/(_))/(_)|(((_)( /(_))\
(_))_(_)) )\ _ )\(_))((_)
| |_ | | (_)_\(_) _ \ __|
| __|| |__ / _ \ | / _|
|_| |____|/_/ \_\|_|_\___|
"""
append_file_details(FLARE)
@mr-tz
Copy link
Author

mr-tz commented Jan 29, 2021

2021-01-29_12-54-38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment