idapython | Git copy of idapython svn repo | Plugin library

 by   EiNSTeiN- Python Version: Current License: Non-SPDX

kandi X-RAY | idapython Summary

kandi X-RAY | idapython Summary

idapython is a Python library typically used in Plugin applications. idapython has no bugs and it has low support. However idapython has 1 vulnerabilities, it build file is not available and it has a Non-SPDX License. You can download it from GitHub.

IDAPython is an IDA plugin which makes it possible to write scripts for IDA in the Python programming language. IDAPython provides full access to both the IDA API and any installed Python module. Check the scripts in the examples directory to get an quick glimpse.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              idapython has a low active ecosystem.
              It has 39 star(s) with 49 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              idapython has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of idapython is current.

            kandi-Quality Quality

              idapython has 0 bugs and 0 code smells.

            kandi-Security Security

              idapython has 1 vulnerability issues reported (0 critical, 1 high, 0 medium, 0 low).
              idapython code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              idapython has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              idapython releases are not available. You will need to build from source code and install.
              idapython has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              idapython saves you 5323 person hours of effort in developing the same functionality from scratch.
              It has 11171 lines of code, 1558 functions and 85 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed idapython and discovered the below as its top functions. This is intended to give you an instant insight into idapython implemented functionality, and help decide if they suit your requirements.
            • Run VirusTotalForm
            • Render the form
            • Reads config file
            • Write config file
            • Event handler for changes
            • Scans a given file
            • Make a multipart POST request
            • Encode fields in multipart form
            • Event handler for creation
            • Populates the widget layout
            • Converts a form to a PyQtWidget instance
            • Generate documentation
            • Generate documentation from a file
            • Extract documentation from given lines
            • Walk a call stack
            • Find an element by ea
            • Determine the previous call instruction
            • Compute the test stage
            • Registers a function with an IDC
            • Find import references to dllname
            • Find imported functions
            • Event handler
            • Clears the graph
            • Register an IDC function with the given arguments
            • Displays the form
            • Generate stub stub
            Get all kandi verified functions for this library.

            idapython Key Features

            No Key Features are available at this moment for idapython.

            idapython Examples and Code Snippets

            No Code Snippets are available at this moment for idapython.

            Community Discussions

            QUESTION

            How to get the actual main address use idapython when starting IDA in batch mode?
            Asked 2022-Mar-22 at 03:02

            When starting IDA in GUI mode to analyze the binary, it automatically locates and displays the actual main function code (not the entry point encapsulated by the compiler, but the main function corresponding to the source code).

            My question is how to get that address in batch mode (without GUI) via idapython script? I don't see the relevant interface in the IDAPython documentation.

            For example, _mainCRTStartup --> ___mingw_CRTStartup --> _main is a sequence of function calls, where _mainCRTStartup is the entry point of the binary, but I want to get the address of _main, can it be done?

            Any help or direction would be much appreciated.!

            ...

            ANSWER

            Answered 2022-Mar-22 at 03:02

            Know the answer, it is idaapi.inf_get_main()

            Source https://stackoverflow.com/questions/71319464

            QUESTION

            Getting the Value of a CPP Object using IDA Pro and IDAPython
            Asked 2021-Jul-28 at 15:28

            I've set a breakpoint using IDA Pro on a function that returns a cocos2d::Image object pointer as a response, as can be seen in the screenshot below.

            However, I'm at a complete loss at how I can use IDAPython to print out the Object members, and such. Is there a way to do it? The Docs haven't been too helpful, and only seem to have methods to check for C-like structs.

            ...

            ANSWER

            Answered 2021-Jul-28 at 15:28

            Use print Dword(addr) for printing dword-sized members and print Byte(addr) for printing byte-sized members. Result is stored in eax, so you can use relative offsets from eax to get member addresses. To print all the members from the screenshot that will be:

            Source https://stackoverflow.com/questions/68510375

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            The IDAPython plugin before 1.5.2.3 in IDA Pro allows user-assisted remote attackers to execute arbitrary code via a crafted IDB file, related to improper handling of certain swig_runtime_data files in the current working directory.

            Install idapython

            Install 2.6 or 2.7 from http://www.python.org/
            Copy the whole "python" directory to %IDADIR%
            Copy the contents of the "plugins" directory to the %IDADIR%\plugins\
            Copy "python.cfg" to %IDADIR%\cfg

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/EiNSTeiN-/idapython.git

          • CLI

            gh repo clone EiNSTeiN-/idapython

          • sshUrl

            git@github.com:EiNSTeiN-/idapython.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link