Hands-on exercise – cleaning up the Owner exploit scenarios
In this final exercise, we will use a clean-up script to automate the removal of the resources that were set up for the scenarios in this chapter. Here are the tasks that we will complete in this exercise:
- Download the cleanup script from GitHub.
- Run the script to remove the objects and resources created for the scenarios.
Here are the steps to complete these tasks:
- Open a web browser and browse to the Azure portal at https://portal.azure.com. Sign in with the
azureadmin
credentials. - In the Azure portal, click on the Cloud Shell icon in the top-left corner. Select PowerShell:
- In the PowerShell session within the Cloud Shell pane, run the following command to download a script to create a user account with Reader permissions and set up the required vulnerable workloads. Also verify the download:
PS C:\> Invoke-WebRequest http://bit.ly/reader...