Title
#golang
zwass

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
.
beniya b

beniya b

09/10/2020, 3:36 AM
you are right. Thank you so much @zwass
3:44 AM
Is there a way to run this from code. I mean, not to run the query as a commad line argument
zwass

zwass

09/10/2020, 3:47 AM
Sure, modify the code
beniya b

beniya b

09/10/2020, 3:52 AM
Ok thanks