Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
django /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
translation
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
_os.py
2.24
KB
-rw-r--r--
archive.py
7.88
KB
-rw-r--r--
asyncio.py
1.29
KB
-rw-r--r--
autoreload.py
23.67
KB
-rw-r--r--
baseconv.py
2.92
KB
-rw-r--r--
cache.py
15.88
KB
-rw-r--r--
connection.py
2.19
KB
-rw-r--r--
crypto.py
3.07
KB
-rw-r--r--
datastructures.py
9.66
KB
-rw-r--r--
dateformat.py
9.97
KB
-rw-r--r--
dateparse.py
4.78
KB
-rw-r--r--
dates.py
1.97
KB
-rw-r--r--
datetime_safe.py
2.79
KB
-rw-r--r--
deconstruct.py
1.93
KB
-rw-r--r--
decorators.py
6.67
KB
-rw-r--r--
deprecation.py
5.08
KB
-rw-r--r--
duration.py
1.21
KB
-rw-r--r--
encoding.py
9.2
KB
-rw-r--r--
feedgenerator.py
14.75
KB
-rw-r--r--
formats.py
8.82
KB
-rw-r--r--
functional.py
13.81
KB
-rw-r--r--
hashable.py
706
B
-rw-r--r--
html.py
15.19
KB
-rw-r--r--
http.py
17.29
KB
-rw-r--r--
inspect.py
2.23
KB
-rw-r--r--
ipv6.py
1.65
KB
-rw-r--r--
itercompat.py
184
B
-rw-r--r--
jslex.py
7.51
KB
-rw-r--r--
log.py
7.7
KB
-rw-r--r--
lorem_ipsum.py
4.66
KB
-rw-r--r--
module_loading.py
3.51
KB
-rw-r--r--
numberformat.py
3.53
KB
-rw-r--r--
regex_helper.py
12.44
KB
-rw-r--r--
safestring.py
1.72
KB
-rw-r--r--
termcolors.py
7.19
KB
-rw-r--r--
text.py
15.49
KB
-rw-r--r--
timesince.py
3.41
KB
-rw-r--r--
timezone.py
7.98
KB
-rw-r--r--
topological_sort.py
1.18
KB
-rw-r--r--
tree.py
4.8
KB
-rw-r--r--
version.py
3.34
KB
-rw-r--r--
xmlutils.py
1.12
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : safestring.py
""" Functions for working with "safe strings": strings that can be displayed safely without further escaping in HTML. Marking something as a "safe string" means that the producer of the string has already turned characters that should not be interpreted by the HTML engine (e.g. '<') into the appropriate entities. """ from functools import wraps class SafeData: def __html__(self): """ Return the html representation of a string for interoperability. This allows other template engines to understand Django's SafeData. """ return self class SafeString(str, SafeData): """ A str subclass that has been specifically marked as "safe" for HTML output purposes. """ def __add__(self, rhs): """ Concatenating a safe string with another safe bytestring or safe string is safe. Otherwise, the result is no longer safe. """ t = super().__add__(rhs) if isinstance(rhs, SafeData): return SafeString(t) return t def __str__(self): return self SafeText = SafeString # For backwards compatibility since Django 2.0. def _safety_decorator(safety_marker, func): @wraps(func) def wrapped(*args, **kwargs): return safety_marker(func(*args, **kwargs)) return wrapped def mark_safe(s): """ Explicitly mark a string as safe for (HTML) output purposes. The returned object can be used everywhere a string is appropriate. If used on a method as a decorator, mark the returned data as safe. Can be called multiple times on a single string. """ if hasattr(s, '__html__'): return s if callable(s): return _safety_decorator(mark_safe, s) return SafeString(s)
Close