Skip to content

Commit ec63f8f

Browse files
committed
Land rapid7#7113, check fix for drupal_restws_exec
2 parents 5b7fc0c + 32f1c83 commit ec63f8f

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/echo #{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)