Skip to content

Importing .sql file #9

@forced-request

Description

@forced-request

It would be nice to see support added for easily executing .sql files. For example, the Web Exploitation Framework implements the 'jdbc/sqlite3' library. We have a module that is intended to load and execute .sql files. From what I noticed, there isn't support for such. My workaround for this situation bypasses the library directly and uses shell execution to get the job done.

res = `cat #{ModDatumDb}fingerprint_schemas/#{filename} | sqlite3 #{@db}`

I'm not happy with this solution. If anyone has any suggestions about how to improve this please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions