bashhub-server icon indicating copy to clipboard operation
bashhub-server copied to clipboard

Hi, is this a full implementation?

Open cmal opened this issue 6 years ago • 2 comments

Hi, I searched the bashhub code and found the following lines(and maybe something more):

rest_client.py:13:from bashhub_globals import BH_URL, BH_AUTH
rest_client.py:39:    url = BH_URL + "/api/v1/user "
rest_client.py:61:    url = BH_URL + "/api/v1/login "
rest_client.py:84:    url = BH_URL + "/api/v1/system "
rest_client.py:105:    url = BH_URL + '/api/v1/system'
rest_client.py:121:    url = BH_URL + "/api/v1/command/{0} ".format(uuid)
rest_client.py:138:    url = BH_URL + "/api/v1/command/{0} ".format(uuid)
rest_client.py:154:    url = BH_URL + "/api/v1/system/{0} ".format(mac)
rest_client.py:185:    url = BH_URL + "/api/v1/command/search "

Need I add the command api to this repo so that I can use the server?

cmal avatar May 09 '18 04:05 cmal

Hey @cmal! Yeah sorry, this was mostly an experiment rather than complete project. Unfortunately I don't use bashhub anymore so I probably won't maintain it but please feel free to use it as a starting point if you're willing to implement it :) (shouldn't be too hard IMO, just a couple of endpoints as you noticed)

notpushkin avatar May 10 '18 10:05 notpushkin

Hi, @notpushkin , would mind telling me what do you use now to keep your shell history records now, if you use one? Thanks!

cmal avatar May 11 '18 02:05 cmal