Skip to content

Fix typo error #72

@prasanthbazz

Description

@prasanthbazz

I ran this example code and I got this exception : called read on non-open pipe.
I also tried alternate approach of SpawnInstance(). Still I get the same error.

import osquery
if __name__ == "__main__":
    instance = osquery.ExtensionClient('\\.pipe\osquery.em')
    print(instance.open())  # This may raise an exception
    client = instance.extension_client()
    client.query('select timestamp from time')

Screenshot (5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions