├── .gitignore ├── INFO.sh ├── LICENSE ├── README.md ├── SynoBuildConf ├── build ├── depends ├── install └── install-dev ├── config.sh ├── package ├── app │ ├── config │ └── images │ │ ├── Virtualbox_128.png │ │ ├── Virtualbox_16.png │ │ ├── Virtualbox_24.png │ │ ├── Virtualbox_256.png │ │ ├── Virtualbox_32.png │ │ ├── Virtualbox_48.png │ │ ├── Virtualbox_64.png │ │ ├── Virtualbox_72.png │ │ └── Virtualbox_96.png ├── etc │ ├── vbox │ │ ├── vbox.cfg │ │ └── vboxwolservice.ini │ ├── virtualbox.apache22.conf │ ├── virtualbox.conf │ ├── virtualbox.php.ini │ └── virtualbox.sc ├── ui │ ├── config │ ├── config.php.synology │ ├── images │ │ ├── Virtualbox_128.png │ │ ├── Virtualbox_16.png │ │ ├── Virtualbox_24.png │ │ ├── Virtualbox_256.png │ │ ├── Virtualbox_32.png │ │ ├── Virtualbox_48.png │ │ ├── Virtualbox_64.png │ │ ├── Virtualbox_72.png │ │ └── Virtualbox_96.png │ └── phpvirtualbox │ │ ├── .dockerignore │ │ ├── .gitignore │ │ ├── CHANGELOG.txt │ │ ├── Dockerfile │ │ ├── GPLv3.txt │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── config.php-example │ │ ├── css │ │ ├── jquery-ui.css │ │ ├── jquery.projectPlugins.css │ │ ├── layout.css │ │ └── tipped.css │ │ ├── docker-compose.yml │ │ ├── endpoints │ │ ├── api.php │ │ ├── config.js │ │ ├── index.html │ │ ├── jqueryFileTree.php │ │ ├── language.php │ │ ├── lib │ │ │ ├── auth │ │ │ │ ├── ActiveDirectory.php │ │ │ │ ├── Builtin.php │ │ │ │ ├── LDAP.php │ │ │ │ ├── OpenMediaVault.php │ │ │ │ ├── WebAuth.php │ │ │ │ └── index.html │ │ │ ├── authinterface.php │ │ │ ├── config.php │ │ │ ├── index.html │ │ │ ├── language.php │ │ │ ├── utils.php │ │ │ ├── vboxServiceWrappers.php │ │ │ ├── vboxconnector.php │ │ │ ├── vboxweb-5.0.wsdl │ │ │ └── vboxwebService-5.0.wsdl │ │ ├── rdp.php │ │ └── screen.php │ │ ├── images │ │ ├── 30white.png │ │ ├── 50px-Question_icon.svg.png │ │ ├── 50px-Warning_icon.svg.png │ │ ├── arrow_grad_dn.png │ │ ├── arrow_grad_left.png │ │ ├── arrow_grad_right.png │ │ ├── arrow_grad_up.png │ │ ├── arrow_white_dn.png │ │ ├── arrow_white_left.png │ │ ├── arrow_white_right.png │ │ ├── arrow_white_up.png │ │ ├── donate.gif │ │ ├── downArrow.png │ │ ├── header_grad.png │ │ ├── jquery-ui │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ ├── ui-icons_454545_256x240.png │ │ │ ├── ui-icons_888888_256x240.png │ │ │ └── ui-icons_cd0a0a_256x240.png │ │ ├── jqueryFileTree │ │ │ ├── directory.png │ │ │ ├── file.png │ │ │ ├── folder_open.png │ │ │ └── spinner.gif │ │ ├── monitor_bl.png │ │ ├── monitor_bottom.png │ │ ├── monitor_br.png │ │ ├── monitor_glossy.png │ │ ├── monitor_left.png │ │ ├── monitor_right.png │ │ ├── monitor_tl.png │ │ ├── monitor_top.png │ │ ├── monitor_tr.png │ │ ├── rightArrow.png │ │ ├── spinner.gif │ │ ├── treeview-default-line.gif │ │ ├── treeview-default.gif │ │ ├── upArrow.png │ │ ├── vbox │ │ │ ├── OSE │ │ │ │ ├── VirtualBox.icns │ │ │ │ ├── VirtualBox_16px.png │ │ │ │ ├── VirtualBox_20px.png │ │ │ │ ├── VirtualBox_32px.png │ │ │ │ ├── VirtualBox_40px.png │ │ │ │ ├── VirtualBox_48px.png │ │ │ │ ├── VirtualBox_64px.png │ │ │ │ ├── VirtualBox_cube_42px.png │ │ │ │ ├── VirtualBox_win.ico │ │ │ │ ├── about.png │ │ │ │ └── about_16px.png │ │ │ ├── acpi_16px.png │ │ │ ├── acpi_disabled_16px.png │ │ │ ├── add_host_iface_16px.png │ │ │ ├── add_host_iface_disabled_16px.png │ │ │ ├── arrow_down_10px.png │ │ │ ├── arrow_left_10px.png │ │ │ ├── arrow_right_10px.png │ │ │ ├── arrow_up_10px.png │ │ │ ├── attachment_16px.png │ │ │ ├── attachment_add_16px.png │ │ │ ├── attachment_add_disabled_16px.png │ │ │ ├── attachment_disabled_16px.png │ │ │ ├── attachment_remove_16px.png │ │ │ ├── attachment_remove_disabled_16px.png │ │ │ ├── bgnd_sel_2.jpg │ │ │ ├── blank.gif │ │ │ ├── cd_16px.png │ │ │ ├── cd_32px.png │ │ │ ├── cd_add_16px.png │ │ │ ├── cd_add_disabled_16px.png │ │ │ ├── cd_disabled_16px.png │ │ │ ├── cd_disabled_32px.png │ │ │ ├── cd_unmount_16px.png │ │ │ ├── cd_unmount_dis_16px.png │ │ │ ├── cd_unmount_disabled_16px.png │ │ │ ├── chipset_16px.png │ │ │ ├── chipset_disabled_16px.png │ │ │ ├── close_16px.png │ │ │ ├── controller_add_16px.png │ │ │ ├── controller_add_disabled_16px.png │ │ │ ├── controller_remove_16px.png │ │ │ ├── controller_remove_disabled_16px.png │ │ │ ├── cpu_16px.png │ │ │ ├── description_16px.png │ │ │ ├── description_disabled_16px.png │ │ │ ├── description_edit_16px.png │ │ │ ├── description_edit_disabled_16px.png │ │ │ ├── discard_cur_state_16px.png │ │ │ ├── discard_cur_state_22px.png │ │ │ ├── discard_cur_state_dis_16px.png │ │ │ ├── discard_cur_state_dis_22px.png │ │ │ ├── discard_cur_state_snapshot_16px.png │ │ │ ├── discard_cur_state_snapshot_22px.png │ │ │ ├── discard_cur_state_snapshot_dis_16px.png │ │ │ ├── discard_cur_state_snapshot_dis_22px.png │ │ │ ├── diskimage_16px.png │ │ │ ├── exit_16px.png │ │ │ ├── expanding_collapsing_16px.png │ │ │ ├── export_16px.png │ │ │ ├── fd_16px.png │ │ │ ├── fd_32px.png │ │ │ ├── fd_add_16px.png │ │ │ ├── fd_add_disabled_16px.png │ │ │ ├── fd_disabled_16px.png │ │ │ ├── fd_disabled_32px.png │ │ │ ├── fd_unmount_16px.png │ │ │ ├── fd_unmount_dis_16px.png │ │ │ ├── floppy_16px.png │ │ │ ├── floppy_add_16px.png │ │ │ ├── floppy_add_disabled_16px.png │ │ │ ├── floppy_collapse_16px.png │ │ │ ├── floppy_expand_16px.png │ │ │ ├── fullscreen_16px.png │ │ │ ├── global_settings_16px.png │ │ │ ├── global_settings_disabled_16px.png │ │ │ ├── group_abstract_16px.png │ │ │ ├── guesttools_16px.png │ │ │ ├── guesttools_disabled_16px.png │ │ │ ├── hd_16px.png │ │ │ ├── hd_32px.png │ │ │ ├── hd_add_16px.png │ │ │ ├── hd_add_22px.png │ │ │ ├── hd_add_disabled_16px.png │ │ │ ├── hd_add_disabled_22px.png │ │ │ ├── hd_disabled_16px.png │ │ │ ├── hd_disabled_32px.png │ │ │ ├── hd_new_16px.png │ │ │ ├── hd_new_22px.png │ │ │ ├── hd_new_disabled_16px.png │ │ │ ├── hd_new_disabled_22px.png │ │ │ ├── hd_release_16px.png │ │ │ ├── hd_release_22px.png │ │ │ ├── hd_release_disabled_16px.png │ │ │ ├── hd_release_disabled_22px.png │ │ │ ├── hd_remove_16px.png │ │ │ ├── hd_remove_22px.png │ │ │ ├── hd_remove_disabled_16px.png │ │ │ ├── hd_remove_disabled_22px.png │ │ │ ├── help_16px.png │ │ │ ├── ide_16px.png │ │ │ ├── ide_add_16px.png │ │ │ ├── ide_add_disabled_16px.png │ │ │ ├── ide_collapse_16px.png │ │ │ ├── ide_expand_16px.png │ │ │ ├── import_16px.png │ │ │ ├── list_movedown_16px.png │ │ │ ├── list_movedown_disabled_16px.png │ │ │ ├── list_moveup_16px.png │ │ │ ├── list_moveup_disabled_16px.png │ │ │ ├── machine_16px.png │ │ │ ├── machine_32px.png │ │ │ ├── machine_abstract_16px.png │ │ │ ├── machine_disabled_16px.png │ │ │ ├── machine_disabled_32px.png │ │ │ ├── menuArrow.gif │ │ │ ├── menuArrow_w.gif │ │ │ ├── name_16px.png │ │ │ ├── node.gif │ │ │ ├── nw_16px.png │ │ │ ├── nw_32px.png │ │ │ ├── nw_disabled_16px.png │ │ │ ├── nw_disabled_32px.png │ │ │ ├── os_archlinux.png │ │ │ ├── os_archlinux_64.png │ │ │ ├── os_debian.png │ │ │ ├── os_debian_64.png │ │ │ ├── os_dos.png │ │ │ ├── os_fedora.png │ │ │ ├── os_fedora_64.png │ │ │ ├── os_freebsd.png │ │ │ ├── os_freebsd_64.png │ │ │ ├── os_gentoo.png │ │ │ ├── os_gentoo_64.png │ │ │ ├── os_jrockitve.png │ │ │ ├── os_l4.png │ │ │ ├── os_linux.png │ │ │ ├── os_linux22.png │ │ │ ├── os_linux24.png │ │ │ ├── os_linux24_64.png │ │ │ ├── os_linux26.png │ │ │ ├── os_linux26_64.png │ │ │ ├── os_linux_other.png │ │ │ ├── os_macosx.png │ │ │ ├── os_macosx_64.png │ │ │ ├── os_mandriva.png │ │ │ ├── os_mandriva_64.png │ │ │ ├── os_netbsd.png │ │ │ ├── os_netbsd_64.png │ │ │ ├── os_netware.png │ │ │ ├── os_openbsd.png │ │ │ ├── os_openbsd_64.png │ │ │ ├── os_opensuse.png │ │ │ ├── os_opensuse_64.png │ │ │ ├── os_oracle.png │ │ │ ├── os_oracle_64.png │ │ │ ├── os_oraclesolaris.png │ │ │ ├── os_oraclesolaris_64.png │ │ │ ├── os_os2_other.png │ │ │ ├── os_os2ecs.png │ │ │ ├── os_os2warp3.png │ │ │ ├── os_os2warp4.png │ │ │ ├── os_os2warp45.png │ │ │ ├── os_other.png │ │ │ ├── os_other_64.png │ │ │ ├── os_qnx.png │ │ │ ├── os_redhat.png │ │ │ ├── os_redhat_64.png │ │ │ ├── os_solaris.png │ │ │ ├── os_solaris_64.png │ │ │ ├── os_turbolinux.png │ │ │ ├── os_turbolinux_64.png │ │ │ ├── os_type_16px.png │ │ │ ├── os_ubuntu.png │ │ │ ├── os_ubuntu_64.png │ │ │ ├── os_virtualbox.png │ │ │ ├── os_win10.png │ │ │ ├── os_win10_64.png │ │ │ ├── os_win2k.png │ │ │ ├── os_win2k12_64.png │ │ │ ├── os_win2k3.png │ │ │ ├── os_win2k3_64.png │ │ │ ├── os_win2k8.png │ │ │ ├── os_win2k8_64.png │ │ │ ├── os_win31.png │ │ │ ├── os_win7.png │ │ │ ├── os_win7_64.png │ │ │ ├── os_win8.png │ │ │ ├── os_win81.png │ │ │ ├── os_win81_64.png │ │ │ ├── os_win8_64.png │ │ │ ├── os_win95.png │ │ │ ├── os_win98.png │ │ │ ├── os_win_other.png │ │ │ ├── os_winme.png │ │ │ ├── os_winnt4.png │ │ │ ├── os_winvista.png │ │ │ ├── os_winvista_64.png │ │ │ ├── os_winxp.png │ │ │ ├── os_winxp_64.png │ │ │ ├── os_xandros.png │ │ │ ├── os_xandros_64.png │ │ │ ├── parallel_port_16px.png │ │ │ ├── preview_empty_228x168px.png │ │ │ ├── preview_full_228x168px.png │ │ │ ├── progress_clone_90px.png │ │ │ ├── progress_delete_90px.png │ │ │ ├── progress_export_90px.png │ │ │ ├── progress_import_90px.png │ │ │ ├── progress_install_guest_additions_90px.png │ │ │ ├── progress_media_create_90px.png │ │ │ ├── progress_media_delete_90px.png │ │ │ ├── progress_poweroff_90px.png │ │ │ ├── progress_snapshot_create_90px.png │ │ │ ├── progress_snapshot_discard_90px.png │ │ │ ├── progress_snapshot_restore_90px.png │ │ │ ├── progress_start_90px.png │ │ │ ├── progress_state_restore_90px.png │ │ │ ├── progress_state_save_90px.png │ │ │ ├── ram_16px.png │ │ │ ├── refresh_16px.png │ │ │ ├── refresh_22px.png │ │ │ ├── refresh_32px.png │ │ │ ├── refresh_disabled_16px.png │ │ │ ├── refresh_disabled_22px.png │ │ │ ├── refresh_disabled_32px.png │ │ │ ├── register_16px.png │ │ │ ├── remove_host_iface_16px.png │ │ │ ├── remove_host_iface_disabled_16px.png │ │ │ ├── sata_16px.png │ │ │ ├── sata_add_16px.png │ │ │ ├── sata_add_disabled_16px.png │ │ │ ├── sata_collapse_16px.png │ │ │ ├── sata_expand_16px.png │ │ │ ├── scsi_16px.png │ │ │ ├── scsi_add_16px.png │ │ │ ├── scsi_add_disabled_16px.png │ │ │ ├── scsi_collapse_16px.png │ │ │ ├── scsi_expand_16px.png │ │ │ ├── select_file_16px.png │ │ │ ├── select_file_disabled_16px.png │ │ │ ├── serial_port_16px.png │ │ │ ├── serial_port_disabled_16px.png │ │ │ ├── sf_16px.png │ │ │ ├── sf_add_16px.png │ │ │ ├── sf_add_disabled_16px.png │ │ │ ├── sf_disabled_16px.png │ │ │ ├── sf_edit_16px.png │ │ │ ├── sf_edit_disabled_16px.png │ │ │ ├── sf_remove_16px.png │ │ │ ├── sf_remove_disabled_16px.png │ │ │ ├── sf_settings_16px.png │ │ │ ├── sf_settings_disabled_16px.png │ │ │ ├── site_16px.png │ │ │ ├── site_32px.png │ │ │ ├── snapshot_delete_16px.png │ │ │ ├── snapshot_delete_22px.png │ │ │ ├── snapshot_delete_disabled_16px.png │ │ │ ├── snapshot_delete_disabled_22px.png │ │ │ ├── snapshot_offline_16px.png │ │ │ ├── snapshot_online_16px.png │ │ │ ├── snapshot_restore_16px.png │ │ │ ├── snapshot_restore_22px.png │ │ │ ├── snapshot_restore_disabled_16px.png │ │ │ ├── snapshot_restore_disabled_22px.png │ │ │ ├── snapshot_show_details_16px.png │ │ │ ├── snapshot_show_details_22px.png │ │ │ ├── snapshot_show_details_disabled_16px.png │ │ │ ├── snapshot_show_details_disabled_22px.png │ │ │ ├── snapshot_take_16px.png │ │ │ ├── snapshot_take_22px.png │ │ │ ├── snapshot_take_disabled_16px.png │ │ │ ├── snapshot_take_disabled_22px.png │ │ │ ├── sort_16px.png │ │ │ ├── sort_disabled_16px.png │ │ │ ├── sound_16px.png │ │ │ ├── sound_disabled_16px.png │ │ │ ├── state_aborted_16px.png │ │ │ ├── state_discarding_16px.png │ │ │ ├── state_paused_16px.png │ │ │ ├── state_powered_off_16px.png │ │ │ ├── state_restoring_16px.png │ │ │ ├── state_running_16px.png │ │ │ ├── state_saved_16px.png │ │ │ ├── state_saving_16px.png │ │ │ ├── state_stuck_16px.png │ │ │ ├── status_check_16px.png │ │ │ ├── status_error_16px.png │ │ │ ├── usb_16px.png │ │ │ ├── usb_add_16px.png │ │ │ ├── usb_add_disabled_16px.png │ │ │ ├── usb_collapse_16px.png │ │ │ ├── usb_disabled_16px.png │ │ │ ├── usb_expand_16px.png │ │ │ ├── usb_filter_edit_16px.png │ │ │ ├── usb_filter_edit_disabled_16px.png │ │ │ ├── usb_movedown_16px.png │ │ │ ├── usb_movedown_disabled_16px.png │ │ │ ├── usb_moveup_16px.png │ │ │ ├── usb_moveup_disabled_16px.png │ │ │ ├── usb_new_16px.png │ │ │ ├── usb_new_disabled_16px.png │ │ │ ├── usb_remove_16px.png │ │ │ ├── usb_remove_disabled_16px.png │ │ │ ├── usb_unavailable_16px.png │ │ │ ├── usb_unavailable_disabled_16px.png │ │ │ ├── vdm_add_16px.png │ │ │ ├── vdm_add_22px.png │ │ │ ├── vdm_add_disabled_16px.png │ │ │ ├── vdm_add_disabled_22px.png │ │ │ ├── vdm_new_16px.png │ │ │ ├── vdm_new_22px.png │ │ │ ├── vdm_new_disabled_16px.png │ │ │ ├── vdm_new_disabled_22px.png │ │ │ ├── vdm_release_16px.png │ │ │ ├── vdm_release_22px.png │ │ │ ├── vdm_release_disabled_16px.png │ │ │ ├── vdm_release_disabled_22px.png │ │ │ ├── vdm_remove_16px.png │ │ │ ├── vdm_remove_22px.png │ │ │ ├── vdm_remove_disabled_16px.png │ │ │ ├── vdm_remove_disabled_22px.png │ │ │ ├── video_capture_16px.png │ │ │ ├── video_capture_disabled_16px.png │ │ │ ├── video_capture_on_16px.png │ │ │ ├── video_capture_on_disabled_16px.png │ │ │ ├── video_capture_settings_16px.png │ │ │ ├── virtualbox-hdd.png │ │ │ ├── virtualbox-ova.png │ │ │ ├── virtualbox-ovf.png │ │ │ ├── virtualbox-vbox.png │ │ │ ├── virtualbox-vdi.png │ │ │ ├── virtualbox-vhd.png │ │ │ ├── virtualbox-vmdk.png │ │ │ ├── vm_add_16px.png │ │ │ ├── vm_clone_16px.png │ │ │ ├── vm_clone_22px.png │ │ │ ├── vm_clone_disabled_16px.png │ │ │ ├── vm_clone_disabled_22px.png │ │ │ ├── vm_delete_16px.png │ │ │ ├── vm_delete_disabled_16px.png │ │ │ ├── vm_discard_16px.png │ │ │ ├── vm_discard_32px.png │ │ │ ├── vm_discard_disabled_16px.png │ │ │ ├── vm_discard_disabled_32px.png │ │ │ ├── vm_group_create_16px.png │ │ │ ├── vm_group_create_disabled_16px.png │ │ │ ├── vm_group_name_16px.png │ │ │ ├── vm_group_name_disabled_16px.png │ │ │ ├── vm_group_remove_16px.png │ │ │ ├── vm_group_remove_disabled_16px.png │ │ │ ├── vm_new_16px.png │ │ │ ├── vm_new_32px.png │ │ │ ├── vm_new_disabled_32px.png │ │ │ ├── vm_open_filemanager_16px.png │ │ │ ├── vm_open_filemanager_disabled_16px.png │ │ │ ├── vm_pause_16px.png │ │ │ ├── vm_pause_disabled_16px.png │ │ │ ├── vm_pause_on_16px.png │ │ │ ├── vm_pause_on_disabled_16px.png │ │ │ ├── vm_poweroff_16px.png │ │ │ ├── vm_poweroff_32px.png │ │ │ ├── vm_poweroff_disabled_16px.png │ │ │ ├── vm_poweroff_disabled_32px.png │ │ │ ├── vm_reset_16px.png │ │ │ ├── vm_reset_disabled_16px.png │ │ │ ├── vm_save_state_16px.png │ │ │ ├── vm_save_state_disabled_16px.png │ │ │ ├── vm_settings_16px.png │ │ │ ├── vm_settings_32px.png │ │ │ ├── vm_settings_disabled_16px.png │ │ │ ├── vm_settings_disabled_32px.png │ │ │ ├── vm_show_logs_16px.png │ │ │ ├── vm_show_logs_disabled_16px.png │ │ │ ├── vm_shutdown_16px.png │ │ │ ├── vm_shutdown_disabled_16px.png │ │ │ ├── vm_start_16px.png │ │ │ ├── vm_start_32px.png │ │ │ ├── vm_start_disabled_16px.png │ │ │ ├── vm_start_disabled_32px.png │ │ │ ├── vmw_clone_bg.png │ │ │ ├── vmw_first_run_bg.png │ │ │ ├── vmw_new_harddisk_bg.png │ │ │ ├── vmw_new_welcome_bg.png │ │ │ ├── vmw_ovf_export_bg.png │ │ │ ├── vmw_ovf_import_bg.png │ │ │ ├── vrdp_16px.png │ │ │ ├── vrdp_32px.png │ │ │ ├── vrdp_disabled_16px.png │ │ │ ├── vrdp_disabled_32px.png │ │ │ ├── vrdp_on_16px.png │ │ │ ├── vrdp_on_disabled_16px.png │ │ │ ├── vtx_amdv_16px.png │ │ │ ├── vtx_amdv_disabled_16px.png │ │ │ └── welcome.png │ │ └── wizard_bg.png │ │ ├── index.html │ │ ├── js │ │ ├── canvasimages.js │ │ ├── chooser.js │ │ ├── datamediator.js │ │ ├── dialogs.js │ │ ├── eventlistener.js │ │ ├── jquery-1.11.2.min.js │ │ ├── jquery-ui-1.11.4.min.js │ │ ├── jquery.jec-1.3.1.js │ │ ├── jquery.projectPlugins.js │ │ ├── jquery.scrollTo-min.js │ │ ├── jquery.tipped-2.1b.min.js │ │ ├── phpvirtualbox.js │ │ └── utils.js │ │ ├── languages │ │ ├── de.xml │ │ ├── en.xml │ │ ├── es.xml │ │ ├── fr.xml │ │ ├── it.xml │ │ ├── ja.xml │ │ ├── languages.txt │ │ ├── nl.xml │ │ ├── pl.xml │ │ ├── pt_br.xml │ │ ├── ro.xml │ │ ├── ru.xml │ │ ├── source │ │ │ ├── de.dat │ │ │ ├── en.dat │ │ │ ├── es.dat │ │ │ ├── fr.dat │ │ │ ├── it.dat │ │ │ ├── ja.dat │ │ │ ├── nl.dat │ │ │ ├── parse_vbox_lang.php │ │ │ ├── pl.dat │ │ │ ├── pt_br.dat │ │ │ ├── ro.dat │ │ │ ├── ru.dat │ │ │ ├── zh_cn.dat │ │ │ └── zh_tw.dat │ │ ├── zh_cn.xml │ │ └── zh_tw.xml │ │ ├── panes │ │ ├── about.html │ │ ├── chooser.html │ │ ├── guestNetAdapters.html │ │ ├── login.html │ │ ├── mediumEncryptionPasswords.html │ │ ├── settingsAudio.html │ │ ├── settingsDisplay.html │ │ ├── settingsGeneral.html │ │ ├── settingsGlobalGeneral.html │ │ ├── settingsGlobalLanguage.html │ │ ├── settingsGlobalNetwork.html │ │ ├── settingsGlobalNetworkNATPortForwarding.html │ │ ├── settingsGlobalUsers.html │ │ ├── settingsNetwork.html │ │ ├── settingsParallelPorts.html │ │ ├── settingsPortForwarding.html │ │ ├── settingsSerialPorts.html │ │ ├── settingsSharedFolders.html │ │ ├── settingsStorage.html │ │ ├── settingsSystem.html │ │ ├── settingsUSB.html │ │ ├── tabVMConsole.html │ │ ├── tabVMConsoleRDP.html │ │ ├── tabVMConsoleVNC.html │ │ ├── tabVMDetails.html │ │ ├── tabVMSnapshots.html │ │ ├── tabs.html │ │ ├── toolbar.html │ │ ├── topmenu.html │ │ ├── userEdit.html │ │ ├── vmlogs.html │ │ ├── vmm.html │ │ ├── vmmISCSI.html │ │ ├── vmmModify.html │ │ ├── wizardCloneVM.html │ │ ├── wizardCloneVMAdvanced.html │ │ ├── wizardCopyHD.html │ │ ├── wizardCopyHDAdvanced.html │ │ ├── wizardExportAppliance.html │ │ ├── wizardExportApplianceAdvanced.html │ │ ├── wizardFirstRun.html │ │ ├── wizardImportAppliance.html │ │ ├── wizardImportApplianceAdvanced.html │ │ ├── wizardNewHD.html │ │ ├── wizardNewHDAdvanced.html │ │ ├── wizardNewVM.html │ │ └── wizardNewVMAdvanced.html │ │ ├── rdpweb │ │ ├── RDPClientUI.swf │ │ ├── license_3rd.txt │ │ ├── swfobject.js │ │ ├── webclient.js │ │ └── webclient3.html │ │ ├── recovery.php-disabled │ │ ├── tightvnc │ │ └── VncViewer.jar │ │ └── vboxinit └── www │ └── config.php.synology ├── spk ├── LICENSE ├── PACKAGE_ICON.PNG ├── PACKAGE_ICON_256.PNG ├── WIZARD_UIFILES │ ├── install_uifile.sh │ ├── install_uifile_enu.sh │ ├── upgrade_uifile.sh │ ├── upgrade_uifile.sh.sample │ └── upgrade_uifile_enu.sh ├── conf │ └── resource └── scripts │ ├── installer │ ├── postinst │ ├── postuninst │ ├── postupgrade │ ├── preinst │ ├── preuninst │ ├── preupgrade │ └── start-stop-status ├── unzip └── wget /.gitignore: -------------------------------------------------------------------------------- 1 | *.zip 2 | .config 3 | package/www/phpvirtualbox4dsm/ 4 | -------------------------------------------------------------------------------- /INFO.sh: -------------------------------------------------------------------------------- 1 | # INFO.sh 2 | [ -f /pkgscripts/include/pkg_util.sh ] && . /pkgscripts/include/pkg_util.sh 3 | [ -f /pkgscripts-ng/include/pkg_util.sh ] && . /pkgscripts-ng/include/pkg_util.sh 4 | 5 | package="phpvirtualbox4dsm" 6 | version="6.1-d1b69bb" 7 | displayname="phpVirtualBox" 8 | maintainer="seba" 9 | maintainer_url="http://github.com/seba76/" 10 | distributor="seba" 11 | description="A web interface to manage and access Virtualbox machines." 12 | report_url="https://github.com/seba76/phpvirtualbox4dsm/" 13 | support_url="https://github.com/seba76/phpvirtualbox4dsm/" 14 | install_dep_package="WebStation:PHP7.0" 15 | #install_dep_services="apache-web" 16 | #start_stop_restart_services="nginx" 17 | #instuninst_restart_services="nginx" 18 | thirdparty="true" 19 | #support_conf_folder="yes" 20 | #install_reboot="yes" 21 | reloadui="no" 22 | startable="no" 23 | #dsmuidir="ui" this one is for integrated ui 24 | #dsmappname="phpVirtualBox" 25 | adminprotocol="http" 26 | adminurl="/phpvirtualbox4dsm/" 27 | adminport="80" 28 | dsmuidir="app" 29 | arch="noarch" 30 | firmware="$1" 31 | [ "$(caller)" != "0 NULL" ] && return 0 32 | pkg_dump_info 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 seba 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Github All Releases](https://img.shields.io/github/downloads/seba76/phpvirtualbox4dsm/total.svg)](https://github.com/seba76/phpvirtualbox4dsm) 2 | [![Paypal](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://paypal.me/seba76/) 3 | ___ 4 | # phpvirtualbox4dsm 5 | This is PhpVirtualbox package for Synology DSM it contains phpvirtualbox code from [github](https://github.com/phpvirtualbox/phpvirtualbox). It can be used as standalone application but it is created for complementing [virtualbox4dsm](https://github.com/seba76/virtualbox4dsm/releases) package. 6 | 7 | # Installation 8 | 9 | Latest spk file can be found in [release](https://github.com/seba76/phpvirtualbox4dsm/releases). During installation you will be asked few questions. If all 10 | goes well you will have PhpVirtualBox running in WebStation install under http(s)://your_diskstation_address/phpvirtualbox4dsm/ 11 | 12 | ## Requirements 13 | - This package is platform independent. 14 | - You need to have PHP 7.0 and WebStation packages installed. 15 | - In PHP settings SOAP extension needs to be enabled. 16 | 17 | ## Contributing 18 | 19 | If you find this project useful you can mark it by leaving a Github *Star*.
20 | In case you have a problem installing open an issue with info about version of DSM and HW model you are using with erorr messages if any. 21 | -------------------------------------------------------------------------------- /SynoBuildConf/build: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | touch /logs/phpvirtualbox.build 4 | 5 | # if env MakeClean is set to yes clean 6 | case ${MakeClean} in 7 | [Yy][Ee][Ss]) 8 | ;; 9 | esac 10 | 11 | # url links and file names 12 | . ./build.config 13 | 14 | touch /logs/phpvirtualbox.build 15 | -------------------------------------------------------------------------------- /SynoBuildConf/depends: -------------------------------------------------------------------------------- 1 | # SynoBuildConf/depends 2 | 3 | [BuildDependent] 4 | # each line here is a dependent project 5 | 6 | [ReferenceOnly] 7 | # each line here is a project for reference only but no need to be built 8 | 9 | [5.2] 10 | all="5.2" 11 | 12 | [default] 13 | all="6.1" # build environment for other platforms should be DSM 5.2 14 | -------------------------------------------------------------------------------- /SynoBuildConf/install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | PKG_NAME="phpvirtualbox4dsm" 4 | INST_DIR="/tmp/_${PKG_NAME}" 5 | PKG_DIR="/tmp/_${PKG_NAME}_pkg" 6 | PKG_DEST="/image/packages" 7 | DATE=$(date +%Y%m%d) 8 | SRC=$(pwd) 9 | 10 | PrepareDirs() { 11 | for dir in $INST_DIR $PKG_DIR; do 12 | rm -rf "$dir" 13 | done 14 | for dir in $INST_DIR $PKG_DIR $PKG_DEST; do 15 | mkdir -p "$dir" 16 | done 17 | } 18 | 19 | Install() { 20 | cp -r package/* "${INST_DIR}/" 21 | 22 | # fix permissions 23 | chown root:root ${INST_DIR} -R 24 | } 25 | 26 | GenerateINFO() { 27 | ### Generate INFO file 28 | ./INFO.sh "${DSM_SHLIB_MAJOR}.${DSM_SHLIB_MINOR}-${DSM_BUILD_NUM}" "${DATE}" > spk/INFO 29 | #./INFO.sh > spk/INFO 30 | cp spk/INFO "${PKG_DIR}" 31 | cp spk/INFO INFO 32 | } 33 | 34 | InstallSynologyConfig(){ 35 | ### Copy licence 36 | cp -av spk/LICENSE "${PKG_DIR}" 37 | cp -r spk/scripts/ "${PKG_DIR}" 38 | cp spk/PACKAGE_ICON{,_256}.PNG "${PKG_DIR}" 39 | cp -r spk/WIZARD_UIFILES/ "${PKG_DIR}" 40 | } 41 | 42 | MakePackage() { 43 | [ -f /pkgscripts/include/pkg_util.sh ] && source /pkgscripts/include/pkg_util.sh 44 | [ -f /pkgscripts-ng/include/pkg_util.sh ] && source /pkgscripts-ng/include/pkg_util.sh 45 | 46 | 47 | ### fix permissions 48 | chown root:root $PKG_DIR/* -R 49 | 50 | pkg_make_package $INST_DIR $PKG_DIR 51 | pkg_make_spk $PKG_DIR $PKG_DEST 52 | } 53 | 54 | main() { 55 | PrepareDirs 56 | Install 57 | GenerateINFO 58 | InstallSynologyConfig 59 | MakePackage 60 | } 61 | 62 | main "$@" 63 | -------------------------------------------------------------------------------- /SynoBuildConf/install-dev: -------------------------------------------------------------------------------- 1 | install -------------------------------------------------------------------------------- /package/app/config: -------------------------------------------------------------------------------- 1 | { 2 | ".url": { 3 | "phpvirtualbox4dsm": { 4 | "allUsers": true, 5 | "title": "phpVirtualBox", 6 | "desc": "", 7 | "icon": "images/Virtualbox_{0}.png", 8 | "type": "url", 9 | "protocol" : "https", 10 | "port": "443", 11 | "url": "/phpvirtualbox4dsm/", 12 | "appendSynoTokenInUrlTag": true 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /package/app/images/Virtualbox_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_128.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_16.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_24.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_256.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_32.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_48.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_64.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_72.png -------------------------------------------------------------------------------- /package/app/images/Virtualbox_96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_96.png -------------------------------------------------------------------------------- /package/etc/vbox/vbox.cfg: -------------------------------------------------------------------------------- 1 | # VirtualBox installation directory 2 | INSTALL_DIR='/opt/VirtualBox' 3 | # VirtualBox version 4 | INSTALL_VER='5.0.36' 5 | INSTALL_REV='114008' 6 | # Build type and user name for logging purposes 7 | BUILD_TYPE='release' 8 | VBOXWEB_HOST='127.0.0.1' 9 | VBOXWEB_USER='root' 10 | VBOXWEB_LOGFILE=/var/log/vbox.log 11 | VBOXWEB_AUTH_LIBRARY=null 12 | SHUTDOWN_USERS=root 13 | SHUTDOWN=acpibutton 14 | -------------------------------------------------------------------------------- /package/etc/vbox/vboxwolservice.ini: -------------------------------------------------------------------------------- 1 | [Credentials] 2 | url=@url@ 3 | user=root 4 | pass=@pwhash@ 5 | -------------------------------------------------------------------------------- /package/etc/virtualbox.apache22.conf: -------------------------------------------------------------------------------- 1 | 2 | Options MultiViews 3 | AllowOverride None 4 | Order allow,deny 5 | Allow from all 6 | -------------------------------------------------------------------------------- /package/etc/virtualbox.conf: -------------------------------------------------------------------------------- 1 | location ~* \.php(/|$) { 2 | root /usr/syno/synoman; 3 | fastcgi_split_path_info ^(.+?\.php)(.*)$; 4 | 5 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 6 | fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; 7 | fastcgi_param QUERY_STRING $query_string; 8 | fastcgi_param REQUEST_METHOD $request_method; 9 | fastcgi_param CONTENT_TYPE $content_type; 10 | fastcgi_param CONTENT_LENGTH $content_length; 11 | 12 | fastcgi_param SCRIPT_NAME $fastcgi_script_name; 13 | fastcgi_param REQUEST_URI $request_uri; 14 | fastcgi_param DOCUMENT_URI $document_uri; 15 | fastcgi_param DOCUMENT_ROOT $document_root; 16 | fastcgi_param SERVER_PROTOCOL $server_protocol; 17 | fastcgi_param HTTPS $https if_not_empty; 18 | 19 | fastcgi_param GATEWAY_INTERFACE CGI/1.1; 20 | fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 21 | 22 | fastcgi_param REMOTE_ADDR $remote_addr; 23 | fastcgi_param REMOTE_PORT $remote_port; 24 | fastcgi_param SERVER_ADDR $server_addr; 25 | fastcgi_param SERVER_PORT $server_port; 26 | fastcgi_param SERVER_NAME $host; 27 | # PHP only, required if PHP was built with --enable-force-cgi-redirect 28 | fastcgi_param REDIRECT_STATUS 200; 29 | fastcgi_intercept_errors on; 30 | 31 | try_files $fastcgi_script_name =404; 32 | 33 | fastcgi_param PATH_INFO $fastcgi_path_info; 34 | fastcgi_pass unix:/run/php-fpm/php56-fpm.sock; 35 | 36 | } 37 | -------------------------------------------------------------------------------- /package/etc/virtualbox.php.ini: -------------------------------------------------------------------------------- 1 | zend_extension = opcache.so 2 | extension = apcu.so 3 | 4 | extension = bz2.so 5 | ;extension = syno_compiler.so 6 | 7 | extension = exif.so 8 | extension = gd.so 9 | extension = iconv.so 10 | extension = pdo_pgsql.so 11 | extension = pgsql.so 12 | extension = zip.so 13 | 14 | extension = calendar.so 15 | extension = openssl.so 16 | extension = pdo_sqlite.so 17 | extension = sqlite3.so 18 | extension = curl.so 19 | extension = soup.so 20 | 21 | [PATH=/var/packages/phpvirtualbox/target/ui] 22 | open_basedir = "/var/packages/phpvirtualbox/target/ui" 23 | upload_max_filesize ="32G" 24 | post_max_size ="32G" 25 | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE 26 | session.save_path = "/var/services/tmp/phpvirtualbox" 27 | -------------------------------------------------------------------------------- /package/etc/virtualbox.sc: -------------------------------------------------------------------------------- 1 | [virtualbox] 2 | title="VirtualBox Remote Desktop Server Port" 3 | desc="VirtualBox" 4 | port_forward="yes" 5 | dst.ports="9000:9100/tcp" 6 | 7 | [virtualbox] 8 | title="VirtualBox Web Service Port" 9 | desc="vboxwebsrv" 10 | port_forward="no" 11 | dst.ports="18083/tcp" 12 | -------------------------------------------------------------------------------- /package/ui/config: -------------------------------------------------------------------------------- 1 | { 2 | ".url": { 3 | "com.seba.phpvirtualbox": { 4 | "type": "legacy", 5 | "allUsers": true, 6 | "title": "PHPVirtualbox", 7 | "desc": "", 8 | "icon": "images/Virtualbox_{0}.png", 9 | "url": "/webman/3rdparty/phpvirtualbox/phpvirtualbox/index.html" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_128.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_16.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_24.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_256.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_32.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_48.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_64.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_72.png -------------------------------------------------------------------------------- /package/ui/images/Virtualbox_96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/images/Virtualbox_96.png -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/.dockerignore: -------------------------------------------------------------------------------- 1 | .buildpath 2 | .gitignore 3 | .git 4 | .project 5 | 6 | .DS_Store 7 | .SD_Store? 8 | .swp 9 | 10 | config.php -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/.gitignore: -------------------------------------------------------------------------------- 1 | /.settings/ 2 | /.buildpath 3 | /.project 4 | /config.php 5 | /phpinfo.php 6 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:5.6-apache 2 | RUN apt-get update && \ 3 | apt-get install -y \ 4 | libxml2 \ 5 | libxml2-dev && \ 6 | docker-php-ext-install soap 7 | COPY . /var/www/html -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/LICENSE.txt: -------------------------------------------------------------------------------- 1 | phpVirtualBox - A web-based front-end to VirtualBox. 2 | Copyright (C) 2011 Ian Moore 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 3 as published by the Free Software Foundation. 7 | 8 | This program is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | GNU General Public License for more details. 12 | 13 | You should have received a copy of the GNU General Public License 14 | (GPLv3.txt in this folder) along with this program; if not, write 15 | to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 16 | Floor, Boston, MA 02110-1301, USA. 17 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/README.md: -------------------------------------------------------------------------------- 1 | # About 2 | 3 | phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com) 4 | 5 | FREE, WITHOUT WARRANTY: 6 | 7 | All files of this program (phpVirtualBox) are distributed under the 8 | terms contained in the LICENSE.txt file in this folder unless otherwise 9 | specified in an individual source file. By using this software, you are 10 | agreeing to the terms contained therein. If you have not received and read 11 | the license file, or do not agree with its conditions, please cease using 12 | this software immediately and remove any copies you may have in your 13 | possession. 14 | 15 | # Installation from Zip file 16 | 17 | 1) Download zip file from sourceforge project site: https://sourceforge.net/projects/phpvirtualbox/ 18 | 19 | 2) Rename config.php-example to config.php and edit as needed. 20 | 21 | # Post installation 22 | 23 | Default login is username: admin password: admin 24 | 25 | Please see the wiki located at 26 | http://sourceforge.net/p/phpvirtualbox/wiki/Home/ 27 | for detailed installation and configuration instructions. 28 | 29 | # Password Recovery 30 | 31 | Rename the file recovery.php-disabled to recovery.php, navigate to it in 32 | your web browser, and follow the instructions presented. 33 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/css/tipped.css: -------------------------------------------------------------------------------- 1 | #tipped { 2 | /* position & display are necessary */ 3 | position:absolute; 4 | display:none; 5 | 6 | /* The rest are just to make it look good & can be changed as you want */ 7 | border: 1px solid #404040; 8 | color: #404040; 9 | 10 | border-radius:5px; 11 | padding:3px; 12 | z-index: 99999; 13 | font-size: 0.9em; 14 | max-width: 50%; 15 | 16 | background: #f0f0f0; 17 | background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%); /* FF3.6+ */ 18 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e0e0e0)); /* Chrome,Safari4+ */ 19 | background: -webkit-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* Chrome10+,Safari5.1+ */ 20 | background: -o-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* Opera 11.10+ */ 21 | background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* IE10+ */ 22 | background: linear-gradient(to bottom, #ffffff 0%,#e0e0e0 100%); /* W3C */ 23 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */ 24 | 25 | overflow: hidden; 26 | } 27 | 28 | /* The tip content gets inserted into this element */ 29 | #tipped-content p, #tipped p { padding: 2px; margin: 0px; padding-bottom:0px; } 30 | 31 | /* This is the
that holds the close button/link. No styling is required, but you'll likely want some. */ 32 | #tipped-closer-wrapper { 33 | display:none; 34 | text-align:center; 35 | margin: 0px; 36 | } 37 | 38 | /* The that is the close button/link. No styling is required, but you'll likely want some. */ 39 | #tipped-closer { 40 | display:none; 41 | border:2px outset #999; 42 | background-color:#CCC; 43 | } 44 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/docker-compose.yml: -------------------------------------------------------------------------------- 1 | # Develop phpvirtualbox in docker 2 | # 3 | # 1) Get virtualbox host-only interface IP used by docker machine: 4 | # docker-machine inspect default -f '{{.Driver.HostOnlyCIDR}}' | sed -e 's#/.*##' 5 | # 2) Start vboxwebsrv on the IP returned from the above command: 6 | # vboxwebsrv -H 192.168.99.1 # or edit vboxwebsrv startup config 7 | # 3) Edit config.php to use the IP 8 | # 4) docker-compose up 9 | # 5) Get docker machine ip: 10 | # docker-machine ip default 11 | # 6) phpVirtualBox should be available at http:// 12 | # 13 | phpvirtualbox: 14 | build: . 15 | ports: 16 | - "80:80" 17 | volumes: 18 | - .:/var/www/html -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Endpoint configuration for phpVirtualBox 3 | */ 4 | var vboxEndpointConfig = { 5 | api: 'endpoints/api.php', 6 | screen: 'endpoints/screen.php', 7 | rdpGen: 'endpoints/rdp.php', 8 | filebrowser: 'endpoints/jqueryFileTree.php', 9 | require: ['endpoints/language.php'] 10 | } -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/phpvirtualbox/endpoints/index.html -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/lib/auth/LDAP.php: -------------------------------------------------------------------------------- 1 | false, 12 | 'canLogout' => true 13 | ); 14 | 15 | var $config = array( 16 | 'host' => '127.0.0.1', // LDAP server ip 17 | 'bind_dn' => 'uid=%s, ou=admins, dc=internal, dc=local', // %s will be replaced with login username 18 | 'adminUser' => '' 19 | ); 20 | 21 | function phpvbAuthLDAP($userConfig = null) { 22 | if($userConfig) $this->config = array_merge($this->config,$userConfig); 23 | } 24 | 25 | function login($username, $password) 26 | { 27 | global $_SESSION; 28 | 29 | // Check for LDAP functions 30 | if(!function_exists('ldap_connect')) { 31 | 32 | $ex = 'LDAP support is not enabled in your PHP configuration.'; 33 | 34 | if(strtolower(substr(PHP_OS, 0, 3)) == 'win') { 35 | 36 | ob_start(); 37 | phpinfo(INFO_GENERAL); 38 | $phpinfo = ob_get_contents(); 39 | ob_end_clean(); 40 | preg_match('/Loaded Configuration File <\/td>(.*?)\s* 1 ? ' (' .trim($phpinfo[1]).')' : '') . ' by removing the ";" and restart your web server.'; 44 | 45 | } else if(strtolower(substr(PHP_OS, 0, 5)) == 'Linux') { 46 | 47 | $ex .= ' You probably need to install the php5-ldap (or similar depending on your distribution) package.'; 48 | 49 | } 50 | throw new Exception($ex); 51 | } 52 | 53 | $auth = ldap_connect($this->config['host']); 54 | 55 | if(!$auth) return false; 56 | 57 | ldap_set_option($auth,LDAP_OPT_PROTOCOL_VERSION, 3); 58 | 59 | if(!@ldap_bind($auth, sprintf($this->config['bind_dn'], $username), $password)) 60 | return false; 61 | 62 | 63 | $_SESSION['valid'] = true; 64 | $_SESSION['user'] = $username; 65 | $_SESSION['admin'] = (!$this->config['adminUser']) || ($_SESSION['user'] == $this->config['adminUser']); 66 | $_SESSION['authCheckHeartbeat'] = time(); 67 | 68 | } 69 | 70 | 71 | function heartbeat($vbox) 72 | { 73 | global $_SESSION; 74 | 75 | $_SESSION['valid'] = true; 76 | $_SESSION['authCheckHeartbeat'] = time(); 77 | } 78 | 79 | function changePassword($old, $new) 80 | { 81 | } 82 | 83 | function logout(&$response) 84 | { 85 | global $_SESSION; 86 | if(function_exists('session_destroy')) session_destroy(); 87 | else unset($_SESSION['valid']); 88 | $response['data']['result'] = 1; 89 | } 90 | 91 | function listUsers() 92 | { 93 | 94 | } 95 | 96 | function updateUser($vboxRequest, $skipExistCheck) 97 | { 98 | 99 | } 100 | 101 | function deleteUser($user) 102 | { 103 | 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/lib/auth/WebAuth.php: -------------------------------------------------------------------------------- 1 | false, 10 | 'canLogout' => false 11 | ); 12 | 13 | var $config = array( 14 | 'serverUserKey' => 'REMOTE_USER' 15 | ); 16 | 17 | function phpvbAuthWebAuth($userConfig = null) { 18 | if($userConfig) $this->config = array_merge($this->config,$userConfig); 19 | } 20 | 21 | function login($username, $password) 22 | { 23 | } 24 | 25 | function autoLoginHook() 26 | { 27 | global $_SESSION; 28 | // WebAuth passthrough 29 | if ( isset($_SERVER[$this->config['serverUserKey']]) ) 30 | { 31 | $_SESSION['valid'] = true; 32 | $_SESSION['user'] = $_SERVER[$this->config['serverUserKey']]; 33 | $_SESSION['admin'] = (!$this->config['adminUser']) || ($_SESSION['user'] == $this->config['adminUser']); 34 | $_SESSION['authCheckHeartbeat'] = time(); 35 | } 36 | } 37 | 38 | function heartbeat($vbox) 39 | { 40 | global $_SESSION; 41 | if ( isset($_SERVER[$this->config['serverUserKey']]) ) 42 | { 43 | $_SESSION['valid'] = true; 44 | $_SESSION['authCheckHeartbeat'] = time(); 45 | } 46 | } 47 | 48 | function changePassword($old, $new) 49 | { 50 | } 51 | 52 | function logout(&$response) 53 | { 54 | $response['data']['result'] = 1; 55 | if ( isset($this->config['logoutURL']) ) 56 | { 57 | $response['data']['url'] = $this->config['logoutURL']; 58 | } 59 | } 60 | 61 | function listUsers() 62 | { 63 | 64 | } 65 | 66 | function updateUser($vboxRequest, $skipExistCheck) 67 | { 68 | 69 | } 70 | 71 | function deleteUser($user) 72 | { 73 | 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/lib/auth/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/phpvirtualbox/endpoints/lib/auth/index.html -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/lib/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/phpvirtualbox/endpoints/lib/index.html -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/lib/utils.php: -------------------------------------------------------------------------------- 1 | auth->capabilities['sessionStart']) { 27 | call_user_func(array($settings->auth, $settings->auth->capabilities['sessionStart']), $keepopen); 28 | return; 29 | } 30 | 31 | // No session support? No login... 32 | if(@$settings->noAuth || !function_exists('session_start')) { 33 | global $_SESSION; 34 | $_SESSION['valid'] = true; 35 | $_SESSION['authCheckHeartbeat'] = time(); 36 | $_SESSION['admin'] = true; 37 | return; 38 | } 39 | 40 | // Session not is auto-started by PHP 41 | if(!ini_get('session.auto_start')) { 42 | 43 | ini_set('session.use_trans_sid', 0); 44 | ini_set('session.use_only_cookies', 1); 45 | 46 | // Session path 47 | if(isset($settings->sessionSavePath)) { 48 | session_save_path($settings->sessionSavePath); 49 | } 50 | 51 | if(isset($settings->session_name)) { 52 | $session_name = $settings->session_name; 53 | } else { 54 | $session_name = md5($_SERVER['DOCUMENT_ROOT'].$_SERVER['HTTP_USER_AGENT'].dirname(__FILE__)); 55 | } 56 | session_name($session_name); 57 | session_start(); 58 | } 59 | 60 | if(!$keepopen) 61 | session_write_close(); 62 | 63 | } 64 | 65 | 66 | /** 67 | * Clean (strip slashes from if applicable) $_GET and $_POST and return 68 | * an array containing a merged array of both. 69 | * @return array 70 | */ 71 | function clean_request() { 72 | 73 | if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') { 74 | $json = json_decode(file_get_contents('php://input'), true); 75 | if(!is_array($json)) 76 | $json = array(); 77 | } else { 78 | $json = array(); 79 | } 80 | $req = array_merge_recursive($_GET, $_POST); 81 | return array_merge_recursive($req, $json); 82 | 83 | } 84 | 85 | if(!function_exists('hash')) { 86 | // Lower security, but better than nothing 87 | /** 88 | * Return a hash of the passed string. Mimmics PHP's hash() params 89 | * @param unused $type 90 | * @param string $str string to hash 91 | */ 92 | function hash($type,$str='') { 93 | return sha1(json_encode($str)); 94 | } 95 | } -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/lib/vboxwebService-5.0.wsdl: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/endpoints/rdp.php: -------------------------------------------------------------------------------- 1 | =1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/languages/en.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/languages/source/en.dat: -------------------------------------------------------------------------------- 1 | a:1:{s:8:"contexts";a:4:{s:19:"UIGChooserItemGroup";a:1:{s:8:"messages";a:3:{s:13:"%n machine(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:10:"%n machine";i:1;s:11:"%n machines";}}}s:11:"%n group(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:8:"%n group";i:1;s:9:"%n groups";}}}s:0:"";a:2:{s:7:"numerus";s:3:"yes";s:11:"translation";s:0:"";}}}s:10:"VBoxGlobal";a:1:{s:8:"messages";a:7:{s:11:"%n month(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:8:"%n month";i:1;s:9:"%n months";}}}s:9:"%n day(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:6:"%n day";i:1;s:7:"%n days";}}}s:0:"";a:2:{s:7:"numerus";s:3:"yes";s:11:"translation";s:0:"";}s:12:"%n minute(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:9:"%n minute";i:1;s:10:"%n minutes";}}}s:12:"%n second(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:9:"%n second";i:1;s:10:"%n seconds";}}}s:10:"%n hour(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:7:"%n hour";i:1;s:8:"%n hours";}}}s:10:"%n year(s)";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:7:"%n year";i:1;s:8:"%n years";}}}}}s:19:"VBoxTakeSnapshotDlg";a:1:{s:8:"messages";a:1:{s:213:"Warning: You are taking a snapshot of a running machine which has %n immutable image(s) attached to it. As long as you are working from this snapshot the immutable image(s) will not be reset to avoid loss of data.";a:1:{s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:207:"Warning: You are taking a snapshot of a running machine which has %n immutable image attached to it. As long as you are working from this snapshot the immutable image will not be reset to avoid loss of data.";i:1;s:209:"Warning: You are taking a snapshot of a running machine which has %n immutable images attached to it. As long as you are working from this snapshot the immutable images will not be reset to avoid loss of data.";}}}}}s:15:"UIMessageCenter";a:1:{s:8:"messages";a:1:{s:212:"

