mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Continue working on Galah
This commit is contained in:
@ -22,14 +22,16 @@ COPY --from=builder /root/beelzebub/main /opt/beelzebub/
|
||||
COPY --from=builder /root/beelzebub/configurations /opt/beelzebub/configurations
|
||||
#
|
||||
# Setup user, groups and configs
|
||||
RUN sed -i "s#logsPath: ./log#logsPath: ./configurations/log/beelzebub.json#g" /opt/beelzebub/configurations/beelzebub.yaml && \
|
||||
sed -i 's/passwordRegex: "^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|postgres|Ly123456)$"/passwordRegex: ".*"/g' /opt/beelzebub/configurations/services/ssh-22.yaml && \
|
||||
addgroup -g 2000 beelzebub && \
|
||||
adduser -S -s /bin/ash -u 2000 -D -g 2000 beelzebub && \
|
||||
mkdir -p /beelzebub/configurations/key \
|
||||
/beelzebub/configurations/log && \
|
||||
chown beelzebub:beelzebub -R /opt/beelzebub/configurations && \
|
||||
chmod 0770 -R /opt/beelzebub/configurations
|
||||
RUN <<EOF
|
||||
sed -i "s#logsPath: ./log#logsPath: ./configurations/log/beelzebub.json#g" /opt/beelzebub/configurations/beelzebub.yaml
|
||||
sed -i 's/passwordRegex: "^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|postgres|Ly123456)$"/passwordRegex: ".*"/g' /opt/beelzebub/configurations/services/ssh-22.yaml
|
||||
addgroup -g 2000 beelzebub
|
||||
adduser -S -s /bin/ash -u 2000 -D -g 2000 beelzebub
|
||||
mkdir -p /beelzebub/configurations/key \
|
||||
/beelzebub/configurations/log
|
||||
chown beelzebub:beelzebub -R /opt/beelzebub/configurations
|
||||
chmod 0770 -R /opt/beelzebub/configurations
|
||||
EOF
|
||||
#
|
||||
# Start beelzebub
|
||||
WORKDIR /opt/beelzebub
|
||||
|
@ -22,7 +22,7 @@ services:
|
||||
environment:
|
||||
LLMMODEL: "ollama"
|
||||
LLMHOST: "http://ollama.local:11434/api/chat"
|
||||
OLLAMAMODEL: "llama3.1"
|
||||
OLLAMAMODEL: "openchat"
|
||||
image: "dtagdevsec/beelzebub:24.04"
|
||||
read_only: true
|
||||
volumes:
|
||||
|
Reference in New Issue
Block a user