-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fails to install when running Vagrant WinRM error #59
Comments
It looks like the C:\vagrant\resources\backdoors\meterpreter.php file couldn't be found. Can you verify that file is in the cloned GitHub repo for Metasploitable3? Also, can you manually log in to Metasploitable3 and verify you can access that file. |
Interesting. I've seen a few people reporting that but have never seen it myself. What version of VirtualBox, packer, and Vagrant are you using? |
Vagrant 1.9.1 |
Thanks for that info. I'm out of date on a few of those. I'll update and rebuild to see if one of them broke something. |
I tried with a few different version combinations and was not able to reproduce the issue with the VM not starting up. I'm on OSX, though. It looks like you're on Windows, which version specifically? |
i have the same issue on kali linux with all required software from the repo |
Working now after removing from virtual box and adding again the location it was pulling from was C:\Users\Username\AppData\Local\Droid4X\vms The Working VM was in C:\Users\Username\VirtualBox VMs Exported as OVF and imported to VMware only get a blank screen in VMware. Thanks |
On Debian is the Vagrant Plugin winrm not included, manual install with: vagrant plugin install winrm winrm-fs source: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780036 |
@andyman212 Do you think there was a change in default storage location and that is why the error is popping up? Is this specific to Windows? |
I my case meterpreter.php was deleted by antivirus. :) |
Run a couple of times elevated Powershell Any Ideas please
==> default: C:\Windows\system32>rd /s /q C:\axis2
==> default: Running provisioner: shell...
default: Running: inline PowerShell script
==> default: Running provisioner: shell...
default: Running: scripts/installs/install_backdoors.bat as c:\tmp\vagrant-shell.bat
==> default: C:\Windows\system32>copy C:\vagrant\resources\backdoors\caidao.asp "C:\inetpub\wwwroot"
==> default:
==> default: 1 file(s) copied.
==> default:
==> default: C:\Windows\system32>copy C:\vagrant\resources\backdoors\mma.php "C:\wamp\www"
==> default: 1 file(s) copied.
==> default:
==> default: C:\Windows\system32>copy C:\vagrant\resources\backdoors\meterpreter.php "C:\wamp\www"
==> default:
==> default: The system cannot find the file specified.
The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
c:\tmp\vagrant-shell.bat
Stdout from the command:
Stderr from the command:
The text was updated successfully, but these errors were encountered: