diff --git a/modules/auxiliary/client/modbusclient.rb b/modules/auxiliary/client/modbusclient.rb index 1c4d152c1d..bdb6ffa0de 100644 --- a/modules/auxiliary/client/modbusclient.rb +++ b/modules/auxiliary/client/modbusclient.rb @@ -1,3 +1,10 @@ +## +# This file is part of the Metasploit Framework and may be subject to +# redistribution and commercial restrictions. Please see the Metasploit +# Framework web site for more information on licensing and terms of use. +# http://metasploit.com/framework/ +## + ## MODBUS/TCP client (simple). ## Modbus is a cleartext protocol used in common SCADA systems, developed ## originally as a serial-line (RS232) async protocol, and later transformed @@ -17,6 +24,7 @@ # tcp=TCP(dport=509) # send(ip/tcp/sploit) ## + require 'msf/core' class Metasploit3 < Msf::Auxiliary include Msf::Exploit::Remote::Tcp diff --git a/modules/auxiliary/scanner/modbusdetect.rb b/modules/auxiliary/scanner/modbusdetect.rb index 7efbf68235..c354918c69 100644 --- a/modules/auxiliary/scanner/modbusdetect.rb +++ b/modules/auxiliary/scanner/modbusdetect.rb @@ -1,3 +1,10 @@ +## +# This file is part of the Metasploit Framework and may be subject to +# redistribution and commercial restrictions. Please see the Metasploit +# Framework web site for more information on licensing and terms of use. +# http://metasploit.com/framework/ +## + ## MODBUS/TCP scanner/detector ## Modbus is a cleartext protocol used in common SCADA systems, developed ## originally as a serial-line (RS232) async protocol, and later transformed @@ -10,6 +17,7 @@ ## return with at least the same transaction-id, and protocol-id ## ## + require 'msf/core' class Metasploit3 < Msf::Auxiliary include Msf::Exploit::Remote::Tcp