📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: datatype.py
from .exception import DataTypeError __all__ = ("DataType", "String", "Integer", "Float", "Boolean", "List", "Choice") class DataType(object): def sanitize(self, value): raise NotImplementedError() def is_valid(self, value): try: self.sanitize(value) except DataTypeError: return False else: return True class String(DataType): def sanitize(self, value): return None if value is None else str(value) class Integer(DataType): def sanitize(self, value): if value is not None: try: value = int(value) except: raise DataTypeError('"%s" is not valid Integer' % value) return value class Float(DataType): def sanitize(self, value): if value is not None: try: value = float(value) except: raise DataTypeError('"%s" is not valid Float' % value) return value class Boolean(DataType): TRUTHY_STRINGS = ("Y", "YES", "T", "TRUE", "ON", "1") FALSY_STRINGS = ("", "N", "NO", "F", "FALSE", "OFF", "0") def sanitize(self, value): if value is None or isinstance(value, bool): return value if isinstance(value, int): return True if value else False if isinstance(value, str) and value: value = value.strip().upper() if value in self.TRUTHY_STRINGS: return True elif value in self.FALSY_STRINGS: return False else: raise DataTypeError('Could not coerce "%s" to a Boolean' % (value,)) return True if value else False class List(DataType): def __init__(self, subtype): super(List, self).__init__() if isinstance(subtype, DataType): self.subtype = subtype elif isinstance(subtype, type) and issubclass(subtype, DataType): self.subtype = subtype() else: raise TypeError("subtype must be a DataType") def sanitize(self, value): if value is None: return value if not isinstance(value, (list, tuple)): value = [value] value = [self.subtype.sanitize(v) for v in value] return value class Choice(DataType): def __init__(self, choices, subtype=None): super(Choice, self).__init__() subtype = subtype or String() if isinstance(subtype, DataType): self.subtype = subtype elif isinstance(subtype, type) and issubclass(subtype, DataType): self.subtype = subtype() else: raise TypeError("subtype must be a DataType") self.choices = choices def sanitize(self, value): if value is None: return value value = self.subtype.sanitize(value) if value not in self.choices: raise DataTypeError( '"%s" is not one of (%s)' % (value, ", ".join([repr(c) for c in self.choices])) ) return value
Save