Fix regular expression
This commit is contained in:
@@ -143,7 +143,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||
|
||||
# This is an application that uses PATH_INFO for parameters:
|
||||
# ex: /index.php/Main_Page/Article01
|
||||
if not form[:path] and page.url.path.to_s =~ /(.*\/[a-z09A-Z]{3,256}\.[a-z09A-Z]{2,8})(\/.*)/
|
||||
if not form[:path] and page.url.path.to_s =~ /(.*\/[a-z0-9A-Z]{3,256}\.[a-z0-9A-Z]{2,8})(\/.*)/
|
||||
path_base = $1
|
||||
path_info = $2
|
||||
form[:method] = 'PATH'
|
||||
|
||||
Reference in New Issue
Block a user