Skip to content

Feature request: ability to call sql from idapython #57

Description

@po0p

IDASQL is very nice. I want to interface/use it from my own idapython plugins/scripts. While parsing/checking netnode, and then manually interfacing with mcp or http is possible, it is cumberstone.

I would rather have something like

import idasql
result = idasql.query("SELECT 1;")

Maybe can be done via

import sys, types
mod = types.ModuleType("idasql")
mod.query = <bound native callable>
sys.modules["idasql"] = mod

at plugmod_t ctor.

I am by no means an expert with py/c/idapython interfacing, but it would be very nice to have!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions