mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #9186 from vpeter4/proftpd-master
proftpd: update addon (1), convert HTML special entities
This commit is contained in:
commit
d0f92f4309
@ -1 +1,4 @@
|
||||
1
|
||||
- convert HTML special entities in username and password
|
||||
|
||||
initial release
|
||||
|
@ -5,7 +5,7 @@
|
||||
PKG_NAME="proftpd"
|
||||
PKG_VERSION="1.3.8b"
|
||||
PKG_SHA256="183ab7c6107de271a2959ff268f55c9b6c76b2cf0029e6584fccc019686601e0"
|
||||
PKG_REV="0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.proftpd.org/"
|
||||
|
@ -98,8 +98,8 @@ touch /var/config/proftpd.passwd
|
||||
chmod 700 /var/config/proftpd.passwd
|
||||
|
||||
for NUM in $(seq 1 100); do
|
||||
USERNAME=$(eval echo \$Username${NUM})
|
||||
USERPASS=$(eval echo \$Userpass${NUM})
|
||||
USERNAME=$(eval echo \$Username${NUM} | xmlstarlet unesc)
|
||||
USERPASS=$(eval echo \$Userpass${NUM} | xmlstarlet unesc)
|
||||
USERPATH=$(eval echo \$Userpath${NUM})
|
||||
|
||||
case "$CryptoHash" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user