<commit_before>#!/bin/bash

dsmT0Password=$(cat /home/ubuntu/variables/t0AdminPassword)
baseDomain=$(cat /home/ubuntu/variables/baseDomain)
eventName=$(cat /home/ubuntu/variables/eventName)

cd /home/ubuntu/
apt-get update
apt-get -y install git
git clone https://github.com/wisco24/fbctf.git fbctf
chown -R ubuntu:ubuntu fbctf
cd fbctf
export HOME=/root
source ./extra/lib.sh
set_password ${dsmT0Password} ctf ctf fbctf $PWD
./extra/provision.sh -m prod -c certbot -D ctf.${eventName}.${baseDomain} -e admin@${baseDomain} -s $PWD<commit_msg>Install ctf before changing password<commit_after>#!/bin/bash

dsmT0Password=$(cat /home/ubuntu/variables/t0AdminPassword)
baseDomain=$(cat /home/ubuntu/variables/baseDomain)
eventName=$(cat /home/ubuntu/variables/eventName)

cd /home/ubuntu/
apt-get update
apt-get -y install git
git clone https://github.com/wisco24/fbctf.git fbctf
chown -R ubuntu:ubuntu fbctf
cd fbctf
export HOME=/root
./extra/provision.sh -m prod -c certbot -D ctf.${eventName}.${baseDomain} -e admin@${baseDomain} -s $PWD
source ./extra/lib.sh
set_password ${dsmT0Password} ctf ctf fbctf $PWD
{'fraction_non_alphanumeric': 0.14092140921409213, 'fraction_numerical': 0.009033423667570008, 'mean_word_length': 4.989189189189189, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3618599', 'n_tokens_mistral': 442, 'n_tokens_neox': 399, 'n_words': 95}