mirror of
https://github.com/elisspace/Wakanda-Forever.git
synced 2026-08-29 15:44:11 +00:00
Guacozy Working
This commit is contained in:
@@ -386,16 +386,29 @@ resource "null_resource" "guac-server-setup" {
|
||||
destination = "/tmp/guac-setup.sh"
|
||||
}
|
||||
|
||||
provisioner "file" {
|
||||
source = "./files/playbook.yml"
|
||||
destination = "/tmp/playbook.yml"
|
||||
}
|
||||
|
||||
provisioner "file" {
|
||||
source = "./files/docker-compose.yml"
|
||||
destination = "/tmp/docker-compose.yml"
|
||||
}
|
||||
|
||||
provisioner "remote-exec" {
|
||||
inline = [
|
||||
"sleep 10",
|
||||
"sudo chmod +x /tmp/guac-setup.sh",
|
||||
"sudo /tmp/guac-setup.sh",
|
||||
"cd /tmp/",
|
||||
"sudo docker-compose -f docker-compose.yml up -d",
|
||||
]
|
||||
on_failure = fail
|
||||
}
|
||||
}
|
||||
|
||||
resource "null_resource" "guacozy-server-setup" {
|
||||
/* resource "null_resource" "guacozy-server-setup" {
|
||||
depends_on = [
|
||||
null_resource.guac-server-setup
|
||||
]
|
||||
@@ -423,12 +436,12 @@ resource "null_resource" "guacozy-server-setup" {
|
||||
"sleep 10",
|
||||
"cd /tmp/",
|
||||
"ansible-playbook playbook.yml",
|
||||
/* "sudo chmod +x /tmp/guacozy.sh",
|
||||
"sudo /tmp/guacozy.sh" */
|
||||
"sudo chmod +x /tmp/guacozy.sh",
|
||||
"sudo /tmp/guacozy.sh"
|
||||
]
|
||||
on_failure = continue
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
# Kali Linux Installation and setup
|
||||
resource "aws_instance" "ulysses" {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Join the Windows 10 to the domain
|
||||
Start-Sleep -Seconds 300
|
||||
Start-Sleep -Seconds 180
|
||||
$domain = "bast.land"
|
||||
$password = ConvertTo-SecureString "Password@1" -asPlainText -Force
|
||||
$username = "tsankara@bast.land"
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
# Create a directory on the C drive to store tools
|
||||
New-Item -Path 'C:\toolz' -ItemType Directory
|
||||
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
||||
|
||||
# Install some stuff
|
||||
choco install git googlechrome processhacker python burp-suite-free-edition zap autopsy 7zip adobereader adexplorer apimonitor apktool netfx-4.8 cutter dnspy ghidra golang ida-free javadecompiler-gui firefox wget -y
|
||||
|
||||
# Pause for 60 seconds
|
||||
Start-Sleep -Seconds 60
|
||||
Set-Location C:\toolz
|
||||
wget https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/archive/refs/heads/master.zip
|
||||
wget https://github.com/danielmiessler/SecLists/archive/refs/heads/master.zip
|
||||
# Start-Sleep -Seconds 60
|
||||
# Set-Location C:\toolz
|
||||
# wget https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/archive/refs/heads/master.zip
|
||||
# wget https://github.com/danielmiessler/SecLists/archive/refs/heads/master.zip
|
||||
# git clone https://github.com/r3motecontrol/Ghostpack-CompiledBinaries.git
|
||||
# git clone https://github.com/danielmiessler/SecLists.git
|
||||
|
||||
Reference in New Issue
Block a user