Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploycaptureserver.ps1 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions capturetokenphish/deploycaptureserver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Write-Output "Running Commands.."
Write-Output "az group create --name $ResourceGroup --location $location"
az group create --name $ResourceGroup --location $location
Start-Sleep -Seconds 5
Write-Output "az vm create --resource-group $ResourceGroup --name webinar --image Ubuntu2204 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey"
az vm create --resource-group $ResourceGroup --name $vmName --image Ubuntu2204 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey
Write-Output "az vm create --resource-group $ResourceGroup --name webinar --image Ubuntu22.04 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey"
az vm create --resource-group $ResourceGroup --name $vmName --image Ubuntu22.04 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey
Start-Sleep -Seconds 5
Write-Output "az vm open-port --port 80,443,8443 --resource-group $ResourceGroup --name $vmName"
az vm open-port --port 80,443,8443 --resource-group $ResourceGroup --name $vmName
Expand Down