experiment : add menu item to IDA on idapython
来源:互联网 发布:大数据例子 编辑:程序博客网 时间:2024/05/01 11:37
# idapython 's demoimport idaapidef fnCallBack_MenuProcess(*args): print ">> fnCallBack_MenuProcess" print "Current Function Name = [%s]" % (GetFunctionName(ScreenEA())) print"<< fnCallBack_MenuProcess" return 1try: # only define a value ex_addmenu_item_ctx idaapi.del_menu_item(ex_addmenu_item_ctx) print("Menu removed") del ex_addmenu_item_ctxexcept: ex_addmenu_item_ctx = idaapi.add_menu_item("Search/", "Show Current EA's Function Name", "", 0, fnCallBack_MenuProcess, None) if ex_addmenu_item_ctx is None: print("Failed to add menu!") del ex_addmenu_item_ctx else: print("Menu added successfully. Run the script again to delete the menu")
效果
IDA输出
Menu added successfully. Run the script again to delete the menu>> fnCallBack_MenuProcessCurrent Function Name = [_wmain]<< fnCallBack_MenuProcess
- experiment : add menu item to IDA on idapython
- experiment : hook on idapython
- How to add start menu on Ubuntu
- How to add new item to the Context Menu
- How to add buttons (Home, Back, Menu) on Android statusBar
- experiment : add struct define on IDA6.1
- experiment : IdaPython's Choose useage
- Delphi Open Tools API - How to create and add new menu item
- SetColor useage on idaPython
- note : append menu to menu on right click menu
- experiment : ip convert to DWORD value on nt driver
- Add new application to the main menu
- Add Ribbon button and menu item in Sharepoint 2010
- experiment : thread on drv
- MY experiment on MIS
- menu.add()
- How to add application to right click menu in Windows
- How to change the menu item font color individually
- 产品经理应具备的素质
- 举例说明android源代码调试中加入的log方法
- 给Qt的控件添加新信号
- 五段动词为什么叫五段动词,一段动词为什么叫一段动词
- 史上最完整的iOS DIY framework 详细教程
- experiment : add menu item to IDA on idapython
- 如何使用ssh-keygen生成key
- 学习OutputStreamWriter
- 【图论05】并查集 1003 Is It A Tree?
- Linux中环境变量到底写在哪个文件中?解析login shell 和 no-login shell
- RTMP协议详解(转) ----- 这方面的资料太少了
- 使用ssh无密码登录
- 深入理解PHP原理之变量(Variables inside PHP)
- iframe自适应高度