From 34ef650b0d30dccd6fda8b1462461109b989fb87 Mon Sep 17 00:00:00 2001 From: mr_me Date: Thu, 7 Dec 2017 17:03:39 -0600 Subject: [PATCH] fixed up msftidy, opps. --- .../windows/scada/advantech_webaccess_webvrpcs_bof.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/exploits/windows/scada/advantech_webaccess_webvrpcs_bof.rb b/modules/exploits/windows/scada/advantech_webaccess_webvrpcs_bof.rb index 0d3499603c..38d3701a6e 100644 --- a/modules/exploits/windows/scada/advantech_webaccess_webvrpcs_bof.rb +++ b/modules/exploits/windows/scada/advantech_webaccess_webvrpcs_bof.rb @@ -3,8 +3,6 @@ # Current source: https://github.com/rapid7/metasploit-framework ## -require 'msf/core' - class MetasploitModule < Msf::Exploit::Remote Rank = ExcellentRanking @@ -50,7 +48,7 @@ class MetasploitModule < Msf::Exploit::Remote ], 'DisclosureDate' => 'Dec 25 2017', 'DefaultTarget' => 0)) - register_options([ Opt::RPORT(4592)], self.class) + register_options([ Opt::RPORT(4592)]) end def create_rop_chain()