Commit Graph

40 Commits (94aea207d3389edf69ab07b02daf7f861b6edd74)

Author SHA1 Message Date
Jonathan Cran ef19406645 don't try to launch the gui w/ the workstation driver
git-svn-id: file:///home/svn/framework3/trunk@13010 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-23 04:27:09 +00:00
Jonathan Cran b04623616f typo, thanks kernelsmith
git-svn-id: file:///home/svn/framework3/trunk@12870 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-06 19:29:15 +00:00
Jonathan Cran 6ebf4781bc handle a couple of error cases, improve the way commands run on multiple vms
git-svn-id: file:///home/svn/framework3/trunk@12856 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-05 06:57:24 +00:00
Jonathan Cran 65cdcd67cc switch the workstation driver's run_command to write a script on the vm, like remote_workstation
git-svn-id: file:///home/svn/framework3/trunk@12853 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-04 05:57:09 +00:00
Jonathan Cran b9fde0751f "wrap exceptions"
git-svn-id: file:///home/svn/framework3/trunk@12852 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-04 03:34:37 +00:00
Jonathan Cran edece92f91 handle blank usernames / passwords
git-svn-id: file:///home/svn/framework3/trunk@12851 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-04 03:11:49 +00:00
Jonathan Cran f86c3d8c0b fixup the extra space pointed out by kernelsmith. should really fixup #4613.
git-svn-id: file:///home/svn/framework3/trunk@12817 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-02 19:28:39 +00:00
Jonathan Cran e78d43691d fixup the output, better autonaming of vms when build_from_running or build_from_dir is used
git-svn-id: file:///home/svn/framework3/trunk@12781 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-31 15:51:22 +00:00
Jonathan Cran 283e83bc5e fixes #4612 and a few other issues w/ lab commands
git-svn-id: file:///home/svn/framework3/trunk@12771 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-30 19:11:13 +00:00
Jonathan Cran 609ae839a1 remove debug line
git-svn-id: file:///home/svn/framework3/trunk@12729 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-26 02:31:28 +00:00
Jonathan Cran 971a77277e wrap the rest of the commands in quotes
git-svn-id: file:///home/svn/framework3/trunk@12713 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-25 07:30:22 +00:00
Jonathan Cran c979f3a43d fixup a few bugs w/ copying files
git-svn-id: file:///home/svn/framework3/trunk@12712 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-25 06:26:26 +00:00
Jonathan Cran 563acc280b lots of fun changes to the lab plugin. added a basic TODO / README, added run_command support to remote_workstation, added support for dynagen (though it needs more testing), added a vixr controller and driver but the lack of snapshots is a little sad. see the README for more info on how to use it
git-svn-id: file:///home/svn/framework3/trunk@12700 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-24 15:56:32 +00:00
Jonathan Cran d45b2aaa20 bugfix & cleanup of the vm loading and a speedup / bugfix for the regex lib
git-svn-id: file:///home/svn/framework3/trunk@12032 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-20 02:33:39 +00:00
Jonathan Cran bbbb86d571 patch by Hauke of the Fidus Project to fixup my bugs in the virtualbox controller :) -- thanks!
git-svn-id: file:///home/svn/framework3/trunk@11775 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-18 17:03:19 +00:00
Jonathan Cran 38e7beda4f minor typo
git-svn-id: file:///home/svn/framework3/trunk@11755 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-16 02:20:12 +00:00
Jonathan Cran 5172768cb9 Merging in VirtualBox control functionality from Hauke / Fidius Project
git-svn-id: file:///home/svn/framework3/trunk@11753 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-16 02:15:24 +00:00
Jonathan Cran f8d03ea257 make the _snapshot / running_list methods a little more sane
git-svn-id: file:///home/svn/framework3/trunk@11742 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-11 15:04:33 +00:00
Jonathan Cran 224bd1c6a2 make vm type available
git-svn-id: file:///home/svn/framework3/trunk@11738 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-10 10:56:36 +00:00
Jonathan Cran 81f659f8b1 ugh, replace this with vixr soon.
git-svn-id: file:///home/svn/framework3/trunk@11722 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-08 07:37:06 +00:00
Jonathan Cran 3c86009e54 updates to do basic input filtering, and stubbing out a few other controllers
git-svn-id: file:///home/svn/framework3/trunk@11721 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-08 07:26:18 +00:00
Jonathan Cran 02e11ec338 allow usage: $ controller["machine1].start
git-svn-id: file:///home/svn/framework3/trunk@11718 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-07 23:42:20 +00:00
Jonathan Cran 670b28c65b updates for the lab plugin
git-svn-id: file:///home/svn/framework3/trunk@11715 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-04 21:29:24 +00:00
Jonathan Cran 7a606033ea somewhat less breaky. -- need to apply todb's patches yet, and make sure this is working with the lab plugin
git-svn-id: file:///home/svn/framework3/trunk@11711 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-04 09:17:11 +00:00
Jonathan Cran 19d9185ca3 updated for remote workstation control
git-svn-id: file:///home/svn/framework3/trunk@11647 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-26 07:33:59 +00:00
Jonathan Cran d8fddbfcd4 missing file
git-svn-id: file:///home/svn/framework3/trunk@11603 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-19 21:23:29 +00:00
Jonathan Cran 4384618950 add workstation-over-ssh control into the lab vm-control plugin
git-svn-id: file:///home/svn/framework3/trunk@11584 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-17 05:58:16 +00:00
Jonathan Cran f164059d60 backend changes for lab functionality. architecture now allows storage of more info about VMs, and Labs made up of different-technology vms (ie, 1 vmware, 1 vbox, 1 amazon). drivers still need to be written
git-svn-id: file:///home/svn/framework3/trunk@11433 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-28 19:47:33 +00:00
Jonathan Cran 8ffe70c2a8 include the local path so you can just require lab_controller in irb
git-svn-id: file:///home/svn/framework3/trunk@10630 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-10 02:22:50 +00:00
Jonathan Cran c76f88245d Cleaned up the gidance on the labs, and fixed the lab.rb require
git-svn-id: file:///home/svn/framework3/trunk@10629 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-10 02:18:41 +00:00
Jonathan Cran 04ee50d10c fixed bug w/ revert
git-svn-id: file:///home/svn/framework3/trunk@10224 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-02 20:34:31 +00:00
Jonathan Cran 8741179e8a bugfix for the revert command
git-svn-id: file:///home/svn/framework3/trunk@10129 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-24 19:29:43 +00:00
Jonathan Cran c1a2f51487 tagging id / rev
git-svn-id: file:///home/svn/framework3/trunk@10004 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 16:54:40 +00:00
Jonathan Cran e81fd4a5fe updated lab controller
git-svn-id: file:///home/svn/framework3/trunk@9941 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-29 03:50:31 +00:00
Jonathan Cran 5fd9b689e7 updated lab backend
git-svn-id: file:///home/svn/framework3/trunk@9931 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-26 15:24:05 +00:00
Jonathan Cran d363efd883 slight changes to the vmware controller
git-svn-id: file:///home/svn/framework3/trunk@9850 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-16 22:19:38 +00:00
Jonathan Cran e5d6214bf5 refactored lab libraries - now with more object orientation.
git-svn-id: file:///home/svn/framework3/trunk@9793 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-12 15:00:45 +00:00
Jonathan Cran 978c0f30e3 updated get_vmx to handle the structure passed by the control shells. For instance: @lab['metasploitable'] = {"vmx" => "msf_lab/user/Metasploitable/Metasploitable.vmx", "user" => "user", "pass" => "user", "os" => "linux" }
git-svn-id: file:///home/svn/framework3/trunk@9737 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-08 19:13:20 +00:00
Jonathan Cran 2d0e49ca6f adding in tod's patch (http://www.0x0e.org/x/msf/vmware_lab_diff.tod.20100707) - adds neat functionality like being able to create a lab on the fly or from a set of files on disk.
git-svn-id: file:///home/svn/framework3/trunk@9730 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-07 22:56:26 +00:00
Jonathan Cran 2786427113 adding initial version of the lab controller - note that this will be updated to use vixr soon
git-svn-id: file:///home/svn/framework3/trunk@9687 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-06 18:18:06 +00:00