mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-25 02:43:07 +08:00
Modified terminal names in the client
This commit is contained in:
@@ -338,7 +338,7 @@ void activate_command_control_shell(char* argv){
|
||||
//Received ACK, we proceed to send command
|
||||
while(1){
|
||||
char buf[BUFSIZ];
|
||||
printf(""KYLW"c>:"RESET"");
|
||||
printf(">> client["""KRED"plaintext shell"RESET"""]>: ");
|
||||
fgets(buf, BUFSIZ, stdin);
|
||||
if ((strlen(buf)>0) && (buf[strlen(buf)-1] == '\n')){
|
||||
buf[strlen(buf)-1] = '\0';
|
||||
|
||||
Binary file not shown.
@@ -184,7 +184,7 @@ int server_run(int port) {
|
||||
//Depending on the mode, we show different UI and commands
|
||||
switch(client_mode){
|
||||
case CLIENT_MODE_LIVE_COMMAND:
|
||||
printf(">> client["""KYLW"command live"RESET"""]>: ");
|
||||
printf(">> client["""KYLW"encrypted shell"RESET"""]>: ");
|
||||
fgets(buf, BUFSIZ, stdin);
|
||||
if ((strlen(buf)>0) && (buf[strlen(buf)-1] == '\n')){
|
||||
buf[strlen(buf)-1] = '\0';
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user