mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-04-20 10:40:23 +00:00
Finish user hacking.
This commit is contained in:
parent
2a747334bd
commit
449d43d22c
2 changed files with 10 additions and 5 deletions
|
@ -386,12 +386,13 @@ namespace ShiftOS.WinForms
|
|||
Console.WriteLine(pass);
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("--password breached. Operation took " + sw.ElapsedMilliseconds + " milliseconds.");
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
}
|
||||
else if(msg.Name == "user_data_not_found")
|
||||
{
|
||||
Console.WriteLine("--access denied.");
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
}
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
};
|
||||
|
||||
Console.WriteLine("--beginning brute-force attack on " + usr + "@" + sys + "...");
|
||||
|
@ -440,13 +441,14 @@ namespace ShiftOS.WinForms
|
|||
{
|
||||
Console.WriteLine("--access denied.");
|
||||
}
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
|
||||
}
|
||||
else if (msg.Name == "user_data_not_found")
|
||||
{
|
||||
Console.WriteLine("--access denied.");
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
}
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
};
|
||||
|
||||
Console.WriteLine("--contacting multi-user domain...");
|
||||
|
@ -508,12 +510,13 @@ namespace ShiftOS.WinForms
|
|||
Console.WriteLine("--access denied.");
|
||||
}
|
||||
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
}
|
||||
else if (msg.Name == "user_data_not_found")
|
||||
{
|
||||
Console.WriteLine("--access denied.");
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
}
|
||||
ServerManager.MessageReceived -= msgReceived;
|
||||
};
|
||||
|
||||
Console.WriteLine("--contacting multi-user domain...");
|
||||
|
|
|
@ -70,8 +70,10 @@ namespace ShiftOS.WinForms
|
|||
NotificationDaemon.NotificationRead += () =>
|
||||
{
|
||||
//Soon this will pop a balloon note.
|
||||
btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")";
|
||||
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")";
|
||||
}));
|
||||
};
|
||||
|
||||
this.LocationChanged += (o, a) =>
|
||||
|
|
Loading…
Add table
Reference in a new issue