Skip to content

Commit

Permalink
Fix incorrect scope condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpt-erikgeiser committed Sep 29, 2023
1 parent 8de942d commit 76b23cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/ui/console/command_dispatcher/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ def cmd_services(*args)
columns = [host.address] + col_names.map { |n| service[n].to_s || "" }
tbl << columns
if set_rhosts
addr = (host.scope ? host.address + '%' + host.scope : host.address )
addr = (host.scope != "" ? host.address + '%' + host.scope : host.address )
rhosts << addr
end
end
Expand Down

0 comments on commit 76b23cf

Please sign in to comment.