[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
lib64
/
python3.6
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 __pycache__
SET
[ DEL ]
📁 asyncio
SET
[ DEL ]
📁 collections
SET
[ DEL ]
📁 concurrent
SET
[ DEL ]
📁 config-3.6m-x86_64-linux-gnu
SET
[ DEL ]
📁 ctypes
SET
[ DEL ]
📁 curses
SET
[ DEL ]
📁 dbm
SET
[ DEL ]
📁 distutils
SET
[ DEL ]
📁 email
SET
[ DEL ]
📁 encodings
SET
[ DEL ]
📁 ensurepip
SET
[ DEL ]
📁 html
SET
[ DEL ]
📁 http
SET
[ DEL ]
📁 importlib
SET
[ DEL ]
📁 json
SET
[ DEL ]
📁 lib-dynload
SET
[ DEL ]
📁 lib2to3
SET
[ DEL ]
📁 logging
SET
[ DEL ]
📁 multiprocessing
SET
[ DEL ]
📁 pydoc_data
SET
[ DEL ]
📁 site-packages
SET
[ DEL ]
📁 sqlite3
SET
[ DEL ]
📁 test
SET
[ DEL ]
📁 unittest
SET
[ DEL ]
📁 urllib
SET
[ DEL ]
📁 venv
SET
[ DEL ]
📁 wsgiref
SET
[ DEL ]
📁 xml
SET
[ DEL ]
📁 xmlrpc
SET
[ DEL ]
📄 __future__.py
4,841 B
SET
[ EDIT ]
|
[ DEL ]
📄 __phello__.foo.py
64 B
SET
[ EDIT ]
|
[ DEL ]
📄 _bootlocale.py
1,301 B
SET
[ EDIT ]
|
[ DEL ]
📄 _collections_abc.py
26,392 B
SET
[ EDIT ]
|
[ DEL ]
📄 _compat_pickle.py
8,749 B
SET
[ EDIT ]
|
[ DEL ]
📄 _compression.py
5,340 B
SET
[ EDIT ]
|
[ DEL ]
📄 _dummy_thread.py
5,118 B
SET
[ EDIT ]
|
[ DEL ]
📄 _markupbase.py
14,598 B
SET
[ EDIT ]
|
[ DEL ]
📄 _osx_support.py
19,138 B
SET
[ EDIT ]
|
[ DEL ]
📄 _pydecimal.py
230,228 B
SET
[ EDIT ]
|
[ DEL ]
📄 _pyio.py
88,097 B
SET
[ EDIT ]
|
[ DEL ]
📄 _sitebuiltins.py
3,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 _strptime.py
24,747 B
SET
[ EDIT ]
|
[ DEL ]
📄 _sysconfigdata_dm_linux_x86_64-linux-gnu.py
30,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 _sysconfigdata_m_linux_x86_64-linux-gnu.py
30,367 B
SET
[ EDIT ]
|
[ DEL ]
📄 _threading_local.py
7,214 B
SET
[ EDIT ]
|
[ DEL ]
📄 _weakrefset.py
5,705 B
SET
[ EDIT ]
|
[ DEL ]
📄 abc.py
8,727 B
SET
[ EDIT ]
|
[ DEL ]
📄 aifc.py
32,454 B
SET
[ EDIT ]
|
[ DEL ]
📄 antigravity.py
477 B
SET
[ EDIT ]
|
[ DEL ]
📄 argparse.py
90,372 B
SET
[ EDIT ]
|
[ DEL ]
📄 ast.py
12,166 B
SET
[ EDIT ]
|
[ DEL ]
📄 asynchat.py
11,328 B
SET
[ EDIT ]
|
[ DEL ]
📄 asyncore.py
20,159 B
SET
[ EDIT ]
|
[ DEL ]
📄 base64.py
20,388 B
SET
[ EDIT ]
|
[ DEL ]
📄 bdb.py
23,556 B
SET
[ EDIT ]
|
[ DEL ]
📄 binhex.py
13,954 B
SET
[ EDIT ]
|
[ DEL ]
📄 bisect.py
2,595 B
SET
[ EDIT ]
|
[ DEL ]
📄 bz2.py
12,478 B
SET
[ EDIT ]
|
[ DEL ]
📄 cProfile.py
5,380 B
SET
[ EDIT ]
|
[ DEL ]
📄 calendar.py
23,213 B
SET
[ EDIT ]
|
[ DEL ]
📄 cgi.py
37,219 B
SET
[ EDIT ]
|
[ DEL ]
📄 cgitb.py
12,018 B
SET
[ EDIT ]
|
[ DEL ]
📄 chunk.py
5,425 B
SET
[ EDIT ]
|
[ DEL ]
📄 cmd.py
14,860 B
SET
[ EDIT ]
|
[ DEL ]
📄 code.py
10,614 B
SET
[ EDIT ]
|
[ DEL ]
📄 codecs.py
36,276 B
SET
[ EDIT ]
|
[ DEL ]
📄 codeop.py
5,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 colorsys.py
4,064 B
SET
[ EDIT ]
|
[ DEL ]
📄 compileall.py
12,125 B
SET
[ EDIT ]
|
[ DEL ]
📄 configparser.py
53,592 B
SET
[ EDIT ]
|
[ DEL ]
📄 contextlib.py
13,162 B
SET
[ EDIT ]
|
[ DEL ]
📄 copy.py
8,815 B
SET
[ EDIT ]
|
[ DEL ]
📄 copyreg.py
7,007 B
SET
[ EDIT ]
|
[ DEL ]
📄 crypt.py
1,864 B
SET
[ EDIT ]
|
[ DEL ]
📄 csv.py
16,180 B
SET
[ EDIT ]
|
[ DEL ]
📄 datetime.py
82,034 B
SET
[ EDIT ]
|
[ DEL ]
📄 decimal.py
320 B
SET
[ EDIT ]
|
[ DEL ]
📄 difflib.py
84,377 B
SET
[ EDIT ]
|
[ DEL ]
📄 dis.py
18,132 B
SET
[ EDIT ]
|
[ DEL ]
📄 doctest.py
104,391 B
SET
[ EDIT ]
|
[ DEL ]
📄 dummy_threading.py
2,815 B
SET
[ EDIT ]
|
[ DEL ]
📄 enum.py
33,606 B
SET
[ EDIT ]
|
[ DEL ]
📄 filecmp.py
9,830 B
SET
[ EDIT ]
|
[ DEL ]
📄 fileinput.py
14,471 B
SET
[ EDIT ]
|
[ DEL ]
📄 fnmatch.py
3,166 B
SET
[ EDIT ]
|
[ DEL ]
📄 formatter.py
15,143 B
SET
[ EDIT ]
|
[ DEL ]
📄 fractions.py
23,639 B
SET
[ EDIT ]
|
[ DEL ]
📄 ftplib.py
35,617 B
SET
[ EDIT ]
|
[ DEL ]
📄 functools.py
31,346 B
SET
[ EDIT ]
|
[ DEL ]
📄 genericpath.py
5,028 B
SET
[ EDIT ]
|
[ DEL ]
📄 getopt.py
7,489 B
SET
[ EDIT ]
|
[ DEL ]
📄 getpass.py
5,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 gettext.py
21,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 glob.py
5,638 B
SET
[ EDIT ]
|
[ DEL ]
📄 gzip.py
20,334 B
SET
[ EDIT ]
|
[ DEL ]
📄 hashlib.py
8,799 B
SET
[ EDIT ]
|
[ DEL ]
📄 heapq.py
22,929 B
SET
[ EDIT ]
|
[ DEL ]
📄 hmac.py
6,381 B
SET
[ EDIT ]
|
[ DEL ]
📄 imaplib.py
53,464 B
SET
[ EDIT ]
|
[ DEL ]
📄 imghdr.py
3,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 imp.py
10,669 B
SET
[ EDIT ]
|
[ DEL ]
📄 inspect.py
116,958 B
SET
[ EDIT ]
|
[ DEL ]
📄 io.py
3,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 ipaddress.py
77,818 B
SET
[ EDIT ]
|
[ DEL ]
📄 keyword.py
2,219 B
SET
[ EDIT ]
|
[ DEL ]
📄 linecache.py
5,312 B
SET
[ EDIT ]
|
[ DEL ]
📄 locale.py
77,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 lzma.py
12,983 B
SET
[ EDIT ]
|
[ DEL ]
📄 macpath.py
5,971 B
SET
[ EDIT ]
|
[ DEL ]
📄 macurl2path.py
2,732 B
SET
[ EDIT ]
|
[ DEL ]
📄 mailbox.py
78,624 B
SET
[ EDIT ]
|
[ DEL ]
📄 mailcap.py
9,067 B
SET
[ EDIT ]
|
[ DEL ]
📄 mimetypes.py
21,042 B
SET
[ EDIT ]
|
[ DEL ]
📄 modulefinder.py
23,027 B
SET
[ EDIT ]
|
[ DEL ]
📄 netrc.py
5,684 B
SET
[ EDIT ]
|
[ DEL ]
📄 nntplib.py
43,078 B
SET
[ EDIT ]
|
[ DEL ]
📄 ntpath.py
23,094 B
SET
[ EDIT ]
|
[ DEL ]
📄 nturl2path.py
2,444 B
SET
[ EDIT ]
|
[ DEL ]
📄 numbers.py
10,243 B
SET
[ EDIT ]
|
[ DEL ]
📄 opcode.py
5,822 B
SET
[ EDIT ]
|
[ DEL ]
📄 operator.py
10,863 B
SET
[ EDIT ]
|
[ DEL ]
📄 optparse.py
60,371 B
SET
[ EDIT ]
|
[ DEL ]
📄 os.py
37,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 pathlib.py
46,238 B
SET
[ EDIT ]
|
[ DEL ]
📄 pdb.py
61,320 B
SET
[ EDIT ]
|
[ DEL ]
📄 pickle.py
55,691 B
SET
[ EDIT ]
|
[ DEL ]
📄 pickletools.py
91,775 B
SET
[ EDIT ]
|
[ DEL ]
📄 pipes.py
8,916 B
SET
[ EDIT ]
|
[ DEL ]
📄 pkgutil.py
21,315 B
SET
[ EDIT ]
|
[ DEL ]
📄 platform.py
47,214 B
SET
[ EDIT ]
|
[ DEL ]
📄 plistlib.py
32,291 B
SET
[ EDIT ]
|
[ DEL ]
📄 poplib.py
15,087 B
SET
[ EDIT ]
|
[ DEL ]
📄 posixpath.py
16,324 B
SET
[ EDIT ]
|
[ DEL ]
📄 pprint.py
20,860 B
SET
[ EDIT ]
|
[ DEL ]
📄 profile.py
22,029 B
SET
[ EDIT ]
|
[ DEL ]
📄 pstats.py
26,564 B
SET
[ EDIT ]
|
[ DEL ]
📄 pty.py
4,763 B
SET
[ EDIT ]
|
[ DEL ]
📄 py_compile.py
7,181 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyclbr.py
13,558 B
SET
[ EDIT ]
|
[ DEL ]
📄 pydoc.py
103,501 B
SET
[ EDIT ]
|
[ DEL ]
📄 queue.py
8,780 B
SET
[ EDIT ]
|
[ DEL ]
📄 quopri.py
7,262 B
SET
[ EDIT ]
|
[ DEL ]
📄 random.py
27,442 B
SET
[ EDIT ]
|
[ DEL ]
📄 re.py
15,552 B
SET
[ EDIT ]
|
[ DEL ]
📄 reprlib.py
5,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 rlcompleter.py
7,097 B
SET
[ EDIT ]
|
[ DEL ]
📄 runpy.py
11,959 B
SET
[ EDIT ]
|
[ DEL ]
📄 sched.py
6,511 B
SET
[ EDIT ]
|
[ DEL ]
📄 secrets.py
2,038 B
SET
[ EDIT ]
|
[ DEL ]
📄 selectors.py
19,438 B
SET
[ EDIT ]
|
[ DEL ]
📄 shelve.py
8,515 B
SET
[ EDIT ]
|
[ DEL ]
📄 shlex.py
12,956 B
SET
[ EDIT ]
|
[ DEL ]
📄 shutil.py
40,829 B
SET
[ EDIT ]
|
[ DEL ]
📄 signal.py
2,123 B
SET
[ EDIT ]
|
[ DEL ]
📄 site.py
21,268 B
SET
[ EDIT ]
|
[ DEL ]
📄 smtpd.py
34,719 B
SET
[ EDIT ]
|
[ DEL ]
📄 smtplib.py
44,218 B
SET
[ EDIT ]
|
[ DEL ]
📄 sndhdr.py
7,088 B
SET
[ EDIT ]
|
[ DEL ]
📄 socket.py
27,443 B
SET
[ EDIT ]
|
[ DEL ]
📄 socketserver.py
27,010 B
SET
[ EDIT ]
|
[ DEL ]
📄 sre_compile.py
19,338 B
SET
[ EDIT ]
|
[ DEL ]
📄 sre_constants.py
6,821 B
SET
[ EDIT ]
|
[ DEL ]
📄 sre_parse.py
36,536 B
SET
[ EDIT ]
|
[ DEL ]
📄 ssl.py
44,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 stat.py
5,038 B
SET
[ EDIT ]
|
[ DEL ]
📄 statistics.py
20,673 B
SET
[ EDIT ]
|
[ DEL ]
📄 string.py
11,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 stringprep.py
12,917 B
SET
[ EDIT ]
|
[ DEL ]
📄 struct.py
257 B
SET
[ EDIT ]
|
[ DEL ]
📄 subprocess.py
62,339 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunau.py
18,095 B
SET
[ EDIT ]
|
[ DEL ]
📄 symbol.py
2,119 B
SET
[ EDIT ]
|
[ DEL ]
📄 symtable.py
7,277 B
SET
[ EDIT ]
|
[ DEL ]
📄 sysconfig.py
24,876 B
SET
[ EDIT ]
|
[ DEL ]
📄 tabnanny.py
11,411 B
SET
[ EDIT ]
|
[ DEL ]
📄 tarfile.py
111,635 B
SET
[ EDIT ]
|
[ DEL ]
📄 telnetlib.py
23,136 B
SET
[ EDIT ]
|
[ DEL ]
📄 tempfile.py
28,066 B
SET
[ EDIT ]
|
[ DEL ]
📄 textwrap.py
19,558 B
SET
[ EDIT ]
|
[ DEL ]
📄 this.py
1,003 B
SET
[ EDIT ]
|
[ DEL ]
📄 threading.py
50,136 B
SET
[ EDIT ]
|
[ DEL ]
📄 timeit.py
13,342 B
SET
[ EDIT ]
|
[ DEL ]
📄 token.py
3,075 B
SET
[ EDIT ]
|
[ DEL ]
📄 tokenize.py
29,496 B
SET
[ EDIT ]
|
[ DEL ]
📄 trace.py
28,733 B
SET
[ EDIT ]
|
[ DEL ]
📄 traceback.py
23,458 B
SET
[ EDIT ]
|
[ DEL ]
📄 tracemalloc.py
16,658 B
SET
[ EDIT ]
|
[ DEL ]
📄 tty.py
879 B
SET
[ EDIT ]
|
[ DEL ]
📄 types.py
8,870 B
SET
[ EDIT ]
|
[ DEL ]
📄 typing.py
80,274 B
SET
[ EDIT ]
|
[ DEL ]
📄 uu.py
6,763 B
SET
[ EDIT ]
|
[ DEL ]
📄 uuid.py
24,020 B
SET
[ EDIT ]
|
[ DEL ]
📄 warnings.py
18,488 B
SET
[ EDIT ]
|
[ DEL ]
📄 wave.py
17,709 B
SET
[ EDIT ]
|
[ DEL ]
📄 weakref.py
20,466 B
SET
[ EDIT ]
|
[ DEL ]
📄 webbrowser.py
22,238 B
SET
[ EDIT ]
|
[ DEL ]
📄 xdrlib.py
5,913 B
SET
[ EDIT ]
|
[ DEL ]
📄 zipapp.py
7,157 B
SET
[ EDIT ]
|
[ DEL ]
📄 zipfile.py
79,924 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: netrc.py
"""An object-oriented interface to .netrc files.""" # Module and documentation by Eric S. Raymond, 21 Dec 1998 import os, shlex, stat __all__ = ["netrc", "NetrcParseError"] class NetrcParseError(Exception): """Exception raised on syntax errors in the .netrc file.""" def __init__(self, msg, filename=None, lineno=None): self.filename = filename self.lineno = lineno self.msg = msg Exception.__init__(self, msg) def __str__(self): return "%s (%s, line %s)" % (self.msg, self.filename, self.lineno) class netrc: def __init__(self, file=None): default_netrc = file is None if file is None: try: file = os.path.join(os.environ['HOME'], ".netrc") except KeyError: raise OSError("Could not find .netrc: $HOME is not set") self.hosts = {} self.macros = {} with open(file) as fp: self._parse(file, fp, default_netrc) def _parse(self, file, fp, default_netrc): lexer = shlex.shlex(fp) lexer.wordchars += r"""!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~""" lexer.commenters = lexer.commenters.replace('#', '') while 1: # Look for a machine, default, or macdef top-level keyword saved_lineno = lexer.lineno toplevel = tt = lexer.get_token() if not tt: break elif tt[0] == '#': if lexer.lineno == saved_lineno and len(tt) == 1: lexer.instream.readline() continue elif tt == 'machine': entryname = lexer.get_token() elif tt == 'default': entryname = 'default' elif tt == 'macdef': # Just skip to end of macdefs entryname = lexer.get_token() self.macros[entryname] = [] lexer.whitespace = ' \t' while 1: line = lexer.instream.readline() if not line or line == '\012': lexer.whitespace = ' \t\r\n' break self.macros[entryname].append(line) continue else: raise NetrcParseError( "bad toplevel token %r" % tt, file, lexer.lineno) # We're looking at start of an entry for a named machine or default. login = '' account = password = None self.hosts[entryname] = {} while 1: tt = lexer.get_token() if (tt.startswith('#') or tt in {'', 'machine', 'default', 'macdef'}): if password: self.hosts[entryname] = (login, account, password) lexer.push_token(tt) break else: raise NetrcParseError( "malformed %s entry %s terminated by %s" % (toplevel, entryname, repr(tt)), file, lexer.lineno) elif tt == 'login' or tt == 'user': login = lexer.get_token() elif tt == 'account': account = lexer.get_token() elif tt == 'password': if os.name == 'posix' and default_netrc: prop = os.fstat(fp.fileno()) if prop.st_uid != os.getuid(): import pwd try: fowner = pwd.getpwuid(prop.st_uid)[0] except KeyError: fowner = 'uid %s' % prop.st_uid try: user = pwd.getpwuid(os.getuid())[0] except KeyError: user = 'uid %s' % os.getuid() raise NetrcParseError( ("~/.netrc file owner (%s) does not match" " current user (%s)") % (fowner, user), file, lexer.lineno) if (prop.st_mode & (stat.S_IRWXG | stat.S_IRWXO)): raise NetrcParseError( "~/.netrc access too permissive: access" " permissions must restrict access to only" " the owner", file, lexer.lineno) password = lexer.get_token() else: raise NetrcParseError("bad follower token %r" % tt, file, lexer.lineno) def authenticators(self, host): """Return a (user, account, password) tuple for given host.""" if host in self.hosts: return self.hosts[host] elif 'default' in self.hosts: return self.hosts['default'] else: return None def __repr__(self): """Dump the class data in the format of a .netrc file.""" rep = "" for host in self.hosts.keys(): attrs = self.hosts[host] rep += f"machine {host}\n\tlogin {attrs[0]}\n" if attrs[1]: rep += f"\taccount {attrs[1]}\n" rep += f"\tpassword {attrs[2]}\n" for macro in self.macros.keys(): rep += f"macdef {macro}\n" for line in self.macros[macro]: rep += line rep += "\n" return rep if __name__ == '__main__': print(netrc())