diff --git a/lib/msf/kerberos/client.rb b/lib/msf/kerberos/client.rb index 3fc74bb9e9..fe6ba1a0e7 100644 --- a/lib/msf/kerberos/client.rb +++ b/lib/msf/kerberos/client.rb @@ -111,6 +111,8 @@ module Msf # # @param opts [Hash] # @return [Rex::Proto::Kerberos::Model::KdcResponse] + # @see Msf::Kerberos::Client::AsRequest#build_as_request + # @see Rex::Proto::Kerberos::Model::KdcResponse def send_request_as(opts = {}) connect(opts) req = build_as_request(opts) @@ -123,6 +125,8 @@ module Msf # # @param opts [Hash] # @return [Rex::Proto::Kerberos::Model::KdcResponse] + # @see Msf::Kerberos::Client::TgsRequest#build_tgs_request + # @see Rex::Proto::Kerberos::Model::KdcResponse def send_request_tgs(opts = {}) connect(opts) req = build_tgs_request(opts) diff --git a/lib/rex/proto/kerberos/client.rb b/lib/rex/proto/kerberos/client.rb index ff0f6546a9..603c5b0fac 100644 --- a/lib/rex/proto/kerberos/client.rb +++ b/lib/rex/proto/kerberos/client.rb @@ -168,7 +168,6 @@ module Rex raise ::RuntimeError, 'Kerberos Client: failed to read response' end - puts Rex::Text.to_hex(data) res = decode_kerb_response(data) res diff --git a/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb b/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb index c5800ed737..e7b63b8d5f 100644 --- a/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb +++ b/modules/auxiliary/admin/kerberos/ms14_068_kerberos_checksum.rb @@ -109,12 +109,8 @@ class Metasploit4 < Msf::Auxiliary client_name: datastore['USER'], server_name: "krbtgt/#{datastore['DOMAIN']}", realm: datastore['DOMAIN'], - key: password_digest, - logon_time: logon_time, session_key: session_key, ticket: ticket, - group_ids: groups, - domain_id: datastore['DOMAIN_SID'], auth_data: auth_data, pa_data: pre_auth ) @@ -128,8 +124,6 @@ class Metasploit4 < Msf::Auxiliary cache = extract_kerb_creds(res, 'AAAABBBBCCCCDDDD') - pp cache - f = File.new('/tmp/cache.ticket', 'wb') f.write(cache.encode) f.close