Channels
doorman
zercurity
infrastructure
code-review
queryhub
apple-silicon
carving
goquery
aws
querycon
golang
file-carving
fuzzing
help-proxy
darkbytes
process-auditing
general
windows
random
fleet-dev
tls
fim
awallaby
zentral
zeek
auditing-warroom
linen-dev
fleetosquery
plugins
jobs
arm-architecture
uptycs
android_tests
selfgroup
vendor-feeds
fleet
eclecticiq-polylogyx-extension
ebpf
website
core
macos
kolide
osctrl
extensions
foundation
sql
officehours
linux
community-feeds
Powered by
#golang
Title
# 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
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
Post