From 1f5695de076bfbc0d312312a4066dd8edba8a50e Mon Sep 17 00:00:00 2001 From: William Vu Date: Tue, 5 Mar 2019 21:02:39 -0600 Subject: [PATCH] Fix TrailingCommaInArrayLiteral in my modules --- modules/auxiliary/scanner/printer/printer_env_vars.rb | 2 +- modules/auxiliary/scanner/printer/printer_list_volumes.rb | 2 +- modules/exploits/linux/telnet/netgear_telnetenable.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/auxiliary/scanner/printer/printer_env_vars.rb b/modules/auxiliary/scanner/printer/printer_env_vars.rb index c17e29348f..257dbe5dd1 100644 --- a/modules/auxiliary/scanner/printer/printer_env_vars.rb +++ b/modules/auxiliary/scanner/printer/printer_env_vars.rb @@ -31,7 +31,7 @@ class MetasploitModule < Msf::Auxiliary )) register_options([ - Opt::RPORT(Rex::Proto::PJL::DEFAULT_PORT), + Opt::RPORT(Rex::Proto::PJL::DEFAULT_PORT) ]) end diff --git a/modules/auxiliary/scanner/printer/printer_list_volumes.rb b/modules/auxiliary/scanner/printer/printer_list_volumes.rb index 405d3e18fd..458ef0e5ca 100644 --- a/modules/auxiliary/scanner/printer/printer_list_volumes.rb +++ b/modules/auxiliary/scanner/printer/printer_list_volumes.rb @@ -31,7 +31,7 @@ class MetasploitModule < Msf::Auxiliary )) register_options([ - Opt::RPORT(Rex::Proto::PJL::DEFAULT_PORT), + Opt::RPORT(Rex::Proto::PJL::DEFAULT_PORT) ]) end diff --git a/modules/exploits/linux/telnet/netgear_telnetenable.rb b/modules/exploits/linux/telnet/netgear_telnetenable.rb index 620e5404dd..2a558305df 100644 --- a/modules/exploits/linux/telnet/netgear_telnetenable.rb +++ b/modules/exploits/linux/telnet/netgear_telnetenable.rb @@ -21,7 +21,7 @@ class MetasploitModule < Msf::Exploit::Remote 'Author' => [ 'Paul Gebheim', # Python PoC (TCP) 'insanid', # Python PoC (UDP) - 'wvu', # Metasploit module + 'wvu' # Metasploit module ], 'References' => [ ['URL', 'https://wiki.openwrt.org/toh/netgear/telnet.console'],