2020-07-17 12:53:05 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
export BASE="http://conductorserver:8080/api"
|
|
|
|
|
|
|
|
echo 'Waiting for Conductor ...'
|
|
|
|
|
|
|
|
while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' $BASE/health)" != 200 ]]; do
|
|
|
|
echo 'still waiting ...'
|
|
|
|
sleep 5
|
|
|
|
done
|
|
|
|
|
2020-10-14 18:06:28 +02:00
|
|
|
echo 'Starting default workers...'
|
2020-07-15 09:13:10 +02:00
|
|
|
|
2020-10-14 18:06:28 +02:00
|
|
|
python3 PyExec.py Http Shell Eval
|