Fix bug #6714, thanks Scott

This commit is contained in:
sinn3r 2012-04-19 10:22:31 -05:00
parent 8edf3fc8bd
commit 37f4e7b3b9
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ class Plugin::Wmap < Msf::Plugin
#print_status "aaa"
#print_status framework.db.workspace.name
serv.web_sites.where('vhost = ? and service_id = ?', vhost, serv.id)
sites = serv.web_sites.where('vhost = ? and service_id = ?', vhost, serv.id)
sites.each do |site|
# Initial defaul path