Mirtov Alexey c097b7414d Update README.md | 2 vuotta sitten | |
---|---|---|
.. | ||
README.md | 2 vuotta sitten | |
README_RU.md | 2 vuotta sitten | |
cloud_config.yaml | 3 vuotta sitten | |
declaration.yaml | 3 vuotta sitten | |
network_tasks.tf | 3 vuotta sitten | |
output.tf | 3 vuotta sitten | |
provider.tf | 3 vuotta sitten | |
variables.tf | 3 vuotta sitten | |
vm_tasks.tf | 3 vuotta sitten |
Link to a video review on YouTube: https://www.youtube.com/watch?v=r7Dxv_as24E
Terraform playbook will create:
git clone https://github.com/mirtov-alexey/dvwa_and_managed_waf.git
token
field, enter either the user's OAuth token or a path to the service account's key file.token = var.token
(for user authentication) or service_account_key_file = var.token
(for authenticating on behalf of the service account).
cd ./dvwa_and_managed_waf/
terraform init
Next, run terraform apply:
terraform apply
As a result of the installation, an external IP address will be displayed in the command line:
Next, when you open the address in the browser, you should see the following:
Enter login: 'admin, password: 'password
.
At the very bottom of the page, click Create/Reset database.
Then click Login at the bottom.
On the DVWA Security tab, change the level to Low.
Go to the SQL Injection tab and in the User ID field, enter the following:
`%' and 1=0 union select null, concat(user,':',password) from users #`