From cd24ad1bdfd043c17d186d7bcdb5cd146bd1d717 Mon Sep 17 00:00:00 2001 From: h00die Date: Fri, 27 Aug 2021 19:53:45 -0400 Subject: [PATCH] lint --- .../multi/http/moodle_spellcheck_cmd_exec.rb | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/modules/exploits/multi/http/moodle_spellcheck_cmd_exec.rb b/modules/exploits/multi/http/moodle_spellcheck_cmd_exec.rb index 4f9667da11..5bdd94675b 100644 --- a/modules/exploits/multi/http/moodle_spellcheck_cmd_exec.rb +++ b/modules/exploits/multi/http/moodle_spellcheck_cmd_exec.rb @@ -24,21 +24,18 @@ class MetasploitModule < Msf::Exploit::Remote This module was tested against Moodle version 3.10.0. }, 'License' => MSF_LICENSE, - 'Author' => - [ - 'Adam Reiser', # Discovery - 'h00die' # msf module - ], - 'References' => - [ - ['CVE', '2021-21809'], - ['URL', 'https://talosintelligence.com/vulnerability_reports/TALOS-2021-1277'] - ], - 'Payload' => - { - 'BadChars' => "'", - 'Default' => 'payload/php/meterpreter/reverse_tcp' - }, + 'Author' => [ + 'Adam Reiser', # Discovery + 'h00die' # msf module + ], + 'References' => [ + ['CVE', '2021-21809'], + ['URL', 'https://talosintelligence.com/vulnerability_reports/TALOS-2021-1277'] + ], + 'Payload' => { + 'BadChars' => "'", + 'Default' => 'payload/php/meterpreter/reverse_tcp' + }, 'Platform' => 'php', 'Arch' => ARCH_PHP, 'Targets' => [['Automatic', {}]],