Join Slack
Powered by
#golang
Title
z
zwass
09/10/2020, 3:22 AM
You are probably doing
go run main.go
. You need to provide the socket path and query arguments, something like
go run main.go /var/osquery.em 'select * from time
.
b
beniya b
09/10/2020, 3:36 AM
you are right. Thank you so much
@zwass
🍻 1
Is there a way to run this from code. I mean, not to run the query as a commad line argument
z
zwass
09/10/2020, 3:47 AM
Sure, modify the code
b
beniya b
09/10/2020, 3:52 AM
Ok thanks
5 Views
Open in Slack