📁
SKYSHELL MANAGER
PHP v7.4.32
Create
Create
Path:
root
/
var
/
www
/
html
/
Name
Size
Perm
Actions
📁
e25bd
-
0555
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0555
🗑️
🏷️
🔒
📁
wp-admin
-
0777
🗑️
🏷️
🔒
📁
legion
-
0755
🗑️
🏷️
🔒
📁
pop
-
0755
🗑️
🏷️
🔒
📁
377097
-
0755
🗑️
🏷️
🔒
📁
97a64b
-
0755
🗑️
🏷️
🔒
📁
.tmb
-
0777
🗑️
🏷️
🔒
📁
b9ebed
-
0755
🗑️
🏷️
🔒
📄
caca.php
12.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess
1.13 KB
0555
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
2.93 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
4.33 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
sitemap.xml
7.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.89 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-log1n.php
1.93 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
47.98 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
24.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
4.8 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xinsertx.php
34.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ryuk.php
36.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
search.php
1.45 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
item.php
2.03 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
buy.php
1.48 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
gagal.php
14.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
goods.php
1.47 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.nginx-debian.html
0.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.58 KB
0755
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
click.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
mah.php
1.93 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
networks.php
1.87 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
options.php
2 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
pages.php
1.44 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
plugins.php
1.93 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.87 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.37 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: pyclean
#! /usr/bin/python2 # -*- coding: UTF-8 -*- vim: et ts=4 sw=4 # # Copyright © 2010-2012 Piotr Ożarowski <piotr@debian.org> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. import logging import optparse import sys from os import environ, remove from os.path import exists sys.path.insert(1, '/usr/share/python/') from debpython import files as dpf from debpython.namespace import add_namespace_files # initialize script logging.basicConfig(format='%(levelname).1s: %(module)s:%(lineno)d: ' '%(message)s') log = logging.getLogger(__name__) """TODO: move it to manpage Examples: pyclean -p python-mako # all .py[co] files from the package pyclean /usr/lib/python2.6/dist-packages # python2.6 """ def destroyer(): # ;-) """Removes every .py[co] file associated to received .py file.""" def find_files_to_remove(pyfile): for filename in ("%sc" % pyfile, "%so" % pyfile): if exists(filename): yield filename counter = 0 try: while True: pyfile = (yield) for filename in find_files_to_remove(pyfile): try: log.debug('removing %s', filename) remove(filename) counter += 1 except (IOError, OSError), e: log.error('cannot remove %s', filename) log.debug(e) except GeneratorExit: log.info("removed files: %s", counter) def main(): usage = '%prog [-p PACKAGE] [DIR_OR_FILE]' parser = optparse.OptionParser(usage, version='%prog 1.0') parser.add_option('-v', '--verbose', action='store_true', dest='verbose', help='turn verbose more one') parser.add_option('-q', '--quiet', action='store_false', dest='verbose', default=False, help='be quiet') parser.add_option('-p', '--package', help='specify Debian package name to clean') options, args = parser.parse_args() if options.verbose or environ.get('PYCLEAN_DEBUG') == '1': log.setLevel(logging.DEBUG) log.debug('argv: %s', sys.argv) log.debug('options: %s', options) log.debug('args: %s', args) else: log.setLevel(logging.WARNING) d = destroyer() d.next() # initialize coroutine if not options.package and not args: parser.print_usage() exit(1) if options.package: log.info('cleaning package %s', options.package) pfiles = dpf.from_package(options.package, extensions=('.py', '.so')) pfiles = add_namespace_files(pfiles, options.package, action=False) pfiles = set(dpf.filter_out_ext(pfiles, ('.so',))) if args: log.info('cleaning directories: %s', args) files = dpf.from_directory(args, extensions=('.py', '.so')) files = add_namespace_files(files, action=False) files = set(dpf.filter_out_ext(files, ('.so',))) if options.package: files = files & pfiles else: files = pfiles for filename in files: d.send(filename) if __name__ == '__main__': main()
Save