Changed puts to print_line.

unstable
Stephen Haywood 2011-12-18 20:03:49 -05:00
parent a35564c723
commit 18635387d5
1 changed files with 15 additions and 15 deletions

View File

@ -263,9 +263,9 @@ class Plugin::OpenVAS < Msf::Plugin
id += 1 id += 1
end end
print_good("OpenVAS list of targets") print_good("OpenVAS list of targets")
puts print_line
puts tbl.to_s print_line tbl.to_s
puts print_line
rescue OpenVASOMP::OMPError => e rescue OpenVASOMP::OMPError => e
print_error(e.to_s) print_error(e.to_s)
end end
@ -328,9 +328,9 @@ class Plugin::OpenVAS < Msf::Plugin
id += 1 id += 1
end end
print_good("OpenVAS list of tasks") print_good("OpenVAS list of tasks")
puts print_line
puts tbl.to_s print_line tbl.to_s
puts print_line
rescue OpenVASOMP::OMPError => e rescue OpenVASOMP::OMPError => e
print_error(e.to_s) print_error(e.to_s)
end end
@ -427,9 +427,9 @@ class Plugin::OpenVAS < Msf::Plugin
id += 1 id += 1
end end
print_good("OpenVAS list of configs") print_good("OpenVAS list of configs")
puts print_line
puts tbl.to_s print_line tbl.to_s
puts print_line
rescue OpenVASOMP::OMPError => e rescue OpenVASOMP::OMPError => e
print_error(e.to_s) print_error(e.to_s)
end end
@ -450,9 +450,9 @@ class Plugin::OpenVAS < Msf::Plugin
id += 1 id += 1
end end
print_good("OpenVAS list of report formats") print_good("OpenVAS list of report formats")
puts print_line
puts tbl.to_s print_line tbl.to_s
puts print_line
rescue OpenVASOMP::OMPError => e rescue OpenVASOMP::OMPError => e
print_error(e.to_s) print_error(e.to_s)
end end
@ -473,9 +473,9 @@ class Plugin::OpenVAS < Msf::Plugin
id += 1 id += 1
end end
print_good("OpenVAS list of reports") print_good("OpenVAS list of reports")
puts print_line
puts tbl.to_s print_line tbl.to_s
puts print_line
rescue OpenVASOMP::OMPError => e rescue OpenVASOMP::OMPError => e
print_error(e.to_s) print_error(e.to_s)
end end