[Bro-Dev] [Bro-Commits] [git/bro] master: Removed a few more discovered UTF-8 characters in Bro scripts. (cd18d9620)

Johanna Amann johanna at icir.org
Sat Jun 2 09:49:54 PDT 2018


Hum. Would it make sense to introduce a test that checks all 
script-files for non-ascii-characters?

I can so see that happening again...

Johanna

On 2 Jun 2018, at 1:57, Seth Hall wrote:

> Repository : ssh://git@bro-ids.icir.org/bro
> On branch  : master
> Link       : 
> https://github.com/bro/bro/commit/cd18d96205851aa9b81bcb8f0c6960768b457f72
>
>> ---------------------------------------------------------------
>
> commit cd18d96205851aa9b81bcb8f0c6960768b457f72
> Author: Seth Hall <seth at corelight.com>
> Date:   Sat Jun 2 04:57:48 2018 -0400
>
>     Removed a few more discovered UTF-8 characters in Bro scripts.
>
>
>> ---------------------------------------------------------------
>
> cd18d96205851aa9b81bcb8f0c6960768b457f72
>  scripts/base/protocols/smb/const-nt-status.bro | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/scripts/base/protocols/smb/const-nt-status.bro 
> b/scripts/base/protocols/smb/const-nt-status.bro
> index ea7c7fe9e..f985e72a3 100644
> --- a/scripts/base/protocols/smb/const-nt-status.bro
> +++ b/scripts/base/protocols/smb/const-nt-status.bro
> @@ -494,7 +494,7 @@ redef SMB::statuses += {
>  	[0xC0000131] = [$id="INVALID_IMAGE_WIN_16", $desc="The specified 
> image file did not have the correct format: it appears to be a 16-bit 
> Windows image."],
>  	[0xC0000132] = [$id="LOGON_SERVER_CONFLICT", $desc="The Netlogon 
> service cannot start because another Netlogon service running in the 
> domain conflicts with the specified role."],
>  	[0xC0000133] = [$id="TIME_DIFFERENCE_AT_DC", $desc="The time at the 
> primary domain controller is different from the time at the backup 
> domain controller or member server by too large an amount."],
> -	[0xC0000134] = [$id="SYNCHRONIZATION_REQUIRED", $desc="The SAM 
> database on a Windows Server is significantly out of synchronization 
> with the copy on the domain controller. A complete synchronization is 
> required."],
> +	[0xC0000134] = [$id="SYNCHRONIZATION_REQUIRED", $desc="The SAM 
> database on a Windows Server is significantly out of synchronization 
> with the copy on the domain controller. A complete synchronization is 
> required."],
>  	[0xC0000135] = [$id="DLL_NOT_FOUND", $desc="{Unable To Locate 
> Component} This application has failed to start because %hs was not 
> found. Reinstalling the application may fix this problem."],
>  	[0xC0000136] = [$id="OPEN_FAILED", $desc="The NtCreateFile API 
> failed. This error should never be returned to an application; it is a 
> place holder for the Windows LAN Manager Redirector to use in its 
> internal error-mapping routines."],
>  	[0xC0000137] = [$id="IO_PRIVILEGE_FAILED", $desc="{Privilege Failed} 
> The I/O permissions for the process could not be changed."],
> @@ -536,7 +536,7 @@ redef SMB::statuses += {
>  	[0xC000015B] = [$id="LOGON_TYPE_NOT_GRANTED", $desc="A user has 
> requested a type of logon (for example, interactive or network) that 
> has not been granted. An administrator has control over who may logon 
> interactively and through the network."],
>  	[0xC000015C] = [$id="NOT_REGISTRY_FILE", $desc="The system has 
> attempted to load or restore a file into the registry, and the 
> specified file is not in the format of a registry file."],
>  	[0xC000015D] = [$id="NT_CROSS_ENCRYPTION_REQUIRED", $desc="An 
> attempt was made to change a user password in the security account 
> manager without providing the necessary Windows cross-encrypted 
> password."],
> -	[0xC000015E] = [$id="DOMAIN_CTRLR_CONFIG_ERROR", $desc="A 
> Windows Server has an incorrect configuration."],
> +	[0xC000015E] = [$id="DOMAIN_CTRLR_CONFIG_ERROR", $desc="A Windows 
> Server has an incorrect configuration."],
>  	[0xC000015F] = [$id="FT_MISSING_MEMBER", $desc="An attempt was made 
> to explicitly access the secondary copy of information via a device 
> control to the fault tolerance driver and the secondary copy is not 
> present in the system."],
>  	[0xC0000160] = [$id="ILL_FORMED_SERVICE_ENTRY", $desc="A 
> configuration registry node that represents a driver service entry was 
> ill-formed and did not contain the required value entries."],
>  	[0xC0000161] = [$id="ILLEGAL_CHARACTER", $desc="An illegal character 
> was encountered. For a multibyte character set, this includes a lead 
> byte without a succeeding trail byte. For the Unicode character set 
> this includes the characters 0xFFFF and 0xFFFE."],
> @@ -577,7 +577,7 @@ redef SMB::statuses += {
>  	[0xC0000188] = [$id="LOG_FILE_FULL", $desc="The log file space is 
> insufficient to support this operation."],
>  	[0xC0000189] = [$id="TOO_LATE", $desc="A write operation was 
> attempted to a volume after it was dismounted."],
>  	[0xC000018A] = [$id="NO_TRUST_LSA_SECRET", $desc="The workstation 
> does not have a trust secret for the primary domain in the local LSA 
> database."],
> -	[0xC000018B] = [$id="NO_TRUST_SAM_ACCOUNT", $desc="The SAM database 
> on the Windows Server does not have a computer account for this 
> workstation trust relationship."],
> +	[0xC000018B] = [$id="NO_TRUST_SAM_ACCOUNT", $desc="The SAM database 
> on the Windows Server does not have a computer account for this 
> workstation trust relationship."],
>  	[0xC000018C] = [$id="TRUSTED_DOMAIN_FAILURE", $desc="The logon 
> request failed because the trust relationship between the primary 
> domain and the trusted domain failed."],
>  	[0xC000018D] = [$id="TRUSTED_RELATIONSHIP_FAILURE", $desc="The logon 
> request failed because the trust relationship between this workstation 
> and the primary domain failed."],
>  	[0xC000018E] = [$id="EVENTLOG_FILE_CORRUPT", $desc="The Eventlog log 
> file is corrupt."],
> @@ -833,7 +833,7 @@ redef SMB::statuses += {
>  	[0xC00002FD] = [$id="KDC_UNKNOWN_ETYPE", $desc="The encryption type 
> requested is not supported by the KDC."],
>  	[0xC00002FE] = [$id="SHUTDOWN_IN_PROGRESS", $desc="A system shutdown 
> is in progress."],
>  	[0xC00002FF] = [$id="SERVER_SHUTDOWN_IN_PROGRESS", $desc="The server 
> machine is shutting down."],
> -	[0xC0000300] = [$id="NOT_SUPPORTED_ON_SBS", $desc="This operation is 
> not supported on a computer running Windows Server 2003 for Small 
> Business Server."],
> +	[0xC0000300] = [$id="NOT_SUPPORTED_ON_SBS", $desc="This operation is 
> not supported on a computer running Windows Server 2003 for Small 
> Business Server."],
>  	[0xC0000301] = [$id="WMI_GUID_DISCONNECTED", $desc="The WMI GUID is 
> no longer available."],
>  	[0xC0000302] = [$id="WMI_ALREADY_DISABLED", $desc="Collection or 
> events for the WMI GUID is already disabled."],
>  	[0xC0000303] = [$id="WMI_ALREADY_ENABLED", $desc="Collection or 
> events for the WMI GUID is already enabled."],
>
>
>
> _______________________________________________
> bro-commits mailing list
> bro-commits at bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-commits


More information about the bro-dev mailing list