Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
certbot /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-20 10:36
display
[ DIR ]
drwxrwxrwx
2022-03-20 10:36
plugins
[ DIR ]
drwxrwxrwx
2022-03-20 10:36
tests
[ DIR ]
drwxrwxrwx
2022-03-20 10:36
__init__.py
114
B
-rw-r--r--
2018-11-07 22:14
account.py
13.99
KB
-rw-r--r--
2018-11-07 22:14
achallenges.py
1.59
KB
-rw-r--r--
2018-11-07 22:14
auth_handler.py
20.56
KB
-rw-r--r--
2018-11-07 22:14
cert_manager.py
15.1
KB
-rw-r--r--
2018-11-07 22:14
cli.py
70.18
KB
-rw-r--r--
2018-11-07 22:14
client.py
27.86
KB
-rw-r--r--
2018-11-07 22:14
compat.py
6.02
KB
-rw-r--r--
2018-11-07 22:14
configuration.py
5.55
KB
-rw-r--r--
2018-11-07 22:14
constants.py
6.39
KB
-rw-r--r--
2020-09-26 20:25
crypto_util.py
15.29
KB
-rw-r--r--
2018-11-07 22:14
eff.py
3.07
KB
-rw-r--r--
2018-11-07 22:14
error_handler.py
5.81
KB
-rw-r--r--
2018-11-07 22:14
errors.py
2.59
KB
-rw-r--r--
2018-11-07 22:14
hooks.py
8.44
KB
-rw-r--r--
2018-11-07 22:14
interfaces.py
23.3
KB
-rw-r--r--
2018-11-07 22:14
lock.py
3.56
KB
-rw-r--r--
2018-11-07 22:14
log.py
12.39
KB
-rw-r--r--
2018-11-07 22:14
main.py
47.64
KB
-rw-r--r--
2018-11-07 22:14
notify.py
1.04
KB
-rw-r--r--
2018-11-07 22:14
ocsp.py
4.09
KB
-rw-r--r--
2018-11-07 22:14
renewal.py
19.85
KB
-rw-r--r--
2020-09-26 20:25
reporter.py
3.46
KB
-rw-r--r--
2018-11-07 22:14
reverter.py
23.32
KB
-rw-r--r--
2018-11-07 22:14
ssl-dhparams.pem
424
B
-rw-r--r--
2018-11-07 22:14
storage.py
45.75
KB
-rw-r--r--
2018-11-07 22:14
updater.py
3.86
KB
-rw-r--r--
2018-11-07 22:14
util.py
20.35
KB
-rw-r--r--
2018-11-07 22:14
Save
Rename
"""Send e-mail notification to system administrators.""" import email import smtplib import socket import subprocess def notify(subject, whom, what): """Send email notification. Try to notify the addressee (``whom``) by e-mail, with Subject: defined by ``subject`` and message body by ``what``. """ msg = email.message_from_string(what) msg.add_header("From", "Certbot renewal agent <root>") msg.add_header("To", whom) msg.add_header("Subject", subject) msg = msg.as_string() try: lmtp = smtplib.LMTP() lmtp.connect() lmtp.sendmail("root", [whom], msg) except (smtplib.SMTPHeloError, smtplib.SMTPRecipientsRefused, smtplib.SMTPSenderRefused, smtplib.SMTPDataError, socket.error): # We should try using /usr/sbin/sendmail in this case try: proc = subprocess.Popen(["/usr/sbin/sendmail", "-t"], stdin=subprocess.PIPE) proc.communicate(msg) except OSError: return False return True