mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-05 06:38:51 +00:00
11 lines
308 B
Bash
11 lines
308 B
Bash
![]() |
#!/bin/ash
|
||
|
|
||
|
# Source ENVs from file ...
|
||
|
if [ -f "/data/tpot/etc/compose/elk_environment" ];
|
||
|
then
|
||
|
echo "Found .env, now exporting ..."
|
||
|
set -o allexport && source "/data/tpot/etc/compose/elk_environment" && set +o allexport
|
||
|
fi
|
||
|
|
||
|
exec /usr/bin/python3 -u /opt/ewsposter/ews.py -l $(shuf -i 10-60 -n 1)
|