Skip to content

Commit

Permalink
unknow to unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Aug 18, 2017
1 parent 9aba360 commit dc358dd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/exploits/psnuffle/smb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def detect_ntlm_ver(lmhash, ntlmhash)
return "NTLMv1"
end
else
raise RuntimeError, "Unknow hash type"
raise RuntimeError, "Unknown hash type"
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/rex/proto/ntlm/crypt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def self.is_hash_from_empty_pwd?(arg)
end
calculatedhash = self.ntlm2_session(argntlm,optntlm).join[24,24]
else
raise ArgumentError,"ntlm_ver is of unknow type"
raise ArgumentError,"ntlm_ver is of unknown type"
end
hash == calculatedhash
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rex/proto/ntlm/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def self.make_ntlmv2_clientchallenge(win_domain, win_name, dns_domain, dns_name,
# Microsoft network server : Server SPN target name validation level is set to <Required from client>
# otherwise it send an STATUS_ACCESS_DENIED packet
if spnopt[:use_spn]
spn= Rex::Text.to_unicode("cifs/#{spnopt[:name] || 'unknow'}")
spn= Rex::Text.to_unicode("cifs/#{spnopt[:name] || 'unknown'}")
addr_list << [9, spn.length].pack('vv') + spn
end

Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/server/http_ntlmrelay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def get_hash_info(type3_hash)
elsif nt_len == 0
print_status("Empty hash from #{host} captured, ignoring ... ")
else
print_status("Unknow hash type from #{host}, ignoring ...")
print_status("Unknown hash type from #{host}, ignoring ...")
end

arg[:host] = host
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/spoof/arp/arp_poisoning.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def arp_poisoning

# Build the local src hosts cache
if datastore['BIDIRECTIONAL']
print_status("Building the source hosts cache for unknow source hosts...")
print_status("Building the source hosts cache for unknown source hosts...")
@shosts.each do |shost|
if @dsthosts_cache.has_key? shost
vprint_status("Adding #{shost} from destination cache")
Expand Down

0 comments on commit dc358dd

Please sign in to comment.