Fix regular expression

This commit is contained in:
HD Moore
2011-12-10 08:17:11 -06:00
parent e3f121929c
commit a9db05e53b
+1 -1
View File
@@ -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'