-
Notifications
You must be signed in to change notification settings - Fork 755
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
Goad4windows #194
base: main
Are you sure you want to change the base?
Goad4windows #194
Conversation
Issue on ansible execution from Windows based checked out git> "/bin/bash: ../scripts/provisionning.sh: /bin/bash^M: bad interpreter: No such file or directory" Recommended configuration for cross-platform compatibility> .gitattributes
Porting of goad.sh and check.sh to PowerShell variants incl. following new features: - Task: purge (destroy VM without confirmation) - vagrant tasks: reload, snapshot, resume, suspend, validate - optional Kali VM via -k $True/$False/O (only operate on Kali) - Enable GUI on Provider: $True/$False or 1/0 Warning: Successful provisioning tested only for VMware. VirtualBox: hanging or unreachable VMs. Proxmox: not tested. Providers are kept for testing purposed only.
- Isolate GOAD VMs by disabling nat_adapter from all machines Attention: Isolation only disables vagrant NAT interface. You have to manually disconnect the host from GOAD network. E.g. vmware: Virtual Network Editor>VMNetX (192.168.56.0)>Uncheck 'Connect a host virtual network adapter to this network - revert isolation - added documentation on PowerShell execution on GOAD
thanks a lot, very nice work, but i will need some time to test this ^^ |
Really cool! My plan was to set up the Lab on my new Win machine the next days. As I always used virtualbox so far I would like to use that there as well. Any idea why the machines are hanging? I think experienced that as well in the past, but couldn't resolve it. Did you already dig into it? Maybe I can get it to work. |
Weird, tried building it on my laptop. There the vmnet2 adapter had an ip address of 192.168.156.1. After changing that to 192.168.56.2 it worked flawlessly as well. EDIT: Same for the SCCM lab (merged in the main branch and configured the ps script so it would work with SCCM). You have to manually set an IP address in windows first |
Another bug while provisioning the SCCM lab: |
Porting of goad.sh and check.sh to PowerShell variants incl. following new features:
Info: Due to porting for windows EOL conversion for bash scripts was required and it is recommended to do this at the repository level rather than in everybody's global Git configuration.
Warning:
Successful provisioning tested only for VMware on Windows 10. VirtualBox: hanging or unreachable VMs. Proxmox: not tested. Providers are kept for testing purposed only.