Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
site-packages /
hgext /
Delete
Unzip
Name
Size
Permission
Date
Action
convert
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
highlight
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
inotify
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
largefiles
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
zeroconf
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
__init__.py
14
B
-rw-r--r--
2013-06-01 18:10
__init__.pyc
139
B
-rw-r--r--
2020-03-31 23:33
__init__.pyo
139
B
-rw-r--r--
2020-03-31 23:33
acl.py
10.12
KB
-rw-r--r--
2013-06-01 18:10
acl.pyc
9.57
KB
-rw-r--r--
2020-03-31 23:33
acl.pyo
9.57
KB
-rw-r--r--
2020-03-31 23:33
blackbox.py
5.13
KB
-rw-r--r--
2013-06-01 18:10
blackbox.pyc
5.08
KB
-rw-r--r--
2020-03-31 23:33
blackbox.pyo
5.08
KB
-rw-r--r--
2020-03-31 23:33
bugzilla.py
34.12
KB
-rw-r--r--
2013-06-01 18:10
bugzilla.pyc
34.8
KB
-rw-r--r--
2020-03-31 23:33
bugzilla.pyo
34.8
KB
-rw-r--r--
2020-03-31 23:33
children.py
1.52
KB
-rw-r--r--
2013-06-01 18:10
children.pyc
1.58
KB
-rw-r--r--
2020-03-31 23:33
children.pyo
1.58
KB
-rw-r--r--
2020-03-31 23:33
churn.py
6.68
KB
-rw-r--r--
2013-06-01 18:10
churn.pyc
8.17
KB
-rw-r--r--
2020-03-31 23:33
churn.pyo
8.17
KB
-rw-r--r--
2020-03-31 23:33
color.py
19.13
KB
-rw-r--r--
2013-06-01 18:10
color.pyc
17.1
KB
-rw-r--r--
2020-03-31 23:33
color.pyo
17.1
KB
-rw-r--r--
2020-03-31 23:33
eol.py
12.96
KB
-rw-r--r--
2013-06-01 18:10
eol.pyc
13.08
KB
-rw-r--r--
2020-03-31 23:33
eol.pyo
13.08
KB
-rw-r--r--
2020-03-31 23:33
extdiff.py
12.35
KB
-rw-r--r--
2013-06-01 18:10
extdiff.pyc
10.51
KB
-rw-r--r--
2020-03-31 23:33
extdiff.pyo
10.51
KB
-rw-r--r--
2020-03-31 23:33
factotum.py
4.12
KB
-rw-r--r--
2013-06-01 18:10
factotum.pyc
4.04
KB
-rw-r--r--
2020-03-31 23:33
factotum.pyo
4.04
KB
-rw-r--r--
2020-03-31 23:33
fetch.py
5.85
KB
-rw-r--r--
2013-06-01 18:10
fetch.pyc
4.78
KB
-rw-r--r--
2020-03-31 23:33
fetch.pyo
4.78
KB
-rw-r--r--
2020-03-31 23:33
gpg.py
9.15
KB
-rw-r--r--
2013-06-01 18:10
gpg.pyc
9.54
KB
-rw-r--r--
2020-03-31 23:33
gpg.pyo
9.54
KB
-rw-r--r--
2020-03-31 23:33
graphlog.py
2.03
KB
-rw-r--r--
2013-06-01 18:10
graphlog.pyc
2.27
KB
-rw-r--r--
2020-03-31 23:33
graphlog.pyo
2.27
KB
-rw-r--r--
2020-03-31 23:33
hgcia.py
8.7
KB
-rw-r--r--
2013-06-01 18:10
hgcia.pyc
10.13
KB
-rw-r--r--
2020-03-31 23:33
hgcia.pyo
10.13
KB
-rw-r--r--
2020-03-31 23:33
hgk.py
11.65
KB
-rw-r--r--
2013-06-01 18:10
hgk.pyc
10.9
KB
-rw-r--r--
2020-03-31 23:33
hgk.pyo
10.86
KB
-rw-r--r--
2020-03-31 23:33
histedit.py
31.14
KB
-rw-r--r--
2013-06-01 18:10
histedit.pyc
26.71
KB
-rw-r--r--
2020-03-31 23:33
histedit.pyo
26.71
KB
-rw-r--r--
2020-03-31 23:33
interhg.py
2.77
KB
-rw-r--r--
2013-06-01 18:10
interhg.pyc
2.52
KB
-rw-r--r--
2020-03-31 23:33
interhg.pyo
2.52
KB
-rw-r--r--
2020-03-31 23:33
keyword.py
27.3
KB
-rw-r--r--
2013-06-01 18:10
keyword.pyc
28.79
KB
-rw-r--r--
2020-03-31 23:33
keyword.pyo
28.79
KB
-rw-r--r--
2020-03-31 23:33
mq.py
131.62
KB
-rw-r--r--
2013-06-01 18:10
mq.pyc
112.79
KB
-rw-r--r--
2020-03-31 23:33
mq.pyo
112.75
KB
-rw-r--r--
2020-03-31 23:33
notify.py
14.29
KB
-rw-r--r--
2013-06-01 18:10
notify.pyc
13.4
KB
-rw-r--r--
2020-03-31 23:33
notify.pyo
13.4
KB
-rw-r--r--
2020-03-31 23:33
pager.py
4.53
KB
-rw-r--r--
2013-06-01 18:10
pager.pyc
4.98
KB
-rw-r--r--
2020-03-31 23:33
pager.pyo
4.98
KB
-rw-r--r--
2020-03-31 23:33
patchbomb.py
20.91
KB
-rw-r--r--
2013-06-01 18:10
patchbomb.pyc
19.75
KB
-rw-r--r--
2020-03-31 23:33
patchbomb.pyo
19.75
KB
-rw-r--r--
2020-03-31 23:33
progress.py
10.61
KB
-rw-r--r--
2013-06-01 18:10
progress.pyc
9.8
KB
-rw-r--r--
2020-03-31 23:33
progress.pyo
9.8
KB
-rw-r--r--
2020-03-31 23:33
purge.py
3.88
KB
-rw-r--r--
2013-06-01 18:10
purge.pyc
3.5
KB
-rw-r--r--
2020-03-31 23:33
purge.pyo
3.5
KB
-rw-r--r--
2020-03-31 23:33
rebase.py
31.66
KB
-rw-r--r--
2013-06-01 18:10
rebase.pyc
24.01
KB
-rw-r--r--
2020-03-31 23:33
rebase.pyo
23.92
KB
-rw-r--r--
2020-03-31 23:33
record.py
23.55
KB
-rw-r--r--
2013-06-01 18:10
record.pyc
23.83
KB
-rw-r--r--
2020-03-31 23:33
record.pyo
23.83
KB
-rw-r--r--
2020-03-31 23:33
relink.py
5.88
KB
-rw-r--r--
2013-06-01 18:10
relink.pyc
5.76
KB
-rw-r--r--
2020-03-31 23:33
relink.pyo
5.76
KB
-rw-r--r--
2020-03-31 23:33
schemes.py
3.29
KB
-rw-r--r--
2013-06-01 18:10
schemes.pyc
4.37
KB
-rw-r--r--
2020-03-31 23:33
schemes.pyo
4.37
KB
-rw-r--r--
2020-03-31 23:33
share.py
2.29
KB
-rw-r--r--
2013-06-01 18:10
share.pyc
2.32
KB
-rw-r--r--
2020-03-31 23:33
share.pyo
2.32
KB
-rw-r--r--
2020-03-31 23:33
transplant.py
25.51
KB
-rw-r--r--
2013-06-01 18:10
transplant.pyc
24.07
KB
-rw-r--r--
2020-03-31 23:33
transplant.pyo
24.07
KB
-rw-r--r--
2020-03-31 23:33
win32mbcs.py
6.24
KB
-rw-r--r--
2013-06-01 18:10
win32mbcs.pyc
5.94
KB
-rw-r--r--
2020-03-31 23:33
win32mbcs.pyo
5.94
KB
-rw-r--r--
2020-03-31 23:33
win32text.py
5.58
KB
-rw-r--r--
2013-06-01 18:10
win32text.pyc
6.16
KB
-rw-r--r--
2020-03-31 23:33
win32text.pyo
6.16
KB
-rw-r--r--
2020-03-31 23:33
Save
Rename
# factotum.py - Plan 9 factotum integration for Mercurial # # Copyright (C) 2012 Steven Stallion <sstallion@gmail.com> # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. '''http authentication with factotum This extension allows the factotum(4) facility on Plan 9 from Bell Labs platforms to provide authentication information for HTTP access. Configuration entries specified in the auth section as well as authentication information provided in the repository URL are fully supported. If no prefix is specified, a value of "*" will be assumed. By default, keys are specified as:: proto=pass service=hg prefix=<prefix> user=<username> !password=<password> If the factotum extension is unable to read the required key, one will be requested interactively. A configuration section is available to customize runtime behavior. By default, these entries are:: [factotum] executable = /bin/auth/factotum mountpoint = /mnt/factotum service = hg The executable entry defines the full path to the factotum binary. The mountpoint entry defines the path to the factotum file service. Lastly, the service entry controls the service name used when reading keys. ''' from mercurial.i18n import _ from mercurial.url import passwordmgr from mercurial import httpconnection, util import os, urllib2 ERRMAX = 128 def auth_getkey(self, params): if not self.ui.interactive(): raise util.Abort(_('factotum not interactive')) if 'user=' not in params: params = '%s user?' % params params = '%s !password?' % params os.system("%s -g '%s'" % (_executable, params)) def auth_getuserpasswd(self, getkey, params): params = 'proto=pass %s' % params while True: fd = os.open('%s/rpc' % _mountpoint, os.O_RDWR) try: try: os.write(fd, 'start %s' % params) l = os.read(fd, ERRMAX).split() if l[0] == 'ok': os.write(fd, 'read') l = os.read(fd, ERRMAX).split() if l[0] == 'ok': return l[1:] except (OSError, IOError): raise util.Abort(_('factotum not responding')) finally: os.close(fd) getkey(self, params) def monkeypatch_method(cls): def decorator(func): setattr(cls, func.__name__, func) return func return decorator @monkeypatch_method(passwordmgr) def find_user_password(self, realm, authuri): user, passwd = urllib2.HTTPPasswordMgrWithDefaultRealm.find_user_password( self, realm, authuri) if user and passwd: self._writedebug(user, passwd) return (user, passwd) prefix = '' res = httpconnection.readauthforuri(self.ui, authuri, user) if res: _, auth = res prefix = auth.get('prefix') user, passwd = auth.get('username'), auth.get('password') if not user or not passwd: if not prefix: prefix = '*' params = 'service=%s prefix=%s' % (_service, prefix) if user: params = '%s user=%s' % (params, user) user, passwd = auth_getuserpasswd(self, auth_getkey, params) self.add_password(realm, authuri, user, passwd) self._writedebug(user, passwd) return (user, passwd) def uisetup(ui): global _executable _executable = ui.config('factotum', 'executable', '/bin/auth/factotum') global _mountpoint _mountpoint = ui.config('factotum', 'mountpoint', '/mnt/factotum') global _service _service = ui.config('factotum', 'service', 'hg')