Skip to content

Commit 1b6acd7

Browse files
committed
Land rapid7#8817, fixing @jhart-r7's ruby 2.2 blunder
2 parents dd79aa3 + 1b6b29c commit 1b6acd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/rdp/rdp_scanner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def rdp?
4242
sock.put(@probe)
4343
response = sock.get_once(-1)
4444
if response
45-
if RDP_RE.match?(response)
45+
if RDP_RE.match(response)
4646
# XXX: it might be helpful to decode the response and show what was selected.
4747
print_good("Identified RDP")
4848
return true

0 commit comments

Comments
 (0)