Created
January 29, 2021 11:57
-
-
Save mr-tz/e64cc459078fda9217bf8f97b8f2f3af to your computer and use it in GitHub Desktop.
add FLARE to your IDB file details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
Author
mr-tz
commented
Jan 29, 2021

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