resource file to run a post module against all sessions

This commit is contained in:
Rob Fuller 2011-12-10 15:30:46 -05:00
parent 1ae12e3a23
commit b605f6affa
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<ruby>
framework.sessions.each_key do |session|
run_single("set SESSION #{session}")
print_status("Running #{active_module.fullname} against session #{session}")
run_single("run")
sleep 1
end
</ruby>