Modified terminal names in the client

This commit is contained in:
h3xduck
2022-06-15 19:09:58 -04:00
parent bdda5c4269
commit 75e92445e5
6 changed files with 7 additions and 3 deletions

View File

@@ -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.

View File

@@ -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.