https://github.com/osquery/osquery logo
Title
v

veeralpatel

11/06/2018, 7:33 PM
Hi Kolide team! Where in the fleet source code is the live shell on a host feature implemented? Thanks ๐Ÿ™‚
z

zwass

11/06/2018, 7:35 PM
Fleet doesn't implement the live shell functionality. Are you looking for the client implementation in Launcher?
v

veeralpatel

11/06/2018, 7:35 PM
Yes, sorry, I was using
<http://kolide.com|kolide.com>
, not fleet
Where would I find it in launcher then? ๐Ÿ™‚
z

zwass

11/06/2018, 7:35 PM
Yep, give me a minute to find that for ya.
๐Ÿ‘ 1
v

veeralpatel

11/06/2018, 7:40 PM
Awesome, I donโ€™t understand any of the code at all, but Iโ€™ll try to figure it out ๐Ÿ™‚
๐Ÿป 1
Iโ€™m guessing these files just expose a
/api/v1/shells
endpoint, where you POST a shell command for a specific device and it returns the output of the shell command as JSON
z

zwass

11/06/2018, 7:45 PM
Not exactly. The Launcher opens a real shell on the host and a bidirectional communication channel with the server.
๐Ÿ‘ 1