Clear report_data on each host report

bug/bundler_fix
Tod Beardsley 2013-09-18 17:11:22 -05:00
parent 8fe9132159
commit f4e2e0ac11
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ module Rex
end end
# Reset the state once we close a host # Reset the state once we close a host
@state.delete_if {|k| k != :current_tag} @state.delete_if {|k| k != :current_tag}
@report_data = {:wspace => args[:wspace]}
when "Port" when "Port"
@state[:has_text] = false @state[:has_text] = false
collect_port collect_port