
Continuing to the west we can Find Sparkle Redberry and the Azure 101 challenge. Talking to Sparkle he will tell us about how Alabaster Snowball has decided to host most of the new IT stuff in Azure. He’ll provide us with a reference for the Azure CLI and ask some help with completing the Terminal Task next to him.

Jumping into the terminal we can see it looks very similar to the Linux 101 challenge but with a focus on Azure. We can start the challenge by typing in the prompted command az help | less
. Next we need to run az account show | less
to view the account information. Our next task is to get the resource groups and we’re provided with some Microsoft documentation to help. az group list
| less gets us the groups, northpole-rg1
and northpole-rg2
. With those identified we then need to use one of them to get a list of function apps. We are again provided with Microsoft documentation. We can run az functionapp list --resource-group northpole-rg1
. This gives us information about the northpole-ssh-certs function app. This will come back later in SSHennanigans but for now we can move on to the next task to find a VM in one of the resource groups. Once again we get some documentation. Testing both az vm list -g northpole-rg
1 and az vm list -g northpole-rg2
we can see NP-VM1
is in northpole-rg2
With this we can move to the next step, running ls
on the VM remotely. We also get the next piece of documentation to help with this. The command we need to use is az vm run-command invoke -g northpole-rg2 -n NP-VM1 --command-id RunShellScript --scripts "ls"
With this the task will be completed and if we talk to Sparkle again to get a hint. He will again point out the Azure Function app that we found and point us toward Pixel Island to talk to Alabaster for more info. This is the start of the Certificate SSHennanigans challenge which we will get to later on.
Leave a Reply