You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Sliver-client doesn't use correctly the configuration file provided as parameter. What happens is that sliver-client stores the configuration file in the sliver-client conf folder (e.g. in MacOS ~/.sliver-client/conf), then load the configuration file from the conf folder and uses the first configuration regardless the file path specified in the command line.
To Reproduce
Steps to reproduce the behavior:
Run sliver-server
create a new player with the command new-player -h 127.0.0.1 -o user1 -s [PATH]
create a new player with the command new-player -h 127.0.0.1 -o user2 -s [PATH]
Run multiplayer
On a different terminal run sliver-client -c [configuration-file-user-1]
Exit sliver-client
On a different terminal run sliver-client -c [configuration-file-user-2]
At this point regardless the configuration file specified the sliver-client will always connect as user2 even when sliver-client -c [configuration-file-user-1] is used.
Expected behavior
sliver-client should save the configuration, if not present already, and then pass the conf file name to the function selectConfig() in console-cfg.go and load the proper profile.
Screenshots
Desktop (please complete the following information):
OS: MacOS
Version v0.0.7 - latest from master
The text was updated successfully, but these errors were encountered:
hypnoticpattern
changed the title
sliver-client doesn't use the configuration file provided as parameter
sliver-client doesn't use correctly the configuration file provided as parameter
Mar 17, 2020
What menu? I am not using the GUI and I already have both config files in that folder. when I run sliver-client with or without parameter it connects as user2 regardless.
Describe the bug
Sliver-client doesn't use correctly the configuration file provided as parameter. What happens is that sliver-client stores the configuration file in the sliver-client conf folder (e.g. in MacOS ~/.sliver-client/conf), then load the configuration file from the conf folder and uses the first configuration regardless the file path specified in the command line.
To Reproduce
Steps to reproduce the behavior:
new-player -h 127.0.0.1 -o user1 -s [PATH]
new-player -h 127.0.0.1 -o user2 -s [PATH]
multiplayer
sliver-client -c [configuration-file-user-1]
sliver-client
sliver-client -c [configuration-file-user-2]
sliver-client -c [configuration-file-user-1]
is used.Expected behavior
sliver-client should save the configuration, if not present already, and then pass the conf file name to the function
selectConfig()
in console-cfg.go and load the proper profile.Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: