From e386855e0ef99c8fa4efab45a0887578723321fb Mon Sep 17 00:00:00 2001 From: Arnaud SOULLIE Date: Tue, 29 Apr 2014 16:55:05 +0200 Subject: [PATCH] Add ACTIONS descriptions --- modules/auxiliary/scanner/scada/modbusclient.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/auxiliary/scanner/scada/modbusclient.rb b/modules/auxiliary/scanner/scada/modbusclient.rb index c2620e4a37..cc630539df 100644 --- a/modules/auxiliary/scanner/scada/modbusclient.rb +++ b/modules/auxiliary/scanner/scada/modbusclient.rb @@ -23,10 +23,10 @@ class Metasploit3 < Msf::Auxiliary 'Arnaud SOULLIE ' # new code that allows read/write ], 'License' => MSF_LICENSE, - 'Actions' => [AuxiliaryAction.new('READ_COIL', {}), - AuxiliaryAction.new('WRITE_COIL', {}), - AuxiliaryAction.new('READ_REGISTER', {}), - AuxiliaryAction.new('WRITE_REGISTER', {}) + 'Actions' => [AuxiliaryAction.new('READ_COIL', {'Description' => "Read one bit from a coil"}), + AuxiliaryAction.new('WRITE_COIL', {'Description' => "Write one bit to a coil"}), + AuxiliaryAction.new('READ_REGISTER', {'Description' => "Read one word from a register"}), + AuxiliaryAction.new('WRITE_REGISTER', {'Description' => "Write one word to a register"}) ] )) register_options(