⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.229
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
snap
/
lxd
/
29619
/
bin
/
View File Name :
remote-viewer
#!/bin/sh run_cmd() { CMD="$1" shift unset LD_LIBRARY_PATH export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" export HOME="${SNAP_REAL_HOME}" export USER="${USERNAME}" [ -z "${XDG_DATA_HOME:-}" ] && export XDG_DATA_HOME="${HOME}/.local/share/" [ -z "${XDG_CONFIG_HOME:-}" ] && export XDG_CONFIG_HOME="${HOME}/.config/" [ -z "${XDG_STATE_HOME:-}" ] && export XDG_STATE_HOME="${HOME}/.local/state/" exec unshare -U -r chroot "/var/lib/snapd/hostfs/" "${CMD}" "$@" } find_and_spawn() { for path in / /usr/ /usr/local/; do if [ -e "/var/lib/snapd/hostfs/${path}bin/remote-viewer" ] || [ -e "${path}sbin/remote-viewer" ]; then run_cmd remote-viewer "${1}" fi if [ -e "/var/lib/snapd/hostfs/${path}bin/spicy" ] || [ -e "${path}sbin/spicy" ]; then run_cmd spicy --uri="${1}" fi done } find_and_spawn "${1}" echo "LXD relies on either remote-viewer or spicy to provide VGA console access." echo "Those can't be bundled with the LXD snap and so need to be manually installed." echo "" echo " - \"remote-viewer\" usually comes in a package called virt-viewer" echo " - \"spicy\" usually comes in a package called spice-client-gtk" echo "" echo "Install either of those and they will automatically start." echo "Alternatively you may use another SPICE client using the following URI:" echo " ${1}" while :; do find_and_spawn "${1}" sleep 5s done