The %n following virtual machine(s) are currently in a saved state: %1

If you continue the runtime state of the exported machine(s) will be discarded. The other machine(s) will not be changed.

";a:2:{s:7:"comment";s:221:"This text is never used with n == 0. Feel free to drop the %n where possible, we only included it because of problems with Qt Linguist (but the user can see how many machines are in the list and doesn't need to be told).";s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:197:"

The virtual machine %1 is currently in a saved state.

If you continue the runtime state of the exported machine will be discarded. Note that the existing machine is not changed.

";i:1;s:202:"

The virtual machines %1 are currently in a saved state.

If you continue the runtime state of the exported machines will be discarded. Note that the existing machines are not changed.

";}}}}}}} -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/about.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |

phpVirtualBox X -/- VirtualBox X compatible

4 |

Copyright (C) 2010-2015 Ian Moore (imoore76 at yahoo dot com) - LICENSE

5 |

http://sourceforge.net/projects/phpvirtualbox/

6 |

7 | I develop and support phpVirtualBox in my spare time - free of charge. I do not receive payments from VirtualBox (Oracle) nor am 8 | I affiliated with them in any way. If you find this program useful, I ask that you please donate. 9 |

10 |

11 | 12 |

13 |

VirtualBox

14 | 18 |
19 |
-------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/chooser.html: -------------------------------------------------------------------------------- 1 | 11 |
12 | 97 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/login.html: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
Username:
Password:
24 |
25 |
26 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/mediumEncryptionPasswords.html: -------------------------------------------------------------------------------- 1 | 10 |
11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
StatusIDPassword
23 |
24 |
25 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/settingsGlobalLanguage.html: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 22 | 23 |
Interface Language:
15 |
16 |
    17 |
  • Default
  • 18 |
19 |
20 |
21 |
24 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/tabVMConsole.html: -------------------------------------------------------------------------------- 1 | 9 | 11 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/userEdit.html: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
Username:
Username:
Admin User:
Old Password:
Change Password
New Password:
Retype:
45 |
46 |
47 | 65 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/vmmISCSI.html: -------------------------------------------------------------------------------- 1 | 8 |
9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
Server:
Port:
Target:
LUN:
Username:
Password:
44 |
45 |
46 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/vmmModify.html: -------------------------------------------------------------------------------- 1 | 8 |
9 | 10 |
11 | 12 | Choose medium type: 13 |
14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 |
33 |
34 |
35 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/rdpweb/RDPClientUI.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/phpvirtualbox/rdpweb/RDPClientUI.swf -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/recovery.php-disabled: -------------------------------------------------------------------------------- 1 | skipSessionCheck = true; 39 | $vbox->connect(); 40 | 41 | $vbox->vbox->setExtraData('phpvb/users/admin/pass', hash('sha512', 'admin')); 42 | $vbox->vbox->setExtraData('phpvb/users/admin/admin', '1'); 43 | echo("Admin account updated. Please rename this file to recovery.php-disabled. phpVirtualBox will refuse to run if this has not been done."); 44 | 45 | } catch (Exception $e) { 46 | echo("
");
47 | 		print_r($e);
48 | 		echo("
"); 49 | } 50 | return; 51 | } 52 | 53 | ?> 54 | 55 | 56 | Admin Account Recovery 57 | 58 | 59 |

Admin Account Recovery

60 |

This form will add the default user admin with a default password of admin. If the user admin already exists, its password will be changed to admin.

61 |

Click the Recover button to add / update this user.

62 |
63 |

64 | 65 | 66 |

67 |
68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/tightvnc/VncViewer.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/phpvirtualbox/tightvnc/VncViewer.jar -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/vboxinit: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # vboxinit: auto start sessions when booting and save 4 | # sessions when host is stopped 5 | # 6 | # Based on vboxtool. Only tested in Debian. 7 | # 8 | # Debian install: 9 | # copy this script to /etc/init.d 10 | # run: 11 | # chmod u+rx /etc/init.d/vboxinit 12 | # update-rc.d vboxinit defaults 13 | 14 | ### BEGIN INIT INFO 15 | # Provides: vboxinit 16 | # Required-Start: vboxdrv $local_fs 17 | # Required-Stop: vboxdrv $local_fs 18 | # Default-Start: 2 3 4 5 19 | # Default-Stop: 0 1 6 20 | # Description: Controls VirtualBox sessions 21 | ### END INIT INFO 22 | 23 | . /etc/default/virtualbox 24 | 25 | # Enable/disable service 26 | if [ "${VBOXWEB_USER}" == "" ]; then 27 | exit 0 28 | fi 29 | 30 | # Check for VirtualBox binary path 31 | if [ "$VBOX_BIN_PATH" != "" ]; then 32 | PATH = "$PATH:$VBOX_BIN_PATH"; 33 | fi 34 | 35 | start() 36 | { 37 | # Get all autostart machines 38 | MACHINES=$($su_command "VBoxManage list vms | awk '{ print \$NF }' | sed -e 's/[{}]//g'") 39 | for UUID in $MACHINES; do 40 | STARTUP=$($su_command "VBoxManage getextradata $UUID 'pvbx/startupMode'" | awk '{ print $NF }') 41 | if [ "${STARTUP}" == "auto" ]; then 42 | VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'") 43 | echo "$0: starting machine ${VMNAME} ..." 44 | $su_command "VBoxManage startvm $UUID --type headless" >>/var/log/vb.log 45 | fi 46 | done 47 | } 48 | 49 | stop() 50 | { 51 | # vms are saved, instead of stopped. 52 | MACHINES=$($su_command "VBoxManage list runningvms | awk '{ print \$NF }' | sed -e 's/[{}]//g'") 53 | for UUID in $MACHINES; do 54 | VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'") 55 | echo "$0: saving machine ${VMNAME} state ..." 56 | $su_command "VBoxManage controlvm $UUID savestate" >>/var/log/vb.log 57 | done 58 | 59 | } 60 | 61 | status() 62 | { 63 | $su_command "VBoxManage list runningvms" 64 | } 65 | 66 | restart() 67 | { 68 | stop 69 | start 70 | } 71 | 72 | 73 | # Implementation of user control, execute several commands as another (predefined) user, 74 | su_command="su - ${VBOXWEB_USER} -s /bin/bash -c" 75 | 76 | # 77 | # Check for a command line option 78 | # 79 | case "$1" in 80 | 81 | start) 82 | start 83 | ;; 84 | stop) 85 | stop 86 | ;; 87 | status) 88 | status 89 | ;; 90 | restart) 91 | restart 92 | ;; 93 | *) 94 | echo "Usage: $0 {start|stop|restart|status}" 95 | exit 1 96 | ;; 97 | esac 98 | 99 | exit 0 100 | -------------------------------------------------------------------------------- /spk/LICENSE: -------------------------------------------------------------------------------- 1 | LICENSE 2 | ===== 3 | THIS PACKAGE IS A COMMUNITY PROJECT! 4 | USE IT AT YOUR OWN RISK, 5 | WE WILL NOT TAKE RESPONSABILITY 6 | FOR ANY DAMAGE AND/OR DATA LOSS 7 | RESULTING FROM INSTALLING THIS PACKAGE! 8 | 9 | NOTE 10 | ===== 11 | Enable SOAP extensions in default PHP configuration 12 | 13 | CHANGELOG 14 | ===== 15 | Version 6.1 - Updated phpVirtualbox to latest version which supports Virtualbox 6.1 16 | Version 6.0 - Created from development branch to support Virtualbox 6.0 17 | Version 5.2 - Initial release -------------------------------------------------------------------------------- /spk/PACKAGE_ICON.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/spk/PACKAGE_ICON.PNG -------------------------------------------------------------------------------- /spk/PACKAGE_ICON_256.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/spk/PACKAGE_ICON_256.PNG -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/install_uifile_enu.sh: -------------------------------------------------------------------------------- 1 | install_uifile.sh -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/upgrade_uifile.sh: -------------------------------------------------------------------------------- 1 | install_uifile.sh -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/upgrade_uifile.sh.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | /bin/cat > /tmp/wizard.php <<'EOF' 4 | 49 | EOF 50 | 51 | /usr/bin/php -n /tmp/wizard.php > $SYNOPKG_TEMP_LOGFILE 52 | rm /tmp/wizard.php 53 | exit 0 54 | -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/upgrade_uifile_enu.sh: -------------------------------------------------------------------------------- 1 | install_uifile.sh -------------------------------------------------------------------------------- /spk/conf/resource: -------------------------------------------------------------------------------- 1 | { 2 | "php": { 3 | "php-ini": [{ 4 | "relpath": "etc/virtualbox.php.ini" 5 | } 6 | ] 7 | }, 8 | "nginx": { 9 | "conf.d": [{ 10 | "relpath": "etc/virtualbox.conf" 11 | } 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spk/scripts/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/postuninst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/postupgrade: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/preinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/preuninst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/preupgrade: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/start-stop-status: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PACKAGE=phpvirtualbox4dsm 4 | PACKAGE_DIR="/var/packages/${PACKAGE}" 5 | 6 | start() 7 | { 8 | exit 0 9 | } 10 | 11 | stop() 12 | { 13 | exit 0 14 | } 15 | 16 | case $1 in 17 | start) 18 | # check enabled 19 | if [ ! -f "${PACKAGE_DIR}/enabled" ]; then 20 | exit 0; 21 | fi 22 | 23 | # start routine 24 | start 25 | exit 0 26 | ;; 27 | stop) 28 | stop 29 | exit 0 30 | ;; 31 | restart) 32 | stop && start 33 | ;; 34 | status) 35 | if [ -f "${PACKAGE_DIR}/enabled" ]; then 36 | exit 0 37 | else 38 | exit 1 39 | fi 40 | ;; 41 | killall) 42 | stop 43 | exit 0 44 | ;; 45 | log) 46 | echo "" 47 | exit 0 48 | ;; 49 | *) 50 | echo "Usage: start-stop-status.sh start|stop|restart|status|killall|log" 51 | exit 1 52 | ;; 53 | esac 54 | -------------------------------------------------------------------------------- /unzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/unzip -------------------------------------------------------------------------------- /wget: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/wget --------------------------------------------------------------------------------