https://github.com/osquery/osquery logo
a

Aayush Jain

12/13/2022, 11:05 AM
👋 Hello, team! I am new to osquery. Tried osquery python extension to execute osqueryi commands and stuck on this error.
Could not connect to any of ['/tmp/pyosqsockndnbir6z']
My code was :
Copy code
import osquery
 instance = osquery.SpawnInstance()
 instance.open()
 result = instance.client.query("SELECT interface FROM interface_details;")
Is the correct way or I am doing something wrong ?
2 Views