From 7eebc671baa71e6b75ebe7591e4b0dac5635fd30 Mon Sep 17 00:00:00 2001 From: James Lee Date: Sat, 16 Jun 2012 01:17:33 -0600 Subject: [PATCH] Put the curly braces back and drop a comma The curly braces make extra commas at the end ok in 1.8. So fe39642e broke this module for 1.8. Having braces doesn't hurt anything and protects against syntax errors if a module author is not dilligent with their commas, especially after copy-pasting another module. --- modules/exploits/linux/ssh/f5_bigip_known_privkey.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/exploits/linux/ssh/f5_bigip_known_privkey.rb b/modules/exploits/linux/ssh/f5_bigip_known_privkey.rb index 33b172f509..4b33b58dde 100644 --- a/modules/exploits/linux/ssh/f5_bigip_known_privkey.rb +++ b/modules/exploits/linux/ssh/f5_bigip_known_privkey.rb @@ -14,7 +14,7 @@ class Metasploit3 < Msf::Exploit::Remote include Msf::Auxiliary::Report def initialize(info = {}) - super(update_info(info, + super(update_info(info, { 'Name' => 'F5 BIG-IP SSH Private Key Exposure', 'Version' => '$Revision$', 'Description' => %q{ @@ -44,8 +44,8 @@ class Metasploit3 < Msf::Exploit::Remote ], 'DisclosureDate' => "Jun 11 2012", 'DefaultOptions' => { 'PAYLOAD' => 'cmd/unix/interact' }, - 'DefaultTarget' => 0, - )) + 'DefaultTarget' => 0 + })) register_options( [