Skip to content

Commit 8b2ff06

Browse files
author
Tod Beardsley
committed
Land rapid7#3568, @jhart-r7 regex fix for dir traversal
2 parents ddf0636 + bd1970c commit 8b2ff06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/http_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def initialize(info = {})
5959
OptString.new('PATH', [true, 'Vulnerable path. Ex: /foo/index.php?pg=', '/']),
6060
OptString.new('DATA', [false,'HTTP body data', '']),
6161
OptInt.new('DEPTH', [true, 'Traversal depth', 5]),
62-
OptRegexp.new('PATTERN', [true, 'Regexp pattern to determine directory traversal', '^HTTP/1.1 200 OK']),
62+
OptRegexp.new('PATTERN', [true, 'Regexp pattern to determine directory traversal', '^HTTP/\\d\\.\\d 200']),
6363
OptPath.new(
6464
'FILELIST',
6565
[

0 commit comments

Comments
 (0)