private void VulnCompleted(Vulnerability vuln, VulnerabilityEventArgs e) { switch (VulnType) { case FirewallVulnerabilityType.Disabled: Message = "Firewall has been disabled"; break; case FirewallVulnerabilityType.Enabled: Message = "Firewall has been enabled"; break; case FirewallVulnerabilityType.PortAllowed: Message = "Port " + TargetPort + " has been allowed through the firewall"; break; case FirewallVulnerabilityType.PortBlocked: Message = "Port " + TargetPort + " has been blocked from passing through the firewall"; break; case FirewallVulnerabilityType.ApplicationException: Message = ApplicationName + " has been allowed to pass through the firewall"; break; case FirewallVulnerabilityType.NoApplicationException: Message = ApplicationName + " has been removed from passing through the firewall"; break; } }
private void VulnCompleted(Vulnerability sender, VulnerabilityEventArgs e) { switch (VulnType) { case AccountVulnType.PasswordForever: Message = UserName + " has an indefinite password age"; break; case AccountVulnType.DisableReversableEncryption: Message = UserName + "'s account no longer allows reversible encryption"; break; case AccountVulnType.PasswordExpires: Message = UserName + " no longer has an indefinite password age"; break; case AccountVulnType.ForceExpirePassword: Message = UserName + "'s password has expired"; break; case AccountVulnType.PasswordChangeable: Message = UserName + "'s password is now changeable"; break; case AccountVulnType.PasswordImmutable: Message = UserName + "'s password is no longer changeable"; break; } }
private void VulnComplete(Vulnerability v, VulnerabilityEventArgs e) { switch (VulnType) { case PasswordVulnerabilityType.DomainAutoPasswordChange: Message = "The domain is configured to automatically change the machine password once a week"; break; case PasswordVulnerabilityType.DomainPlaintextExchange: Message = "The domain no longer sends passwords in plaintext"; break; case PasswordVulnerabilityType.MaximumPasswordAge: Message = "The maximum password age requirement has been reduced to " + TargetValue + " days or lower"; break; case PasswordVulnerabilityType.MinimumPasswordAge: Message = "The minimum password age requirement has been increased to " + TargetValue + " days or higher"; break; case PasswordVulnerabilityType.MinimumPasswordLength: Message = "The minimum password length requirement has been increased to " + TargetValue + " characters or longer"; break; case PasswordVulnerabilityType.NetLockoutBuiltinAdmin: Message = "The domain now correctly locks out the built in administrator from network loginss"; break; case PasswordVulnerabilityType.NoAnonymousPasswordChange: Message = "The domain no longer allows password changes without loggin in"; break; case PasswordVulnerabilityType.NoDomainPlaintextPasswords: Message = "The domain controller is no longer allowed to store plaintext passwords"; break; case PasswordVulnerabilityType.PasswordComplexity: Message = "Passwords are now required to be adequately complex"; break; case PasswordVulnerabilityType.PasswordHistoryLength: Message = "The amount of passwords remembered is now correctly set to " + TargetValue + " or above"; break; } }
private void VulnComplete(Vulnerability sender, VulnerabilityEventArgs e) { switch (VulnType) { case AccountVulnType.Add: Message = UserName + " was added to the users list"; break; case AccountVulnType.Remove: Message = UserName + " was removed from the users list"; break; case AccountVulnType.Promote: Message = UserName + " was promoted to the correct authority level"; break; case AccountVulnType.Demote: Message = UserName + " was demoted to the correct authority level"; break; case AccountVulnType.Enable: Message = UserName + " has been enabled"; break; case AccountVulnType.Disable: Message = UserName + " has been disabled"; break; case AccountVulnType.Unlock: Message = UserName + " has been unlocked"; break; case AccountVulnType.AddGroup: Message = UserName + " has been added to " + GroupName; break; case AccountVulnType.RemoveGroup: Message = UserName + " has been removed from " + GroupName; break; } }
private void VulnFailed(Vulnerability sender, VulnerabilityEventArgs e) { Message = "User " + UserName + " was destroyed!"; }
private void VulnComplete(Vulnerability sender, VulnerabilityEventArgs e) { Message = "File " + FileName + " was removed."; }
private void FailedMessage(Vulnerability sender, VulnerabilityEventArgs e) { Message = "A registry value has been destroyed beyond repair!"; }
private void CompleteMessage(Vulnerability sender, VulnerabilityEventArgs e) { Message = "Registry key " + Key.Name + " is correctly set to " + TargetValue.ToString(); }
private void VulnCompleted(Vulnerability sender, VulnerabilityEventArgs e) { Message = "Answered forensics question correctly"; }
private void VulnComplete(Vulnerability vuln, VulnerabilityEventArgs e) { Message = "File " + UppercaseFirst(Path.GetFileNameWithoutExtension(FilePath)) + " was updated to the required version"; }
private void VulnDestroyed(Vulnerability sender, VulnerabilityEventArgs e) { Message = UserName + " was destroyed beyond repair"; }