Fix attributes

bug/bundler_fix
Stuart Morgan 2015-12-17 21:38:42 +00:00
parent 59d5626ef7
commit e17a7a5d8c
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ class Metasploit3 < Msf::Post
# Translate the trustAttributes parameter
# https://msdn.microsoft.com/en-us/library/cc223779.aspx
def translate_trust_attributes(val)
def translate_trust_attributes(val_original)
val = val_original.to_i
result = []
result << 'Non Transitive' if val & 0x00000001
result << 'Uplevel Only' if val & 0x00000002