bashhub-server
bashhub-server copied to clipboard
Hi, is this a full implementation?
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?
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)
Hi, @notpushkin , would mind telling me what do you use now to keep your shell history records now, if you use one? Thanks!