This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell.exe -c "Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory Private" | |
| powershell.exe -c "Enable-PSRemoting -Force" | |
| winrm quickconfig -q | |
| winrm quickconfig -transport:http | |
| powershell.exe -c "winrm set winrm/config '@{MaxTimeoutms=\`"1800000\`"}'" | |
| powershell.exe -c "winrm set winrm/config/winrs '@{MaxMemoryPerShellMB=\`"800\`"}'" | |
| powershell.exe -c "winrm set winrm/config/service '@{AllowUnencrypted=\`"true\`"}'" | |
| powershell.exe -c "winrm set winrm/config/service/auth '@{Basic=\`"true\`"}'" | |
| powershell.exe -c "winrm set winrm/config/client/auth '@{Basic=\`"true\`"}'" | |
| netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" new enable=yes action=allow remoteip=any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "VisualEditor0", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "ec2:CreateDhcpOptions", | |
| "ec2:AuthorizeSecurityGroupIngress", | |
| "ec2:DeleteSubnet", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex((iwr -usebasicparsing 'https://gist.githubusercontent.com/clong/7dbda3f8f9d4896914d7ea2ef05ef982/raw/3b545a41f4e3dccb1964e9ed94732828b681cf80/gistfile1.txt').content ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\Users\build\DetectionLab\Vagrant> vagrant destroy -f | |
| ==> win10: Running cleanup tasks for 'reload' provisioner... | |
| ==> win10: Stopping the VMware VM... | |
| ==> win10: Deleting the VM... | |
| ==> wef: Running cleanup tasks for 'reload' provisioner... | |
| ==> wef: Stopping the VMware VM... | |
| ==> wef: Deleting the VM... | |
| Traceback (most recent call last): | |
| 103: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' | |
| 102: from C:/HashiCorp/Vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ansible-playbook -v detectionlab.yml --tags "dc" | |
| Using /Users/clong/git-repos/DetectionLab/Azure/Ansible/ansible.cfg as config file | |
| PLAY [dc] ***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** | |
| TASK [Gathering Facts] **************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** | |
| ok: [52.183.114.222] | |
| TASK [dc : Set DNS Address] ************************************** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $software = "VMware Tools"; | |
| $installed = (Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where { $_.DisplayName -eq $software }) -ne $null | |
| If ((-Not $installed) -And (Test-Path "C:\Windows\Temp\vmware-vm*")) { | |
| Write-Output "VMware Tools does not appear to be installed. Attempting to install now..." | |
| Write-Output "First, downloading and installing 7z..." | |
| if (!( Test-Path "C:\Windows\Temp\7z2102-x64.msi")) { | |
| [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://www.7-zip.org/a/7z2102-x64.msi', 'C:\Windows\Temp\7z2102-x64.msi') | |
| } | |
| if (!(Test-Path "C:\Windows\Temp\7z2102-x64.msi")) { | |
| Start-Sleep 5; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://www.7-zip.org/a/7z2102-x64.msi', 'C:\Windows\Temp\7z2102-x64.msi') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Timestamp for sample frequency every 10 min min | Temperature_Fahrenheit | |
|---|---|---|
| 2025-09-04 22:40:00 | 81.61 | |
| 2025-09-04 22:50:00 | 81.55 | |
| 2025-09-04 23:00:00 | 81.54 | |
| 2025-09-04 23:10:00 | 81.46 | |
| 2025-09-04 23:20:00 | 81.41 | |
| 2025-09-04 23:30:00 | 81.39 | |
| 2025-09-04 23:40:00 | 81.32 | |
| 2025-09-04 23:50:00 | 81.27 | |
| 2025-09-05 00:00:00 | 81.21 |
OlderNewer