From c8aa885e5a58e4c7892c27c5ebcfdd7312576204 Mon Sep 17 00:00:00 2001 From: Jonathan Cran Date: Fri, 13 Aug 2010 20:02:34 +0000 Subject: [PATCH] wtf copy/paste fail :/ git-svn-id: file:///home/svn/framework3/trunk@10009 4d416f70-5f16-0410-b530-b9f4589650da --- plugins/lab.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/lab.rb b/plugins/lab.rb index cd7cab2da9..983301c802 100644 --- a/plugins/lab.rb +++ b/plugins/lab.rb @@ -89,6 +89,7 @@ class Plugin::Lab < Msf::Plugin if args[0] labdef = YAML::load_file(args[0]) + @controller = LabController.new(labdef) @target_map = {} hlp_print_lab else @@ -99,8 +100,6 @@ class Plugin::Lab < Msf::Plugin end def cmd_lab_load_dir(*args) - - if args[0] x = @controller.build_lab_from_files(args[0]) @target_map = {}