File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
modules/auxiliary/admin/kerberos Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def validate_options
142
142
def run
143
143
validate_options
144
144
145
- send ( "action_#{ action . name . downcase } " )
145
+ result = send ( "action_#{ action . name . downcase } " )
146
146
147
147
report_service (
148
148
host : rhost ,
@@ -151,6 +151,8 @@ def run
151
151
name : 'kerberos' ,
152
152
info : "Module: #{ fullname } , KDC for domain #{ @realm } "
153
153
)
154
+
155
+ result
154
156
rescue ::Rex ::ConnectionError => e
155
157
elog ( 'Connection error' , error : e )
156
158
fail_with ( Failure ::Unreachable , e . message )
@@ -276,6 +278,7 @@ def action_get_hash
276
278
print_good ( "Found NTLM hash for #{ @username } : #{ ntlm_hash } " )
277
279
278
280
report_ntlm ( ntlm_hash )
281
+ ntlm_hash
279
282
end
280
283
281
284
def report_ntlm ( hash )
You can’t perform that action at this time.
0 commit comments