Fixes #2450 by allowing any length extension

git-svn-id: file:///home/svn/framework3/trunk@10411 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-09-21 02:59:22 +00:00
parent 048b21e3b9
commit d89004753c
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Metasploit3 < Msf::Exploit::Remote
return
end
if (request.uri =~ /\.(...?)$/i)
if (request.uri =~ /\.[a-z0-9]+$/i)
print_status("#{cli.peerhost}:#{cli.peerport} GET => DATA (#{request.uri})")
data = "HELLO!"
send_response(cli, data, { 'Content-Type' => 'application/octet-stream' })