Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-gpg /
examples /
howto /
Delete
Unzip
Name
Size
Permission
Date
Action
advanced
[ DIR ]
drwxr-xr-x
2024-09-07 23:28
README.org
1.81
KB
-rw-r--r--
2018-04-16 18:40
add-userid.py
2.05
KB
-rwxr-xr-x
2018-12-07 18:20
clear-sign-file.py
1.98
KB
-rwxr-xr-x
2018-12-03 18:37
create-key.py
2.94
KB
-rwxr-xr-x
2018-12-07 18:20
decrypt-file.py
1.79
KB
-rwxr-xr-x
2018-12-03 18:37
detach-sign-file.py
2.27
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-file.py
2.53
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-sign-file.py
2.67
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-to-group-gullible.py
2.55
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-to-group-trustno1.py
2.85
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-to-group.py
2.92
KB
-rwxr-xr-x
2018-12-03 18:37
export-key.py
2.65
KB
-rwxr-xr-x
2018-12-03 18:37
export-minimised-key.py
2.68
KB
-rwxr-xr-x
2018-12-03 18:37
export-secret-key.py
2.78
KB
-rwxr-xr-x
2018-12-03 18:37
export-secret-keys.py
4.17
KB
-rwxr-xr-x
2018-12-03 18:37
groups.py
1.87
KB
-rw-r--r--
2019-01-25 21:27
import-key.py
2.99
KB
-rwxr-xr-x
2018-12-03 18:37
import-keybasekey.py
2.66
KB
-rwxr-xr-x
2018-12-18 00:47
import-keys-hkp.py
3.95
KB
-rwxr-xr-x
2018-12-18 00:47
import-keys.py
2.37
KB
-rwxr-xr-x
2018-12-03 18:37
import-mailvelope-keys.py
3.94
KB
-rwxr-xr-x
2019-02-19 20:07
keycount.py
1.42
KB
-rwxr-xr-x
2018-12-03 18:37
local-sign-group.py
5
KB
-rwxr-xr-x
2018-12-03 18:37
mutt-groups.py
2.39
KB
-rwxr-xr-x
2018-12-03 18:37
pmkey-import-alt.py
4.74
KB
-rwxr-xr-x
2018-12-18 00:47
pmkey-import-hkp-alt.py
5.84
KB
-rwxr-xr-x
2018-12-18 00:47
pmkey-import-hkp.py
4.68
KB
-rwxr-xr-x
2018-12-18 00:47
pmkey-import.py
4.18
KB
-rwxr-xr-x
2018-12-18 00:47
post_installer.py
4.56
KB
-rwxr-xr-x
2019-02-19 20:07
requirements.txt
16
B
-rw-r--r--
2018-12-18 00:47
revoke-userid.py
2.05
KB
-rwxr-xr-x
2018-12-07 18:20
send-key-to-keyserver.py
2.9
KB
-rwxr-xr-x
2018-12-07 18:20
sign-file.py
2.26
KB
-rwxr-xr-x
2018-12-03 18:37
sign-key.py
2.1
KB
-rwxr-xr-x
2018-12-07 18:20
symcrypt-file.py
2.18
KB
-rwxr-xr-x
2018-12-03 18:37
temp-homedir-config.py
4.2
KB
-rwxr-xr-x
2018-12-03 18:37
verify-signatures.py
2.02
KB
-rwxr-xr-x
2018-12-03 18:37
verify-signed-file.py
1.84
KB
-rwxr-xr-x
2018-12-03 18:37
Save
Rename
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from __future__ import absolute_import, division, unicode_literals import gpg import hkp4py import sys # Copyright (C) 2019 Ben McGinnes <ben@gnupg.org> # # 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 free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 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 and the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU General Public License and the GNU # Lesser General Public along with this program; if not, see # <https://www.gnu.org/licenses/>. print(""" This script imports one or more public keys from the Mailvelope keyserver. """) c = gpg.Context() server = hkp4py.KeyServer("hkps://keys.mailvelope.com") results = [] keys = [] if len(sys.argv) > 2: pattern = " ".join(sys.argv[1:]) elif len(sys.argv) == 2: pattern = sys.argv[1] else: pattern = input("Enter the pattern to search for keys or user IDs: ") if pattern is not None: try: key = server.search(hex(int(pattern, 16))) keyed = True except ValueError as ve: key = server.search(pattern) keyed = False if key is not None: keys.append(key[0]) if keyed is True: try: fob = server.search(pattern) except Exception as e: fob = None if fob is not None: keys.append(fob[0]) else: pass else: pass for logrus in pattern.split(): if logrus != pattern: try: key = server.search(hex(int(logrus, 16))) hexed = True except ValueError as ve: key = server.search(logrus) hexed = False if key is not None: keys.append(key[0]) if hexed is True: try: fob = server.search(logrus) except Exception as e: fob = None if fob is not None: keys.append(fob[0]) else: pass else: pass else: pass else: pass if len(keys) > 0: for key in keys: import_result = c.key_import(key.key_blob) results.append(import_result) for result in results: if result is not None and hasattr(result, "considered") is False: print(result) elif result is not None and hasattr(result, "considered") is True: num_keys = len(result.imports) new_revs = result.new_revocations new_sigs = result.new_signatures new_subs = result.new_sub_keys new_uids = result.new_user_ids new_scrt = result.secret_imported nochange = result.unchanged print(""" The total number of keys considered for import was: {0} Number of keys revoked: {1} Number of new signatures: {2} Number of new subkeys: {3} Number of new user IDs: {4} Number of new secret keys: {5} Number of unchanged keys: {6} The key IDs for all considered keys were: """.format(num_keys, new_revs, new_sigs, new_subs, new_uids, new_scrt, nochange)) for i in range(num_keys): print(result.imports[i].fpr) print("") else: print("No keys were imported or found.")