📁
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: utils.py
import datetime import re import string from typing import Optional def datetime_now() -> datetime.datetime: """ Return the current local date and time. :return: Returns an aware datetime object of the current date and time. """ return datetime.datetime.now(tz=datetime.timezone.utc) def datetime_to_str(dt: datetime.datetime) -> str: """ Convert a datetime object into a ISO 8601 string, e.g. '2019-04-24T17:06:53.039991Z'. :param dt: The datetime object to process. :return: Return a string representing the date in ISO 8601 (timezone=UTC). """ return dt.astimezone(tz=datetime.timezone.utc).strftime( '%Y-%m-%dT%H:%M:%S.%fZ') def str_to_datetime(string: str) -> datetime.datetime: """ Convert an ISO 8601 string into a datetime object. The following formats are supported: - 2020-03-03T09:21:43.636153304Z - 2020-03-03T15:52:30.136257504-0600 - 2020-03-03T15:52:30.136257504 :param string: The string to parse. :return: Returns an aware datetime object of the given date and time string. :raises: :exc:`~exceptions.ValueError` for an unknown datetime string. """ fmts = [ '%Y-%m-%dT%H:%M:%S.%f', '%Y-%m-%dT%H:%M:%S.%f%z' ] # In *all* cases, the 9 digit second precision is too much for # Python's strptime. Shorten it to 6 digits. p = re.compile(r'(\.[\d]{6})[\d]*') string = p.sub(r'\1', string) # Replace trailing Z with -0000, since (on Python 3.6.8) it # won't parse. if string and string[-1] == 'Z': string = string[:-1] + '-0000' for fmt in fmts: try: dt = datetime.datetime.strptime(string, fmt) # Make sure the datetime object is aware (timezone is set). # If not, then assume the time is in UTC. if dt.tzinfo is None: dt = dt.replace(tzinfo=datetime.timezone.utc) return dt except ValueError: pass raise ValueError("Time data {} does not match one of the formats {}".format( string, str(fmts))) def parse_timedelta(delta: str) -> Optional[datetime.timedelta]: """ Returns a timedelta object represents a duration, the difference between two dates or times. >>> parse_timedelta('foo') >>> parse_timedelta('2d') == datetime.timedelta(days=2) True >>> parse_timedelta("4w") == datetime.timedelta(days=28) True >>> parse_timedelta("5s") == datetime.timedelta(seconds=5) True >>> parse_timedelta("-5s") == datetime.timedelta(days=-1, seconds=86395) True :param delta: The string to process, e.g. '2h', '10d', '30s'. :return: The `datetime.timedelta` object or `None` in case of a parsing error. """ parts = re.match(r'(?P<seconds>-?\d+)s|' r'(?P<minutes>-?\d+)m|' r'(?P<hours>-?\d+)h|' r'(?P<days>-?\d+)d|' r'(?P<weeks>-?\d+)w$', delta, re.IGNORECASE) if not parts: return None parts = parts.groupdict() args = {name: int(param) for name, param in parts.items() if param} return datetime.timedelta(**args) def is_hex(s: str, strict: bool = True) -> bool: """Simple check that a string contains only hex chars""" try: int(s, 16) except ValueError: return False # s is multiple chars, but we should catch a '+/-' prefix too. if strict: if s[0] not in string.hexdigits: return False return True
Save