Use 3proxy_crypt instead of mycrypt

This commit is contained in:
Vladimir Dubrovin 2026-04-18 15:19:06 +03:00
parent f1af44f3a9
commit bba9871ed8
9 changed files with 12 additions and 12 deletions

View file

@ -6,7 +6,7 @@ if [ $3 ]; then
echo countin \"`wc -l /etc/3proxy/conf/counters|awk '{print $1}'`/$1\" D $3 $1 >> /etc/3proxy/conf/counters
fi
if [ $2 ]; then
echo $1:`/bin/mycrypt $$ $2` >> /etc/3proxy/conf/passwd
echo $1:`/bin/3proxy_crypt $$ $2` >> /etc/3proxy/conf/passwd
else
echo usage: $0 username password [day_limit] [bandwidth]
echo " "day_limit - traffic limit in MB per day

View file

@ -33,7 +33,7 @@ make clean
%files
/bin/3proxy
/bin/ftppr
/bin/mycrypt
/bin/3proxy_crypt
/bin/pop3p
/bin/proxy
/bin/socks