TryHackMeRoomTurtles
If you want to customize the RiteCMS application files, then make changes to the cms/ritedev/data/sql files. Edit the file with the wanted changed content and generate a new database file sqlite3:
Example for content.db:
sqlite3 content.db < sqlite_content_init.sql
The provided Ansible script and guide assumes the Ubuntu virtual machine has been created with a user called tester
.
If your account differs from this, change the occurences of the user within the script and from the below commands.
ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password username@ipaddress
nano ~/.ssh/config
Host tryhackmevm
Hostname <vm_ip_here>
User tester
PreferredAuthentications=password
PubkeyAuthentication=no
Use this command from the git root repository folder
scp -r * tryhackmevm:/home/tester
sudo apt install python3-pip
pip3 install ansible
sudo apt install ansible
cd /home/tester/ansible
nano pass.txt
Insert the sudo password in here
ansible-playbook --connection=local build.playbook --become-password-file pass.txt