From 7f27fd0cf2c4ccbd9612e39a85c4fdcece4935ff Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 4 Jun 2015 09:35:58 -0500 Subject: [PATCH] adjust for user name size changes --- lib/metasploit/framework/ntds/account.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/metasploit/framework/ntds/account.rb b/lib/metasploit/framework/ntds/account.rb index f5f5a6e2d9..d47a6507cc 100644 --- a/lib/metasploit/framework/ntds/account.rb +++ b/lib/metasploit/framework/ntds/account.rb @@ -6,7 +6,7 @@ module Metasploit class Account # Size of an NTDS Account Struct on the Wire - ACCOUNT_SIZE = 2908 + ACCOUNT_SIZE = 3016 # Size of a Date or Time Format String on the Wire DATE_TIME_STRING_SIZE = 30 # Size of the AccountDescription Field @@ -16,7 +16,7 @@ module Metasploit # Size of a Hash String HASH_SIZE = 33 # Size of the samAccountName field - NAME_SIZE = 20 + NAME_SIZE = 128 #@return [String] The AD Account Description attr_accessor :description