Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.188.185.167
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
snap /
lxd /
33246 /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
apparmor_parser
1.55
MB
-rwxr-xr-x
arptables-legacy
61.09
KB
-rwxr-xr-x
btrfs
1001.25
KB
-rwxr-xr-x
btrfstune
544.3
KB
-rwxr-xr-x
cache_check
1.36
MB
-rwxr-xr-x
cache_dump
1.36
MB
-rwxr-xr-x
cache_metadata_size
1.36
MB
-rwxr-xr-x
cache_repair
1.36
MB
-rwxr-xr-x
cache_restore
1.36
MB
-rwxr-xr-x
cache_writeback
1.36
MB
-rwxr-xr-x
ceph
45.79
KB
-rwxr-xr-x
dmeventd
50.38
KB
-rwxr-xr-x
dnsmasq
480.36
KB
-rwxr-xr-x
ebtables-legacy
14.3
KB
-rwxr-xr-x
editor
2.17
KB
-rwxr-xr-x
era_check
1.36
MB
-rwxr-xr-x
era_dump
1.36
MB
-rwxr-xr-x
era_invalidate
1.36
MB
-rwxr-xr-x
era_restore
1.36
MB
-rwxr-xr-x
fusermount
38.38
KB
-rwxr-xr-x
fusermount3
38.38
KB
-rwxr-xr-x
genisoimage
678.15
KB
-rwxr-xr-x
getfattr
22.38
KB
-rwxr-xr-x
gpu-2404-custom-wrapper
423
B
-rwxr-xr-x
iw
307.79
KB
-rwxr-xr-x
logrotate
94.24
KB
-rwxr-xr-x
lvchange
3.01
MB
-rwxr-xr-x
lvconvert
3.01
MB
-rwxr-xr-x
lvcreate
3.01
MB
-rwxr-xr-x
lvdisplay
3.01
MB
-rwxr-xr-x
lvextend
3.01
MB
-rwxr-xr-x
lvm
3.01
MB
-rwxr-xr-x
lvmconfig
3.01
MB
-rwxr-xr-x
lvmdiskscan
3.01
MB
-rwxr-xr-x
lvmsadc
3.01
MB
-rwxr-xr-x
lvmsar
3.01
MB
-rwxr-xr-x
lvreduce
3.01
MB
-rwxr-xr-x
lvremove
3.01
MB
-rwxr-xr-x
lvrename
3.01
MB
-rwxr-xr-x
lvresize
3.01
MB
-rwxr-xr-x
lvs
3.01
MB
-rwxr-xr-x
lvscan
3.01
MB
-rwxr-xr-x
lxc
15.13
MB
-rwxr-xr-x
lxc-checkconfig
8.58
KB
-rwxr-xr-x
lxcfs
73.23
KB
-rwxr-xr-x
lxd
264
B
-rwxr-xr-x
lxd-agent
12.73
MB
-rwxr-xr-x
lxd-user
11.13
MB
-rwxr-xr-x
lzma
86.92
KB
-rwxr-xr-x
mkfs.btrfs
560.3
KB
-rwxr-xr-x
mkfs.xfs
438.99
KB
-rwxr-xr-x
mkisofs
678.15
KB
-rwxr-xr-x
nft
26.23
KB
-rwxr-xr-x
nvidia-container-cli
716
B
-rwxr-xr-x
nvidia-container-cli.real
54.51
KB
-rwxr-xr-x
nvidia-ctk
8.9
MB
-rwxr-xr-x
nvme
1.16
MB
-rwxr-xr-x
ovn-nbctl
704.97
KB
-rwxr-xr-x
ovn-sbctl
1011.45
KB
-rwxr-xr-x
ovs-vsctl
573.4
KB
-rwxr-xr-x
pdata_tools
1.36
MB
-rwxr-xr-x
pigz
130.37
KB
-rwxr-xr-x
pvchange
3.01
MB
-rwxr-xr-x
pvck
3.01
MB
-rwxr-xr-x
pvcreate
3.01
MB
-rwxr-xr-x
pvdisplay
3.01
MB
-rwxr-xr-x
pvmove
3.01
MB
-rwxr-xr-x
pvremove
3.01
MB
-rwxr-xr-x
pvresize
3.01
MB
-rwxr-xr-x
pvs
3.01
MB
-rwxr-xr-x
pvscan
3.01
MB
-rwxr-xr-x
pzstd
690.54
KB
-rwxr-xr-x
qemu-img
1.87
MB
-rwxr-xr-x
qemu-system-x86_64
23.34
MB
-rwxr-xr-x
radosgw-admin
20.99
MB
-rwxr-xr-x
rbd
4.53
MB
-rwxr-xr-x
remote-viewer
1.61
KB
-rwxr-xr-x
rsync
502.13
KB
-rwxr-xr-x
setfacl
38.38
KB
-rwxr-xr-x
setfattr
18.38
KB
-rwxr-xr-x
setup-shmounts
18.13
KB
-rwxr-xr-x
sgdisk
178.48
KB
-rwxr-xr-x
snap-query
3.05
KB
-rwxr-xr-x
sqfs2tar
42.71
KB
-rwxr-xr-x
sqlite3
320.19
KB
-rwxr-xr-x
sshfs
997
B
-rwxr-xr-x
swtpm
39.54
KB
-rwxr-xr-x
tar2sqfs
67.03
KB
-rwxr-xr-x
thin_check
1.36
MB
-rwxr-xr-x
thin_delta
1.36
MB
-rwxr-xr-x
thin_dump
1.36
MB
-rwxr-xr-x
thin_ls
1.36
MB
-rwxr-xr-x
thin_metadata_size
1.36
MB
-rwxr-xr-x
thin_repair
1.36
MB
-rwxr-xr-x
thin_restore
1.36
MB
-rwxr-xr-x
thin_rmap
1.36
MB
-rwxr-xr-x
thin_trim
1.36
MB
-rwxr-xr-x
uefivars.py
213
B
-rwxr-xr-x
vgcfgbackup
3.01
MB
-rwxr-xr-x
vgcfgrestore
3.01
MB
-rwxr-xr-x
vgchange
3.01
MB
-rwxr-xr-x
vgck
3.01
MB
-rwxr-xr-x
vgconvert
3.01
MB
-rwxr-xr-x
vgcreate
3.01
MB
-rwxr-xr-x
vgdisplay
3.01
MB
-rwxr-xr-x
vgexport
3.01
MB
-rwxr-xr-x
vgextend
3.01
MB
-rwxr-xr-x
vgimport
3.01
MB
-rwxr-xr-x
vgmerge
3.01
MB
-rwxr-xr-x
vgmknodes
3.01
MB
-rwxr-xr-x
vgreduce
3.01
MB
-rwxr-xr-x
vgremove
3.01
MB
-rwxr-xr-x
vgrename
3.01
MB
-rwxr-xr-x
vgs
3.01
MB
-rwxr-xr-x
vgscan
3.01
MB
-rwxr-xr-x
vgsplit
3.01
MB
-rwxr-xr-x
virt-v2v-in-place
295
B
-rwxr-xr-x
virtfs-proxy-helper
570.98
KB
-rwxr-xr-x
virtiofsd
2.65
MB
-rwxr-xr-x
xdelta3
154.49
KB
-rwxr-xr-x
xfs_admin
2.12
KB
-rwxr-xr-x
xfs_db
688.56
KB
-rwxr-xr-x
xfs_growfs
38.23
KB
-rwxr-xr-x
xfs_repair
643.32
KB
-rwxr-xr-x
xz
86.92
KB
-rwxr-xr-x
zstd
998.79
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : snap-query
#!/usr/bin/python3 """Query the status of the lxd snap.""" # Python implementation of: # $ curl -s --unix /run/snapd.socket 'http://unix.socket/v2/changes?select=in-progress&for=lxd' | jq -r '.result[0].kind' # auto-refresh # The full JSON output when querying the in-progress changes for the lxd snap: # $ curl -s --unix /run/snapd.socket 'http://snapd/v2/changes?select=in-progress&for=lxd' | jq -r . # { # "type": "sync", # "status-code": 200, # "status": "OK", # "result": [ # { # "id": "1907", # "kind": "auto-refresh", # "summary": "Auto-refresh snap \"lxd\"", # "status": "Hold", # "ready": true, # "spawn-time": "2024-02-19T10:21:34.429396408-05:00", # "data": { # "snap-names": [ # "lxd" # ] # } # } # ] # } # Heavily inspired from snapd's api-client.py: # https://github.com/snapcore/snapd/blob/master/tests/main/theme-install/api-client/bin/api-client.py import http.client import json import socket import sys # This class is a subclass of http.client.HTTPConnection that connects to a Unix socket instead of a TCP socket. class UnixSocketHTTPConnection(http.client.HTTPConnection): def __init__(self, socket_path): super().__init__("snapd") self._socket_path = socket_path def connect(self): s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) s.connect(self._socket_path) self.sock = s # This function connects to the Unix socket and requests the in-progress changes for the lxd snap. # Returns the kind of the first result, or an empty string if an error occurs. def main(): # Try to connect to the Unix socket and request the in-progress changes for the lxd snap. # If an exception occurs, print an error message and return an empty string. try: conn = UnixSocketHTTPConnection("/run/snapd.socket") conn.request("GET", "/v2/changes?select=in-progress&for=lxd") response = conn.getresponse() body = response.read().decode() except FileNotFoundError: print("missing socket", file=sys.stderr) return "" except http.client.HTTPException as e: print("HTTP exception:", e, file=sys.stderr) return "" finally: conn.close() # If the response status is not 200, print an error message and return an empty string. if response.status != 200: print("HTTP error:", response.status, file=sys.stderr) return "" # If the response body is missing or empty, print an error message and return an empty string. if not body: print("Missing/empty body", file=sys.stderr) return "" # Try to parse the response body as JSON, and extract the "kind" field from the first result. try: data = json.loads(body) except json.JSONDecodeError as e: print("JSON decode exception:", e, file=sys.stderr) return "" if "result" in data and isinstance(data["result"], list) and len(data["result"]): return data["result"][0].get("kind", "") return "" if __name__ == "__main__": print(main())
Close