mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
hacker commands print the prompt when done
This commit is contained in:
parent
251521835b
commit
b4a5c854c8
1 changed files with 7 additions and 0 deletions
|
@ -386,12 +386,14 @@ namespace ShiftOS.WinForms
|
|||
Console.WriteLine("--password breached. Operation took " + sw.ElapsedMilliseconds + " milliseconds.");
|
||||
received = true;
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
TerminalBackend.PrintPrompt();
|
||||
}
|
||||
else if(msg.Name == "user_data_not_found")
|
||||
{
|
||||
Console.WriteLine("--access denied.");
|
||||
received = true;
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
TerminalBackend.PrintPrompt();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -443,6 +445,7 @@ namespace ShiftOS.WinForms
|
|||
}
|
||||
received = true;
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
TerminalBackend.PrintPrompt();
|
||||
|
||||
}
|
||||
else if (msg.Name == "user_data_not_found")
|
||||
|
@ -450,6 +453,7 @@ namespace ShiftOS.WinForms
|
|||
Console.WriteLine("--access denied.");
|
||||
received = true;
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
TerminalBackend.PrintPrompt();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -514,12 +518,14 @@ namespace ShiftOS.WinForms
|
|||
}
|
||||
received = true;
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
TerminalBackend.PrintPrompt();
|
||||
}
|
||||
else if (msg.Name == "user_data_not_found")
|
||||
{
|
||||
Console.WriteLine("--access denied.");
|
||||
received = true;
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
TerminalBackend.PrintPrompt();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -573,6 +579,7 @@ namespace ShiftOS.WinForms
|
|||
Console.WriteLine("--access denied.");
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
}
|
||||
TerminalBackend.PrintPrompt();
|
||||
};
|
||||
|
||||
Console.WriteLine("--contacting multi-user domain...");
|
||||
|
|
Loading…
Reference in a new issue