Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.38 KB

security-gallery.md

File metadata and controls

44 lines (27 loc) · 1.38 KB

Security: The Gallery

An exercise to illustrate a security flaw.

Get your public SSH key

You can display your public SSH key in your terminal with the following command:

$> cat ~/.ssh/id_rsa.pub

You should copy the output of this command. You will need it later.

Launch a virtual server

You will launch a virtual server to deploy the vulnerable application.

  • Access the Azure portal and go to the Virtual machines section:

    Azure Portal

  • Create a new virtual machine with these settings:

    Gallery virtual machine

Set up the image gallery application

Follow the instructions in this repository.

Be sure to do this on the gallery server you just launched. You can connect to it with ssh [email protected] (where W.X.Y.Z is the IP address of the server, which you can find in the Azure portal).