[Minor Issue] Alias does not update server name in `list` command
JustinTimperio opened this issue · comments
jtimperio commented
I have yet to pinpoint why this happens but the list command does not seem to be using the value defined by name
in the SQLite database.
Select client to give an alias
❯ 0 vBHv3Vc5awx39ivu vBHv3Vc5awx39ivu
Type an alias for selected client
Test_Name
2021/02/10 04:04:48 /ToRat/torat_server/shell.go:70 WHERE conditions required
[0.426ms] [rows:0] UPDATE `clients` SET `hostname`="vBHv3Vc5awx39ivu",`name`="Test_Name",`path`="bots/vBHv3Vc5awx39ivu",`ip`="",`location`="",`last_conn`=0,`active`=false,`mac_addr`="",`os`="",`cpu`="",`gpu`="",`ram`="",`drives`=""
[Server] /ToRat/cmd/server$ list
Clients:
0 vBHv3Vc5awx39ivu vBHv3Vc5awx39ivu