Skip to content

Commit c5dad68

Browse files
authored
Remove comma after the last item of a hash
1 parent 292c177 commit c5dad68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def initialize(info = {})
4949
{
5050
'Platform' => ['unix', 'linux'],
5151
'Arch' => ARCH_CMD,
52-
'Type' => :unix_cmd,
52+
'Type' => :unix_cmd
5353
# Tested with cmd/unix/reverse_bash
5454
}
5555
],
@@ -60,7 +60,7 @@ def initialize(info = {})
6060
'Arch' => [ARCH_X86, ARCH_X64, ARCH_AARCH64, ARCH_ARMLE],
6161
'Type' => :linux_dropper,
6262
'Linemax' => 16384,
63-
'CmdStagerFlavor' => ['curl', 'wget', 'echo', 'printf', 'bourne'],
63+
'CmdStagerFlavor' => ['curl', 'wget', 'echo', 'printf', 'bourne']
6464
# Tested with linux/x64/meterpreter_reverse_tcp
6565
}
6666
],
@@ -69,7 +69,7 @@ def initialize(info = {})
6969
{
7070
'Platform' => ['Windows'],
7171
'Arch' => ARCH_CMD,
72-
'Type' => :win_cmd,
72+
'Type' => :win_cmd
7373
# Tested with cmd/windows/http/x64/meterpreter/reverse_tcp
7474
}
7575
],

0 commit comments

Comments
 (0)