File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
modules/auxiliary/scanner/ssl Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -351,13 +351,13 @@ def getkeys()
351
351
print_error ( 'TLS callbacks currently unsupported for keydumping action' ) #TODO
352
352
return
353
353
end
354
-
354
+
355
355
print_status ( "#{ peer } - Scanning for private keys" )
356
356
count = 0
357
357
358
358
print_status ( "#{ peer } - Getting public key constants..." )
359
359
n , e = get_ne
360
-
360
+
361
361
if n . nil? || e . nil?
362
362
print_error ( "#{ peer } - Failed to get public key, aborting." )
363
363
end
@@ -373,8 +373,8 @@ def getkeys()
373
373
end
374
374
375
375
p , q = get_factors ( bleed , n ) # Try to find factors in mem
376
-
377
- unless p . nil? || q . nil?
376
+
377
+ unless p . nil? || q . nil?
378
378
key = key_from_pqe ( p , q , e )
379
379
print_good ( "#{ peer } - #{ Time . now . getutc } - Got the private key" )
380
380
@@ -393,7 +393,7 @@ def getkeys()
393
393
count += 1
394
394
}
395
395
print_error ( "#{ peer } - Private key not found. You can try to increase MAX_KEYTRIES." )
396
- end
396
+ end
397
397
398
398
def heartbeat ( length )
399
399
payload = "\x01 " # Heartbeat Message Type: Request (1)
You can’t perform that action at this time.
0 commit comments