Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.22.74.192
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
etc /
alternatives /
[ HOME SHELL ]
Name
Size
Permission
Action
README
100
B
-rw-r--r--
aclocal
35.93
KB
-rwxr-xr-x
aclocal.1.gz
1.18
KB
-rw-r--r--
automake
247.38
KB
-rwxr-xr-x
automake.1.gz
1.57
KB
-rw-r--r--
awk
642.65
KB
-rwxr-xr-x
awk.1.gz
28.17
KB
-rw-r--r--
bibtex
118.08
KB
-rwxr-xr-x
bibtex.1.gz
1.74
KB
-rw-r--r--
builtins.7.gz
508
B
-rw-r--r--
c++
1022.94
KB
-rwxr-xr-x
c++.1.gz
297.02
KB
-rw-r--r--
c89
428
B
-rwxr-xr-x
c89.1.gz
1.33
KB
-rw-r--r--
c99
454
B
-rwxr-xr-x
c99.1.gz
1.39
KB
-rw-r--r--
cc
1022.94
KB
-rwxr-xr-x
cc.1.gz
297.02
KB
-rw-r--r--
cpp
1022.94
KB
-rwxr-xr-x
editor
240.11
KB
-rwxr-xr-x
editor.1.gz
5.34
KB
-rw-r--r--
ex
2.55
MB
-rwxr-xr-x
ex.1.gz
5.29
KB
-rw-r--r--
ex.fr.1.gz
6.37
KB
-rw-r--r--
ex.it.1.gz
5.96
KB
-rw-r--r--
ex.ja.1.gz
5.79
KB
-rw-r--r--
ex.pl.1.gz
6.15
KB
-rw-r--r--
ex.ru.1.gz
6.96
KB
-rw-r--r--
faked.1.gz
1.16
KB
-rw-r--r--
faked.es.1.gz
1.42
KB
-rw-r--r--
faked.fr.1.gz
1.49
KB
-rw-r--r--
faked.sv.1.gz
1.32
KB
-rw-r--r--
fakeroot
3.76
KB
-rwxr-xr-x
fakeroot.1.gz
3.91
KB
-rw-r--r--
fakeroot.es.1.gz
4.38
KB
-rw-r--r--
fakeroot.fr.1.gz
4.59
KB
-rw-r--r--
fakeroot.sv.1.gz
4.26
KB
-rw-r--r--
from
9.99
KB
-rwxr-xr-x
from.1.gz
1.43
KB
-rw-r--r--
ftp
98.7
KB
-rwxr-xr-x
ftp.1.gz
9.02
KB
-rw-r--r--
futurize
384
B
-rwxr-xr-x
infobrowser
245.72
KB
-rwxr-xr-x
infobrowser.1.gz
1.4
KB
-rw-r--r--
js
17.52
MB
-rwxr-xr-x
js.1.gz
3.98
KB
-rw-r--r--
jsondiff
1018
B
-rwxr-xr-x
jsonpatch
3.58
KB
-rwxr-xr-x
jsonpointer
1.31
KB
-rwxr-xr-x
jsonschema
398
B
-rwxr-xr-x
locate
42.08
KB
-rwxr-sr-x
locate.1.gz
2.58
KB
-rw-r--r--
lzcat
74.36
KB
-rwxr-xr-x
lzcat.1.gz
19.87
KB
-rw-r--r--
lzcmp
6.48
KB
-rwxr-xr-x
lzcmp.1.gz
664
B
-rw-r--r--
lzdiff
6.48
KB
-rwxr-xr-x
lzdiff.1.gz
664
B
-rw-r--r--
lzegrep
5.76
KB
-rwxr-xr-x
lzegrep.1.gz
700
B
-rw-r--r--
lzfgrep
5.76
KB
-rwxr-xr-x
lzfgrep.1.gz
700
B
-rw-r--r--
lzgrep
5.76
KB
-rwxr-xr-x
lzgrep.1.gz
700
B
-rw-r--r--
lzless
1.76
KB
-rwxr-xr-x
lzless.1.gz
743
B
-rw-r--r--
lzma
74.36
KB
-rwxr-xr-x
lzma.1.gz
19.87
KB
-rw-r--r--
lzmore
2.11
KB
-rwxr-xr-x
lzmore.1.gz
636
B
-rw-r--r--
mt
78.63
KB
-rwxr-xr-x
mt.1.gz
1.98
KB
-rw-r--r--
my.cnf
839
B
-rw-r--r--
nawk
642.65
KB
-rwxr-xr-x
nawk.1.gz
28.17
KB
-rw-r--r--
nc
34.48
KB
-rwxr-xr-x
nc.1.gz
6.12
KB
-rw-r--r--
netcat
34.48
KB
-rwxr-xr-x
netcat.1.gz
6.12
KB
-rw-r--r--
netrc.5.gz
2.04
KB
-rw-r--r--
newt-palette
160
B
-rw-r--r--
pager
166.76
KB
-rwxr-xr-x
pager.1.gz
20.01
KB
-rw-r--r--
pasteurize
388
B
-rwxr-xr-x
pbr
152
B
-rwxr-xr-x
pftp
98.7
KB
-rwxr-xr-x
pftp.1.gz
9.02
KB
-rw-r--r--
phar
14.48
KB
-rwxr-xr-x
phar.1.gz
2.76
KB
-rw-r--r--
phar.phar
14.48
KB
-rwxr-xr-x
phar.phar.1.gz
36
B
-rw-r--r--
php
4.29
MB
-rwxr-xr-x
php-cgi
4.26
MB
-rwxr-xr-x
php-cgi-bin
4.26
MB
-rwxr-xr-x
php-cgi.1.gz
35
B
-rw-r--r--
php.1.gz
3.58
KB
-rw-r--r--
pico
240.11
KB
-rwxr-xr-x
pico.1.gz
5.34
KB
-rw-r--r--
pinentry
62.49
KB
-rwxr-xr-x
pinentry.1.gz
1.38
KB
-rw-r--r--
rcp
98.14
KB
-rwxr-xr-x
rcp.1.gz
2.35
KB
-rw-r--r--
rlogin
710.79
KB
-rwxr-xr-x
rlogin.1.gz
14.25
KB
-rw-r--r--
rmt
58.39
KB
-rwxr-xr-x
rmt.8.gz
2.34
KB
-rw-r--r--
rsh
710.79
KB
-rwxr-xr-x
rsh.1.gz
14.25
KB
-rw-r--r--
rst-buildhtml
9.73
KB
-rwxr-xr-x
rst2html
594
B
-rwxr-xr-x
rst2html4
714
B
-rwxr-xr-x
rst2html5
1.11
KB
-rwxr-xr-x
rst2latex
791
B
-rwxr-xr-x
rst2man
600
B
-rwxr-xr-x
rst2odt
764
B
-rwxr-xr-x
rst2odt_prepstyles
2.26
KB
-rwxr-xr-x
rst2pseudoxml
601
B
-rwxr-xr-x
rst2s5
637
B
-rwxr-xr-x
rst2xetex
871
B
-rwxr-xr-x
rst2xml
602
B
-rwxr-xr-x
rstpep2html
670
B
-rwxr-xr-x
rview
2.55
MB
-rwxr-xr-x
rvim
2.55
MB
-rwxr-xr-x
telnet
108.42
KB
-rwxr-xr-x
telnet.1.gz
8.8
KB
-rw-r--r--
text.plymouth
205
B
-rw-r--r--
traceroute6
18.02
KB
-rwsr-xr-x
traceroute6.8.gz
924
B
-rw-r--r--
unlzma
74.36
KB
-rwxr-xr-x
unlzma.1.gz
19.87
KB
-rw-r--r--
updatedb
46.08
KB
-rwxr-xr-x
updatedb.8.gz
2.08
KB
-rw-r--r--
vi
2.55
MB
-rwxr-xr-x
vi.1.gz
5.29
KB
-rw-r--r--
vi.fr.1.gz
6.37
KB
-rw-r--r--
vi.it.1.gz
5.96
KB
-rw-r--r--
vi.ja.1.gz
5.79
KB
-rw-r--r--
vi.pl.1.gz
6.15
KB
-rw-r--r--
vi.ru.1.gz
6.96
KB
-rw-r--r--
view
2.55
MB
-rwxr-xr-x
view.1.gz
5.29
KB
-rw-r--r--
view.fr.1.gz
6.37
KB
-rw-r--r--
view.it.1.gz
5.96
KB
-rw-r--r--
view.ja.1.gz
5.79
KB
-rw-r--r--
view.pl.1.gz
6.15
KB
-rw-r--r--
view.ru.1.gz
6.96
KB
-rw-r--r--
vim
2.55
MB
-rwxr-xr-x
vimdiff
2.55
MB
-rwxr-xr-x
vtrgb
158
B
-rw-r--r--
w
18.07
KB
-rwxr-xr-x
w.1.gz
1.25
KB
-rw-r--r--
write
13.99
KB
-rwxr-sr-x
write.1.gz
1.8
KB
-rw-r--r--
x-cursor-theme
30
B
-rw-r--r--
xdvi.bin
746.3
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : rst-buildhtml
#!/usr/bin/python3 # $Id: buildhtml.py 7579 2012-12-31 10:40:14Z grubert $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Generates .html from all the .txt files in a directory. Ordinary .txt files are understood to be standalone reStructuredText. Files named ``pep-*.txt`` are interpreted as reStructuredText PEPs. """ # Once PySource is here, build .html from .py as well. __docformat__ = 'reStructuredText' try: import locale locale.setlocale(locale.LC_ALL, '') except: pass import sys import os import os.path import copy from fnmatch import fnmatch import docutils from docutils import ApplicationError from docutils import core, frontend, utils from docutils.utils.error_reporting import ErrorOutput, ErrorString from docutils.parsers import rst from docutils.readers import standalone, pep from docutils.writers import html4css1, pep_html usage = '%prog [options] [<directory> ...]' description = ('Generates .html from all the reStructuredText .txt files ' '(including PEPs) in each <directory> ' '(default is the current directory).') class SettingsSpec(docutils.SettingsSpec): """ Runtime settings & command-line options for the front end. """ prune_default = ['.hg', '.bzr', '.git', '.svn', 'CVS'] # Can't be included in OptionParser below because we don't want to # override the base class. settings_spec = ( 'Build-HTML Options', None, (('Recursively scan subdirectories for files to process. This is ' 'the default.', ['--recurse'], {'action': 'store_true', 'default': 1, 'validator': frontend.validate_boolean}), ('Do not scan subdirectories for files to process.', ['--local'], {'dest': 'recurse', 'action': 'store_false'}), ('Do not process files in <directory> (shell globbing patterns, ' 'separated by colons). This option may be used ' 'more than once to specify multiple directories. Default: "%s".' % ':'.join(prune_default), ['--prune'], {'metavar': '<directory>', 'action': 'append', 'validator': frontend.validate_colon_separated_string_list, 'default': prune_default,}), ('Recursively ignore files matching any of the given ' 'wildcard (shell globbing) patterns (separated by colons).', ['--ignore'], {'metavar': '<patterns>', 'action': 'append', 'default': [], 'validator': frontend.validate_colon_separated_string_list}), ('Work silently (no progress messages). Independent of "--quiet".', ['--silent'], {'action': 'store_true', 'validator': frontend.validate_boolean}), ('Do not process files, show files that would be processed.', ['--dry-run'], {'action': 'store_true', 'validator': frontend.validate_boolean}),)) relative_path_settings = ('prune',) config_section = 'buildhtml application' config_section_dependencies = ('applications',) class OptionParser(frontend.OptionParser): """ Command-line option processing for the ``buildhtml.py`` front end. """ def check_values(self, values, args): frontend.OptionParser.check_values(self, values, args) values._source = None return values def check_args(self, args): source = destination = None if args: self.values._directories = args else: self.values._directories = [os.getcwd()] return source, destination class Struct: """Stores data attributes for dotted-attribute access.""" def __init__(self, **keywordargs): self.__dict__.update(keywordargs) class Builder: def __init__(self): self.publishers = { '': Struct(components=(pep.Reader, rst.Parser, pep_html.Writer, SettingsSpec)), '.txt': Struct(components=(rst.Parser, standalone.Reader, html4css1.Writer, SettingsSpec), reader_name='standalone', writer_name='html'), 'PEPs': Struct(components=(rst.Parser, pep.Reader, pep_html.Writer, SettingsSpec), reader_name='pep', writer_name='pep_html')} """Publisher-specific settings. Key '' is for the front-end script itself. ``self.publishers[''].components`` must contain a superset of all components used by individual publishers.""" self.setup_publishers() def setup_publishers(self): """ Manage configurations for individual publishers. Each publisher (combination of parser, reader, and writer) may have its own configuration defaults, which must be kept separate from those of the other publishers. Setting defaults are combined with the config file settings and command-line options by `self.get_settings()`. """ for name, publisher in self.publishers.items(): option_parser = OptionParser( components=publisher.components, read_config_files=1, usage=usage, description=description) publisher.option_parser = option_parser publisher.setting_defaults = option_parser.get_default_values() frontend.make_paths_absolute(publisher.setting_defaults.__dict__, option_parser.relative_path_settings) publisher.config_settings = ( option_parser.get_standard_config_settings()) self.settings_spec = self.publishers[''].option_parser.parse_args( values=frontend.Values()) # no defaults; just the cmdline opts self.initial_settings = self.get_settings('') def get_settings(self, publisher_name, directory=None): """ Return a settings object, from multiple sources. Copy the setting defaults, overlay the startup config file settings, then the local config file settings, then the command-line options. Assumes the current directory has been set. """ publisher = self.publishers[publisher_name] settings = frontend.Values(publisher.setting_defaults.__dict__) settings.update(publisher.config_settings, publisher.option_parser) if directory: local_config = publisher.option_parser.get_config_file_settings( os.path.join(directory, 'docutils.conf')) frontend.make_paths_absolute( local_config, publisher.option_parser.relative_path_settings, directory) settings.update(local_config, publisher.option_parser) settings.update(self.settings_spec.__dict__, publisher.option_parser) return settings def run(self, directory=None, recurse=1): recurse = recurse and self.initial_settings.recurse if directory: self.directories = [directory] elif self.settings_spec._directories: self.directories = self.settings_spec._directories else: self.directories = [os.getcwd()] for directory in self.directories: for root, dirs, files in os.walk(directory): # os.walk by default this recurses down the tree, # influence by modifying dirs. if not recurse: del dirs[:] self.visit(root, files, dirs) def visit(self, directory, names, subdirectories): settings = self.get_settings('', directory) errout = ErrorOutput(encoding=settings.error_encoding) if settings.prune and (os.path.abspath(directory) in settings.prune): errout.write('/// ...Skipping directory (pruned): %s\n' % directory) sys.stderr.flush() del subdirectories[:] return if not self.initial_settings.silent: errout.write('/// Processing directory: %s\n' % directory) sys.stderr.flush() # settings.ignore grows many duplicate entries as we recurse # if we add patterns in config files or on the command line. for pattern in utils.uniq(settings.ignore): for i in range(len(names) - 1, -1, -1): if fnmatch(names[i], pattern): # Modify in place! del names[i] for name in names: if name.endswith('.txt'): self.process_txt(directory, name) def process_txt(self, directory, name): if name.startswith('pep-'): publisher = 'PEPs' else: publisher = '.txt' settings = self.get_settings(publisher, directory) errout = ErrorOutput(encoding=settings.error_encoding) pub_struct = self.publishers[publisher] settings._source = os.path.normpath(os.path.join(directory, name)) settings._destination = settings._source[:-4]+'.html' if not self.initial_settings.silent: errout.write(' ::: Processing: %s\n' % name) sys.stderr.flush() try: if not settings.dry_run: core.publish_file(source_path=settings._source, destination_path=settings._destination, reader_name=pub_struct.reader_name, parser_name='restructuredtext', writer_name=pub_struct.writer_name, settings=settings) except ApplicationError: error = sys.exc_info()[1] # get exception in Python <2.6 and 3.x errout.write(' %s\n' % ErrorString(error)) if __name__ == "__main__": Builder().run()
Close