mirror of
https://github.com/firehol/firehol.git
synced 2024-06-28 18:02:33 +00:00
prevent chowning web dir recursively
This commit is contained in:
parent
6c426bd9b2
commit
ab731b50e8
@ -2198,9 +2198,9 @@ update_web() {
|
||||
|
||||
print_ipset_reset
|
||||
|
||||
$CHMOD_CMD 0644 "${RUN_DIR}"/*.{json,csv,xml}
|
||||
$MV_CMD -f "${RUN_DIR}"/*.{json,csv,xml} "${WEB_DIR}/"
|
||||
[ ! -z "${WEB_OWNER}" ] && $CHOWN_CMD -R ${WEB_OWNER} "${WEB_DIR}"
|
||||
$CHMOD_CMD 0644 "${WEB_DIR}"/*.{json,csv,xml}
|
||||
[ ! -z "${WEB_OWNER}" ] $CHOWN_CMD ${WEB_OWNER} "${WEB_DIR}"/*.{json,csv,xml}
|
||||
|
||||
if [ ${PUSH_TO_GIT} -eq 1 ]
|
||||
then
|
||||
@ -6335,6 +6335,9 @@ merge firehol_anonymous ipv4 both \
|
||||
# TODO
|
||||
#
|
||||
# add sets
|
||||
# - https://github.com/certtools/intelmq/blob/master/intelmq/bots/BOTS
|
||||
# - https://www.tc.edu.tw/net/netflow/lkout/recent/30
|
||||
#
|
||||
# - http://security-research.dyndns.org/pub/botnet/ponmocup/ponmocup-finder/ponmocup-infected-domains-latest.txt - sent email to toms.security.stuff@gmail.com
|
||||
# - http://jeroen.steeman.org/FS-PlainText - sent email to jeroen@steeman.org
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user