X Tutup
Skip to content

Commit ca89c79

Browse files
authored
Add files via upload
1 parent 9ccfb2a commit ca89c79

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pproxy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def main():
125125
option.sslclient.load_cert_chain(*sslfile)
126126
option.sslserver.load_cert_chain(*sslfile)
127127
elif any(map(lambda o: o.sslclient, args.listen)):
128-
print(f'You must specify --ssl when open ssl server mode')
128+
print(f'You must specify --ssl to listen in ssl mode')
129129
return
130130
loop = asyncio.get_event_loop()
131131
if args.v:

pproxy/ciphers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os, hashlib, struct, functools, argparse, hmac
22

3-
#pip install pycryptodome
3+
#pip3 install pycryptodome
44
from Crypto.Cipher import ARC4, ChaCha20, Salsa20, AES, DES, CAST, Blowfish, ARC2
55

66
class BaseCipher(object):

pproxy/verbose.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
def all_stat(stats):
44
cmd = sys.stdin.readline()
5+
if len(stats) <= 1:
6+
print('no traffic')
7+
return
58
print('='*70)
69
hstat = {}
710
for remote_ip, v in stats.items():

0 commit comments

Comments
 (0)
X Tutup