Join Slack
Channels
general
android_tests
apple-silicon
arm-architecture
auditing-warroom
awallaby
aws
beyond-identity
carving
code-review
community-feeds
core
darkbytes
doorman
ebpf
eclecticiq-polylogyx-extension
extensions
file-carving
fim
fleet
fleet-dev
fleetosquery
foundation
fuzzing
golang
goquery
help-proxy
infrastructure
jobs
kolide
linen-dev
linux
loonsecio
macos
officehours
osctrl
plugins
process-auditing
qingteng
querycon
queryhub
random
selfgroup
sql
tls
uptycs
vendor-feeds
website
windows
zeek
zentral
zercurity
Powered by
You are probably doing `go run main.go`. You need ...
# golang
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
beniya b
09/10/2020, 3:44 AM
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
Previous
Next