Skip to content

Commit 7f27fd0

Browse files
author
Brent Cook
committed
adjust for user name size changes
1 parent bb56f60 commit 7f27fd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/metasploit/framework/ntds/account.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module NTDS
66
class Account
77

88
# Size of an NTDS Account Struct on the Wire
9-
ACCOUNT_SIZE = 2908
9+
ACCOUNT_SIZE = 3016
1010
# Size of a Date or Time Format String on the Wire
1111
DATE_TIME_STRING_SIZE = 30
1212
# Size of the AccountDescription Field
@@ -16,7 +16,7 @@ class Account
1616
# Size of a Hash String
1717
HASH_SIZE = 33
1818
# Size of the samAccountName field
19-
NAME_SIZE = 20
19+
NAME_SIZE = 128
2020

2121
#@return [String] The AD Account Description
2222
attr_accessor :description

0 commit comments

Comments
 (0)