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