mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-09-11 17:08:02 +02:00
Fixing order clause
MSP-12011 * This was resulting in PGSyntaxError
This commit is contained in:
parent
7d1090baca
commit
9e6fd1879e
@ -1563,7 +1563,7 @@ class Plugin::Wmap < Msf::Plugin
|
||||
wtree = Tree.new(s.vhost)
|
||||
|
||||
# Load site pages
|
||||
s.web_pages.order(path: :asc).each do |req|
|
||||
s.web_pages.order('path asc').each do |req|
|
||||
tarray = req.path.to_s.split(pathchr)
|
||||
tarray.delete("")
|
||||
tpath = Pathname.new(pathchr)
|
||||
|
Loading…
Reference in New Issue
Block a user