How to Copy/Paste/Upload in an Exercise Environment¶
Virginia Cyber Range virtual machines allow instructors and students to copy/paste text into an environment and upload files. The copy/paste functionality exists in all environments except the Ubuntu 12 based environments, such as Introduction to Forensics. The file upload feature can be accessed through the side-panel accessible within your exercise if it has been enabled for your exercise.
To open the side-panel within your exercise environment, press Ctrl+Alt+Shift (or Ctrl-Option-Shift on macOS). You will then be able to see your Clipboard, a button with your “devices”, and other keyboard/mouse options below. A screenshot of this view is shown below.
Copy & Pasting In and Out of Exercises¶
You can copy text from inside your exercise environment and paste it on your own computer as you normally would. However, if you wish to copy text from your computer and paste it into your environment, you must use the clipboard within the side-panel. Simply copy your text from your computer, then paste it within the clipboard area. It will then be “copied” within your environment and you can paste it like normal.
You can upload files by accessing the side-panel within your environment. Please press Ctrl+Alt+Shift to open the panel. You will then need to click on Devices, navigate to a directory where you have permission to upload a file, and then click on Upload Files. Once you have selected a file to upload, you may then close the window by pressing Ctrl+Alt+Shift. The example below shows a file being uploaded to the Desktop directory.
Note: If you are unable to see the Devices section, file upload is not supported on that virtual machine. Only Linux virtual machines currently have the capability to support file upload. All Linux catalog items we've published with "2020" or newer in the name should support file transfer. We hope and aim to ensure file transfer support is available on all VMs we build from now on.
Uploads are done using the default user account (typically student). This means the upload will fail if you try to write a file to a directory the user is not allowed to write to. Uploads should go to a safe directory, such as under /tmp or /home/student.
It should be noted that this feature is NOT recommended to be used for students to upload "large" files. While there are no hard limits in place, you'll be constrained by the students upload speeds. If you need to get a large file onto the system, consider getting the files from within the VM itself. The VM can download at speeds far greater than virtually all students can upload.
If you have any questions or expereicne issues related to the copy/paste and file upload features, please reach out to the Virginia Cyber Range Support Team. We would be happy to assist you.