Closed gearcapitan closed 7 years ago
Let me work on fixing the error described here, then you guys can try a re-build. The master branch is not in a good state right now.
@Soulence If we agree, we can try old versions of vagrant and so report some change
Ok, I just fixed it. Please try the following steps. If you are still seeing issues, please post back with the command output.
git pull
vagrant destroy
vagrant up
PS C:\Users\gearc\Documents\metasploitable3-master\metasploitable3-master> ls
Directorio: C:\Users\gearc\Documents\metasploitable3-master\metasploitable3-master
Mode LastWriteTime Length Name
d----- 30/03/2017 01:27 p. m. .github d----- 02/04/2017 08:00 p. m. .vagrant d----- 30/03/2017 01:27 p. m. answer_files d----- 30/03/2017 01:27 p. m. chef d----- 30/03/2017 01:27 p. m. iso d----- 02/04/2017 07:15 p. m. packer_cache d----- 30/03/2017 01:27 p. m. resources d----- 30/03/2017 01:27 p. m. scripts ------ 30/03/2017 01:27 p. m. 134 .gitignore ------ 30/03/2017 01:27 p. m. 4663 build_win2008.ps1 -a---- 30/03/2017 01:27 p. m. 4542 build_win2008.sh ------ 30/03/2017 01:27 p. m. 1783 COPYING ------ 30/03/2017 01:27 p. m. 3601 LICENSE ------ 30/03/2017 01:27 p. m. 2921 README.md ------ 30/03/2017 01:27 p. m. 9817 Vagrantfile ------ 30/03/2017 01:27 p. m. 1655 vagrantfile-windows_2008_r2.template ------ 30/03/2017 01:27 p. m. 2603 windows_2008_r2.json -a---- 02/04/2017 07:48 p. m. 3136281945 windows_2008_r2_virtualbox.box ------ 30/03/2017 01:27 p. m. 2374 windows_2008_r2_vmware.json
PS C:\Users\gearc\Documents\metasploitable3-master\metasploitable3-master> git pull fatal: Not a git repository (or any of the parent directories): .git
It is normal?
Hmm, sounds like some more basic configuration issues might be going on with your system. Your best bet might to just be to completely delete the metasploitable3 directory and start over from scratch. Follow the directions here.
FAIL!
==> win2k8: C:\Windows\system32>cmd /c ""C:\Program Files\elasticsearch-1.1.1\bin\service.bat" install"
==> win2k8: Installing service : "elasticsearch-service-x64"
==> win2k8: Using JAVA_HOME (64-bit): "C:\Program Files\Java\jdk1.8.0_121"
==> win2k8: The service 'elasticsearch-service-x64' has been installed.
==> win2k8: C:\Windows\system32>sc config "elasticsearch-service-x64" start= auto
==> win2k8: [SC] ChangeServiceConfig SUCCESS
==> win2k8: C:\Windows\system32>cmd /c ""C:\Program Files\elasticsearch-1.1.1\bin\service.bat" start"
==> win2k8: The service 'elasticsearch-service-x64' has been started
==> win2k8: C:\Windows\system32>powershell -Command "Start-Sleep -s 30"
==> win2k8: C:\Windows\system32>powershell -Command "$req = [System.Net.HttpWebRequest]::Create('http://localhost:9200/m
etasploitable3/'); $req.method = 'PUT'; $req.GetResponse()"
==> win2k8: Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the
==> win2k8: remote server"
==> win2k8: At line:1 char:124
==> win2k8: + $req = [System.Net.HttpWebRequest]::Create('http://localhost:9200/metasploita
==> win2k8: ble3/'); $req.method = 'PUT'; $req.GetResponse <<<< ()
==> win2k8: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
==> win2k8: + FullyQualifiedErrorId : DotNetMethodException
==> win2k8: C:\Windows\system32>powershell -Command "$body = [System.Text.Encoding]::ASCII.GetBytes('{\"user\":\"kimchy\
", \"post_date\": \"2009-11-15T14:12:12\", \"message\": \"Elasticsearch\" }'); $req = [System.Net.HttpWebRequest]::Creat
e('http://localhost:9200/metasploitable3/message/1'); $req.method = 'PUT'; $req.ContentType = 'application/x-www-form-ur
lencoded'; $stream = $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close(); $req.GetResponse()
"
==> win2k8: Exception calling "GetRequestStream" with "0" argument(s): "Unable to connect t
==> win2k8: o the remote server"
==> win2k8: At line:1 char:338
==> win2k8: + $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
==> win2k8: : "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
==> win2k8: pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
==> win2k8: ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
==> win2k8: = $req.GetRequestStream <<<< (); $stream.Write($body, 0, $body.Length); $stream
==> win2k8: .close(); $req.GetResponse()
==> win2k8: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
==> win2k8: + FullyQualifiedErrorId : DotNetMethodException
==> win2k8: You cannot call a method on a null-valued expression.
==> win2k8: At line:1 char:355
==> win2k8: + $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
==> win2k8: : "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
==> win2k8: pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
==> win2k8: ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
==> win2k8: = $req.GetRequestStream(); $stream.Write <<<< ($body, 0, $body.Length); $stream
==> win2k8: .close(); $req.GetResponse()
==> win2k8: + CategoryInfo : InvalidOperation: (Write:String) [], RuntimeExce
==> win2k8: ption
==> win2k8: + FullyQualifiedErrorId : InvokeMethodOnNull
==> win2k8: You cannot call a method on a null-valued expression.
==> win2k8: At line:1 char:394
==> win2k8: + $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
==> win2k8: : "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
==> win2k8: pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
==> win2k8: ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
==> win2k8: = $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close
==> win2k8: <<<< (); $req.GetResponse()
==> win2k8: + CategoryInfo : InvalidOperation: (close:String) [], RuntimeExce
==> win2k8: ption
==> win2k8: + FullyQualifiedErrorId : InvokeMethodOnNull
==> win2k8: Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the
==> win2k8: remote server"
==> win2k8: At line:1 char:414
==> win2k8: + $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
==> win2k8: : "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
==> win2k8: pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
==> win2k8: ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
==> win2k8: = $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close
==> win2k8: (); $req.GetResponse <<<< ()
==> win2k8: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
==> win2k8: + FullyQualifiedErrorId : DotNetMethodException
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:
C:\Windows\system32>powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://repo1.maven.org/maven2/o
rg/elasticsearch/elasticsearch/1.1.1/elasticsearch-1.1.1.zip', 'C:\Windows\Temp\elasticsearch-1.1.1.zip')" 0<NUL
C:\Windows\system32>cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\elasticsearch-1.1.1.zip" -o"C:\Program Fi
les\""
7-Zip [64] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
Scanning the drive for archives:
1 file, 22608755 bytes (22 MiB)
Extracting archive: C:\Windows\Temp\elasticsearch-1.1.1.zip
--
Path = C:\Windows\Temp\elasticsearch-1.1.1.zip
Type = zip
Physical Size = 22608755
Everything is Ok
Folders: 5
Files: 48
Size: 25590291
Compressed: 22608755
C:\Windows\system32>cmd /c ""C:\Program Files\elasticsearch-1.1.1\bin\service.bat" install"
Installing service : "elasticsearch-service-x64"
Using JAVA_HOME (64-bit): "C:\Program Files\Java\jdk1.8.0_121"
The service 'elasticsearch-service-x64' has been installed.
C:\Windows\system32>sc config "elasticsearch-service-x64" start= auto
[SC] ChangeServiceConfig SUCCESS
C:\Windows\system32>cmd /c ""C:\Program Files\elasticsearch-1.1.1\bin\service.bat" start"
The service 'elasticsearch-service-x64' has been started
C:\Windows\system32>powershell -Command "Start-Sleep -s 30"
C:\Windows\system32>powershell -Command "$req = [System.Net.HttpWebRequest]::Create('http://localhost:9200/metasploitabl
e3/'); $req.method = 'PUT'; $req.GetResponse()"
C:\Windows\system32>powershell -Command "$body = [System.Text.Encoding]::ASCII.GetBytes('{\"user\":\"kimchy\", \"post_da
te\": \"2009-11-15T14:12:12\", \"message\": \"Elasticsearch\" }'); $req = [System.Net.HttpWebRequest]::Create('http://lo
calhost:9200/metasploitable3/message/1'); $req.method = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $
stream = $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close(); $req.GetResponse()"
Stderr from the command:
Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the
remote server"
At line:1 char:124
+ $req = [System.Net.HttpWebRequest]::Create('http://localhost:9200/metasploita
ble3/'); $req.method = 'PUT'; $req.GetResponse <<<< ()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
Exception calling "GetRequestStream" with "0" argument(s): "Unable to connect t
o the remote server"
At line:1 char:338
+ $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
: "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
= $req.GetRequestStream <<<< (); $stream.Write($body, 0, $body.Length); $stream
.close(); $req.GetResponse()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
You cannot call a method on a null-valued expression.
At line:1 char:355
+ $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
: "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
= $req.GetRequestStream(); $stream.Write <<<< ($body, 0, $body.Length); $stream
.close(); $req.GetResponse()
+ CategoryInfo : InvalidOperation: (Write:String) [], RuntimeExce
ption
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At line:1 char:394
+ $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
: "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
= $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close
<<<< (); $req.GetResponse()
+ CategoryInfo : InvalidOperation: (close:String) [], RuntimeExce
ption
+ FullyQualifiedErrorId : InvokeMethodOnNull
Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the
remote server"
At line:1 char:414
+ $body = [System.Text.Encoding]::ASCII.GetBytes('{"user":"kimchy", "post_date"
: "2009-11-15T14:12:12", "message": "Elasticsearch" }'); $req = [System.Net.Htt
pWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.m
ethod = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream
= $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close
(); $req.GetResponse <<<< ()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
PS C:\Users\gearc\Documents\metasploitable3-master\metasploitable3-master>
According to that output it looks like you couldn't hit the ElasticSearch download location. I'm building locally now to see if I get the same behavior.
Worked fine on my end:
==> default: Running provisioner: shell...
default: Running: scripts/installs/install_elasticsearch.bat as c:\tmp\vagrant-shell.bat
==> default: C:\Windows\system32>powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch/1.1.1/elasticsearch-1.1.1.zip', 'C:\Windows\Temp\elasticsearch-1.1.1.zip')" 0<NUL
==> default: C:\Windows\system32>cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\elasticsearch-1.1.1.zip" -o"C:\Program Files\""
==> default:
==> default: 7-Zip [64] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
==> default:
==> default: Scanning the drive for archives:
==> default: 1 file, 22608755 bytes (22 MiB)
==> default:
==> default: Extracting archive: C:\Windows\Temp\elasticsearch-1.1.1.zip
==> default: --
==> default: Path = C:\Windows\Temp\elasticsearch-1.1.1.zip
==> default: Type = zip
==> default: Physical Size = 22608755
==> default:
==> default: Everything is Ok
==> default:
==> default: Folders: 5
==> default: Files: 48
==> default: Size: 25590291
==> default: Compressed: 22608755
==> default: C:\Windows\system32>cmd /c ""C:\Program Files\elasticsearch-1.1.1\bin\service.bat" install"
==> default: Installing service : "elasticsearch-service-x64"
==> default:
==> default: Using JAVA_HOME (64-bit): "C:\Program Files\Java\jdk1.8.0_121"
==> default: The service 'elasticsearch-service-x64' has been installed.
==> default: C:\Windows\system32>sc config "elasticsearch-service-x64" start= auto
==> default: [SC] ChangeServiceConfig SUCCESS
==> default: C:\Windows\system32>cmd /c ""C:\Program Files\elasticsearch-1.1.1\bin\service.bat" start"
==> default: The service 'elasticsearch-service-x64' has been started
==> default:
==> default: C:\Windows\system32>powershell -Command "Start-Sleep -s 30"
==> default: C:\Windows\system32>powershell -Command "$req = [System.Net.HttpWebRequest]::Create('http://localhost:9200/metasploitable3/'); $req.method = 'PUT'; $req.GetResponse()"
==> default:
==> default: IsMutuallyAuthenticated : False
==> default: Cookies : {}
==> default: Headers : {Content-Length, Content-Type}
==> default: ContentLength : 21
==> default: ContentEncoding :
==> default: ContentType : application/json; charset=UTF-8
==> default: CharacterSet : UTF-8
==> default: Server :
==> default: LastModified : 4/3/2017 12:45:34 PM
==> default: StatusCode : OK
==> default: StatusDescription : OK
==> default: ProtocolVersion : 1.1
==> default: ResponseUri : http://localhost:9200/metasploitable3/
==> default: Method : PUT
==> default: IsFromCache : False
==> default: C:\Windows\system32>powershell -Command "$body = [System.Text.Encoding]::ASCII.GetBytes('{\"user\":\"kimchy\", \"post_date\": \"2009-11-15T14:12:12\", \"message\": \"Elasticsearch\" }'); $req = [System.Net.HttpWebRequest]::Create('http://localhost:9200/metasploitable3/message/1'); $req.method = 'PUT'; $req.ContentType = 'application/x-www-form-urlencoded'; $stream = $req.GetRequestStream(); $stream.Write($body, 0, $body.Length); $stream.close(); $req.GetResponse()"
==> default: IsMutuallyAuthenticated : False
==> default: Cookies : {}
==> default: Headers : {Content-Length, Content-Type}
==> default: ContentLength : 84
==> default: ContentEncoding :
==> default: ContentType : application/json; charset=UTF-8
==> default: CharacterSet : UTF-8
==> default: Server :
==> default: LastModified : 4/3/2017 12:45:35 PM
==> default: StatusCode : Created
==> default: StatusDescription : Created
==> default: ProtocolVersion : 1.1
==> default: ResponseUri : http://localhost:9200/metasploitable3/message/1
==> default: Method : PUT
==> default: IsFromCache : False
The output in your last comment appears to be truncated. Can you please post the full output from the elasticsearch step of the vagrant up
command?
Also, if you open up the VM in VirtualBox, open Internet Explorer, and try to go to "http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch/1.1.1/elasticsearch-1.1.1.zip". Does that request succeed?
@jbarnett-r7 It seems as if the script does not end but this time does not show any error it just ends but the vm does not start
Hey @gearcapitan Can you please upload the VBox.log
file which is present in the vagrant box folder, so that the issue could be well understood.
The log file will generally be within the $HOME/VirtualBox VMs/{machinename}/Logs
folder. If not found, please use, the following commands to create log files and then upload them. (Refer vagrant documentation)
$ set VAGRANT_LOG=info
$ vagrant up --debug > vagrant.log 2>&1
@Chan9390
VirtualBox VM 5.1.18 r114002 win.amd64 (Mar 15 2017 16:16:14) release log
00:00:01.330246 Log opened 2017-04-03T21:12:55.815505200Z
00:00:01.330248 Build Type: release
00:00:01.330254 OS Product: Windows 10
00:00:01.330256 OS Release: 10.0.14393
00:00:01.330257 OS Service Pack:
00:00:01.435048 DMI Product Name: Satellite S855D
00:00:01.440850 DMI Product Version: PSKG2M-01FTM1
00:00:01.440866 Host RAM: 15841MB (15.4GB) total, 8042MB (7.8GB) available
00:00:01.440869 Executable: C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe
00:00:01.440870 Process ID: 8384
00:00:01.440871 Package type: WINDOWS_64BITS_GENERIC
00:00:01.442169 Installed Extension Packs:
00:00:01.442256 None installed!
00:00:01.443272 Console: Machine state changed to 'Starting'
00:00:01.444965 VRDE: VirtualBox Remote Desktop Extension is not available.
00:00:01.531450 SUP: Opened VMMR0.r0 (C:\Program Files\Oracle\VirtualBox\VMMR0.r0) at 0xfffff804e8d80000 loaded by the native ring-0 loader.
00:00:01.531473 SUP: windbg> .reload /f C:\Program Files\Oracle\VirtualBox\VMMR0.r0=0xfffff804e8d80000
00:00:01.534912 Guest OS type: 'Windows2008_64'
00:00:01.536365 fHMForced=true - SMP
00:00:01.536375 fHMForced=true - 64-bit guest
00:00:01.539565 File system of 'C:\Users\gearc\VirtualBox VMs\metasploitable3_default_1491252283380_72218\Snapshots' (snapshots) is unknown
00:00:01.539586 File system of 'C:\Users\gearc\VirtualBox VMs\metasploitable3_default_1491252283380_72218\packer-virtualbox-iso-1491245017-disk001.vmdk' is ntfs
00:00:01.770513 Shared clipboard service loaded
00:00:01.770531 Shared clipboard mode: Bidirectional
00:00:01.781153 Drag and drop service loaded
00:00:01.781165 Drag and drop mode: Off
00:00:01.851011 Guest Control service loaded
00:00:01.853246 Per-VM extradata API settings:
00:00:01.853268 VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant="1"
00:00:01.853584 CFGM dump
00:00:01.853586 [/] (level 0)
00:00:01.853589 CSAMEnabled 00000007 ( x87 SSE YMM_Hi128 ) 00:00:02.608826 Valid XCR0 bits, host: 0x40000000
00000007 ( x87 SSE YMM_Hi128 LWP )
00:00:02.608829 XSAVE features, guest:
00:00:02.608830 XSAVE features, host:
00:00:02.608832 XSAVE area cur size XCR0|XSS, guest: 0x0
00:00:02.608833 XSAVE area cur size XCR0|XSS, host: 0x0
00:00:02.608834 Valid IA32_XSS bits, guest: 0x0000000000000000 00:00:02.608835 Valid IA32_XSS bits, host: 0x00000000
00000000
00:00:02.608836 State #2, guest: off=0x0240, cb=0x0100 IA32_XSS-bit -- YMM_Hi128
00:00:02.608838 State #2, host: off=0x0240, cb=0x0100 IA32_XSS-bit -- YMM_Hi128
00:00:02.608844 State #62, host: off=0x0340, cb=0x0080 IA32_XSS-bit -- LWP
00:00:02.608847 Raw Hypervisor CPUID Leaves
00:00:02.608847 Leaf/sub-leaf eax ebx ecx edx
00:00:02.608848 Gst: 40000000/0000 40000006 786f4256 786f4256 786f4256
00:00:02.608850 Hst: 00000000 00000000 00000000 00000000
00:00:02.608851 Gst: 40000001/0000 31237648 00000000 00000000 00000000
00:00:02.608853 Hst: 00000000 00000000 00000000 00000000
00:00:02.608854 Gst: 40000002/0000 00000000 00000000 00000000 00000000
00:00:02.608855 Hst: 00000000 00000000 00000000 00000000
00:00:02.608856 Gst: 40000003/0000 00000af2 00000000 00000000 00000500
00:00:02.608858 Hst: 00000000 00000000 00000000 00000000
00:00:02.608859 Gst: 40000004/0000 00000030 ffffffff 00000000 00000000
00:00:02.608860 Hst: 00000000 00000000 00000000 00000000
00:00:02.608861 Gst: 40000006/0000 0000000a 00000000 00000000 00000000
00:00:02.608863 Hst: 00000000 00000000 00000000 00000000
00:00:02.608864 Raw Extended CPUID Leaves
00:00:02.608864 Leaf/sub-leaf eax ebx ecx edx
00:00:02.608865 Gst: 80000000/0000 8000001e 68747541 444d4163 69746e65
00:00:02.608867 Hst: 8000001e 68747541 444d4163 69746e65
00:00:02.608868 Gst: 80000001/0000 00610f01 10000000 000001f3 2bd3fb7f
00:00:02.608870 Hst: 00610f01 10000000 01abbfff 2fd3fbff
00:00:02.608872 Gst: 80000002/0000 20444d41 2d303141 30303634 5041204d
00:00:02.608873 Hst: 20444d41 2d303141 30303634 5041204d
00:00:02.608875 Gst: 80000003/0000 69772055 52206874 6f656461 6d74286e
00:00:02.608877 Hst: 69772055 52206874 6f656461 6d74286e
00:00:02.608878 Gst: 80000004/0000 44482029 61724720 63696870 00202073
00:00:02.608880 Hst: 44482029 61724720 63696870 00202073
00:00:02.608881 Gst: 80000005/0000 ff40ff18 ff40ff30 10040140 40020140
00:00:02.608883 Hst: ff40ff18 ff40ff30 10040140 40020140
00:00:02.608885 Gst: 80000006/0000 64006400 64004200 08008140 00000000
00:00:02.608886 Hst: 64006400 64004200 08008140 00000000
00:00:02.608888 Gst: 80000007/0000 00000000 00000000 00000000 00000000
00:00:02.608889 Hst: 00000000 00000000 00000000 000007d9
00:00:02.608890 Gst: 80000008/0000 00003030 00000000 00000001 00000000
00:00:02.608892 Hst: 00003030 00000000 00004003 00000000
00:00:02.608893 Gst: 80000009/0000 00000000 00000000 00000000 00000000
00:00:02.608894 Hst: 00000000 00000000 00000000 00000000
00:00:02.608895 Gst: 8000000a/0000 00000000 00000000 00000000 00000000
00:00:02.608896 Hst: 00000001 00010000 00000000 00001cff
00:00:02.608897 Gst: 8000000b/0000 00000000 00000000 00000000 00000000
00:00:02.608899 Hst: 00000000 00000000 00000000 00000000
00:00:02.608900 Gst: 8000000c/0000 00000000 00000000 00000000 00000000
00:00:02.608901 Hst: 00000000 00000000 00000000 00000000
00:00:02.608902 Gst: 8000000d/0000 00000000 00000000 00000000 00000000
00:00:02.608903 Hst: 00000000 00000000 00000000 00000000
00:00:02.608904 Gst: 8000000e/0000 00000000 00000000 00000000 00000000
00:00:02.608905 Hst: 00000000 00000000 00000000 00000000
00:00:02.608906 Gst: 8000000f/0000 00000000 00000000 00000000 00000000
00:00:02.608908 Hst: 00000000 00000000 00000000 00000000
00:00:02.608909 Gst: 80000010/0000 00000000 00000000 00000000 00000000
00:00:02.608910 Hst: 00000000 00000000 00000000 00000000
00:00:02.608911 Gst: 80000011/0000 00000000 00000000 00000000 00000000
00:00:02.608912 Hst: 00000000 00000000 00000000 00000000
00:00:02.608913 Gst: 80000012/0000 00000000 00000000 00000000 00000000
00:00:02.608914 Hst: 00000000 00000000 00000000 00000000
00:00:02.608915 Gst: 80000013/0000 00000000 00000000 00000000 00000000
00:00:02.608917 Hst: 00000000 00000000 00000000 00000000
00:00:02.608918 Gst: 80000014/0000 00000000 00000000 00000000 00000000
00:00:02.608919 Hst: 00000000 00000000 00000000 00000000
00:00:02.608920 Gst: 80000015/0000 00000000 00000000 00000000 00000000
00:00:02.608921 Hst: 00000000 00000000 00000000 00000000
00:00:02.608922 Gst: 80000016/0000 00000000 00000000 00000000 00000000
00:00:02.608923 Hst: 00000000 00000000 00000000 00000000
00:00:02.608924 Gst: 80000017/0000 00000000 00000000 00000000 00000000
00:00:02.608926 Hst: 00000000 00000000 00000000 00000000
00:00:02.608926 Gst: 80000018/0000 00000000 00000000 00000000 00000000
00:00:02.608928 Hst: 00000000 00000000 00000000 00000000
00:00:02.608929 Gst: 80000019/0000 f040f018 64006400 00000000 00000000
00:00:02.608930 Hst: f040f018 64006400 00000000 00000000
00:00:02.608931 Gst: 8000001a/0000 00000003 00000000 00000000 00000000
00:00:02.608933 Hst: 00000003 00000000 00000000 00000000
00:00:02.608934 Gst: 8000001b/0000 00000000 00000000 00000000 00000000
00:00:02.608935 Hst: 000000ff 00000000 00000000 00000000
00:00:02.608936 Gst: 8000001c/0000 00000000 00000000 00000000 00000000
00:00:02.608937 Hst: 00000000 80032013 00010200 8000000f
00:00:02.608939 Gst: 8000001d/0000 00000121 00c0003f 0000003f 00000000
00:00:02.608940 Hst: 00000121 00c0003f 0000003f 00000000
00:00:02.608941 Gst: 8000001d/0001 00004122 0040003f 000001ff 00000000
00:00:02.608943 Hst: 00004122 0040003f 000001ff 00000000
00:00:02.608944 Gst: 8000001d/0002 00004143 03c0003f 000007ff 00000001
00:00:02.608946 Hst: 00004143 03c0003f 000007ff 00000001
00:00:02.608947 Gst: 8000001d/0003 00000000 00000000 00000000 00000000
00:00:02.608948 Hst: 00000000 00000000 00000000 00000000
00:00:02.608950 Gst: 8000001e/0000 00000000 00000100 00000000 00000000
00:00:02.608951 Hst: 00000011 00000100 00000000 00000000
00:00:02.608952 Ext Name: AuthenticAMD
00:00:02.608953 Ext Supports: 0x80000000-0x8000001e
00:00:02.608954 Family: 15 Extended: 6 Effective: 21
00:00:02.608955 Model: 0 Extended: 1 Effective: 16
00:00:02.608956 Stepping: 1
00:00:02.608957 Brand ID: 0x000
00:00:02.608960 Ext Features
00:00:02.608961 Mnemonic - Description = guest (host)
00:00:02.608962 FPU - x87 FPU on Chip = 1 (1)
00:00:02.608964 VME - Virtual 8086 Mode Enhancements = 1 (1)
00:00:02.608965 DE - Debugging extensions = 1 (1)
00:00:02.608967 PSE - Page Size Extension = 1 (1)
00:00:02.608968 TSC - Time Stamp Counter = 1 (1)
00:00:02.608970 MSR - K86 Model Specific Registers = 1 (1)
00:00:02.608971 PAE - Physical Address Extension = 1 (1)
00:00:02.608973 MCE - Machine Check Exception = 0 (1)
00:00:02.608974 CX8 - CMPXCHG8B instruction = 1 (1)
00:00:02.608976 APIC - APIC On-Chip = 1 (1)
00:00:02.608977 SEP - SYSCALL/SYSRET = 1 (1)
00:00:02.608979 MTRR - Memory Type Range Registers = 1 (1)
00:00:02.608980 PGE - PTE Global Bit = 1 (1)
00:00:02.608982 MCA - Machine Check Architecture = 1 (1)
00:00:02.608983 CMOV - Conditional Move instructions = 1 (1)
00:00:02.608985 PAT - Page Attribute Table = 1 (1)
00:00:02.608986 PSE-36 - 36-bit Page Size Extension = 1 (1)
00:00:02.608987 NX - No-Execute/Execute-Disable = 1 (1)
00:00:02.608989 AXMMX - AMD Extensions to MMX instructions = 1 (1)
00:00:02.608990 MMX - Intel MMX Technology = 1 (1)
00:00:02.608992 FXSR - FXSAVE and FXRSTOR Instructions = 1 (1)
00:00:02.608993 FFXSR - AMD fast FXSAVE and FXRSTOR instructions = 1 (1)
00:00:02.608994 Page1GB - 1 GB large page = 0 (1)
00:00:02.608995 RDTSCP - RDTSCP instruction = 1 (1)
00:00:02.608997 LM - AMD64 Long Mode = 1 (1)
00:00:02.608998 3DNOWEXT - AMD Extensions to 3DNow = 0 (0)
00:00:02.609000 3DNOW - AMD 3DNow = 0 (0)
00:00:02.609001 LahfSahf - LAHF/SAHF support in 64-bit mode = 1 (1)
00:00:02.609003 CmpLegacy - Core multi-processing legacy mode = 1 (1)
00:00:02.609004 SVM - AMD VM extensions = 0 (1)
00:00:02.609006 EXTAPIC - AMD Extended APIC registers = 0 (1)
00:00:02.609007 CR8L - AMD LOCK MOV CR0 means MOV CR8 = 1 (1)
00:00:02.609008 ABM - AMD Advanced Bit Manipulation = 1 (1)
00:00:02.609010 SSE4A - SSE4A instructions = 1 (1)
00:00:02.609011 MISALIGNSSE - AMD Misaligned SSE mode = 1 (1)
00:00:02.609012 3DNOWPRF - AMD PREFETCH and PREFETCHW instructions = 1 (1)
00:00:02.609014 OSVW - AMD OS Visible Workaround = 0 (1)
00:00:02.609015 IBS - Instruct Based Sampling = 0 (1)
00:00:02.609017 XOP - Extended Operation support = 0 (1)
00:00:02.609018 SKINIT - SKINIT, STGI, and DEV support = 0 (1)
00:00:02.609019 WDT - AMD Watchdog Timer support = 0 (1)
00:00:02.609021 LWP - Lightweight Profiling support = 0 (1)
00:00:02.609022 FMA4 - Four operand FMA instruction support = 0 (1)
00:00:02.609023 17 - Reserved = 0 (1)
00:00:02.609025 NodeId - NodeId in MSR C001_100C = 0 (1)
00:00:02.609027 TBM - Trailing Bit Manipulation instructions = 0 (1)
00:00:02.609028 TOPOEXT - Topology Extensions = 0 (0)
00:00:02.609029 23 - Reserved = 0 (1)
00:00:02.609031 24 - Reserved = 0 (1)
00:00:02.609033 Full Name: "AMD A10-4600M APU with Radeon(tm) HD Graphics "
00:00:02.609035 TLB 2/4M Instr/Uni: fully 24 entries
00:00:02.609037 TLB 2/4M Data: fully 64 entries
00:00:02.609039 TLB 4K Instr/Uni: fully 48 entries
00:00:02.609041 TLB 4K Data: fully 64 entries
00:00:02.609042 L1 Instr Cache Line Size: 64 bytes
00:00:02.609043 L1 Instr Cache Lines Per Tag: 1
00:00:02.609044 L1 Instr Cache Associativity: 2 way
00:00:02.609045 L1 Instr Cache Size: 64 KB
00:00:02.609046 L1 Data Cache Line Size: 64 bytes
00:00:02.609047 L1 Data Cache Lines Per Tag: 1
00:00:02.609047 L1 Data Cache Associativity: 4 way
00:00:02.609048 L1 Data Cache Size: 16 KB
00:00:02.609049 L2 TLB 2/4M Instr/Uni: 8 way 1024 entries
00:00:02.609050 L2 TLB 2/4M Data: 8 way 1024 entries
00:00:02.609051 L2 TLB 4K Instr/Uni: 4 way 512 entries
00:00:02.609052 L2 TLB 4K Data: 8 way 1024 entries
00:00:02.609053 L2 Cache Line Size: 0 bytes
00:00:02.609053 L2 Cache Lines Per Tag: 0
00:00:02.609054 L2 Cache Associativity: off
00:00:02.609055 L2 Cache Size: 0 KB
00:00:02.609056 APM Features:
00:00:02.609057 Host Invariant-TSC support: true
00:00:02.609058 Physical Address Width: 48 bits
00:00:02.609058 Virtual Address Width: 48 bits
00:00:02.609059 Guest Physical Address Width: 0 bits
00:00:02.609060 Physical Core Count: 2
00:00:02.609061
00:00:02.609062 **** End of CPUID dump **
00:00:02.628079 PcBios: ATA LUN#0 LCHS=1024/255/63
00:00:02.628121 APIC: fPostedIntrsEnabled=false fVirtApicRegsEnabled=false fSupportsTscDeadline=false
00:00:02.628135 VMEmt: Halt method global1 (5)
00:00:02.628172 VMEmt: HaltedGlobal1 config: cNsSpinBlockThresholdCfg=50000
00:00:02.628192 Changing the VM state from 'CREATING' to 'CREATED'
00:00:02.629223 SharedFolders host service: Adding host mapping
00:00:02.629249 Host path '\?\C:\Users\gearc\Documents\metasploitable3', map name 'vagrant', writable, automount=false, create_symlinks=true, missing=false
00:00:02.629458 Changing the VM state from 'CREATED' to 'POWERING_ON'
00:00:02.629649 Changing the VM state from 'POWERING_ON' to 'RUNNING'
00:00:02.629670 Console: Machine state changed to 'Running'
00:00:02.634385 VMMDev: Guest Log: BIOS: VirtualBox 5.1.18
00:00:02.636476 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:02.652915 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x1
00:00:02.660967 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:02.661050 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:02.661715 VMMDev: Guest Log: BIOS: ata0-0: PCHS=16383/16/63 LCHS=1024/255/63
00:00:02.662644 PIIX3 ATA: Ctl#0: RESET, DevSel=1 AIOIf=0 CmdIf0=0xec (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:02.663217 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:02.676382 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
00:00:02.696795 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000007b90000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x1
00:00:03.418424 NAT: Old socket recv size: 64KB
00:00:03.418469 NAT: Old socket send size: 64KB
00:00:05.157927 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x1
00:00:05.162972 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:05.163370 VMMDev: Guest Log: BIOS: Boot : bseqnr=1, bootseq=0032
00:00:05.163764 VMMDev: Guest Log: BIOS: Booting from Hard Disk...
00:00:05.374199 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000007b90000 w=1024 h=768 bpp=24 cbLine=0xC00 flags=0x1
00:00:06.442585 RTC: period=0x200 (512) 64 Hz
00:00:06.638806 GIM: HyperV: Guest OS reported ID 0x1040601011db1
00:00:06.638841 GIM: HyperV: Open-source=false Vendor=0x1 OS=0x4 (Windows NT or derivative) Major=6 Minor=1 ServicePack=1 Build=7601
00:00:06.638879 GIM: HyperV: Enabled hypercall page at 0x0000000000487000
00:00:06.638914 GIM: HyperV: Enabled TSC page at 0x0000000000488000 - u64TscScale=0x11d788100000000 u64TscKHz=0x2307a5 (2 295 717) Seq=1
00:00:06.638980 TM: Switching TSC mode from 'VirtTscEmulated' to 'RealTscOffset'
00:00:06.655748 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000007b90000 w=640 h=480 bpp=0 cbLine=0x140 flags=0x1
00:00:07.534097 CPUM: VCPU 1: Cached APIC base MSR = 0xfee00800
00:00:09.574024 VMMDev: Guest Log: VBoxGuest: Windows version 6.1, build 7601
00:00:09.598283 VMMDev: Guest Additions information report: Version 5.1.18 r114002 '5.1.18'
00:00:09.599881 VMMDev: Guest Additions information report: Interface = 0x00010004 osType = 0x00037100 (Windows 7, 64-bit)
00:00:09.600078 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
00:00:09.600249 VMMDev: Guest reported fixed hypervisor window at 00002c00000 LB 0xc00000 (rc=VINF_SUCCESS)
00:00:09.600284 VMMDev: vmmDevReqHandler_HeartbeatConfigure: No change (fHeartbeatActive=false).
00:00:09.600308 VMMDev: Heartbeat flatline timer set to trigger after 4 000 000 000 ns
00:00:11.710570 VMMDev: Guest Log: VBoxMP::DriverEntry: VBox XPDM Driver for Windows version 5.1.18r114002, 64 bit; Built Mar 15 2017 16:37:49
00:00:12.141201 VMMDev: Guest Log: VBoxMP::VBoxDrvFindAdapter: using HGSMI
00:00:12.923327 VMMDev: Guest Log: VBoxDisp[0]: VBVA enabled
00:00:12.923371 VBVA: InfoScreen: [0] @0,0 1024x768, line 0x1000, BPP 32, flags 0x1
00:00:12.923383 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000007b90000 w=1024 h=768 bpp=32 cbLine=0x1000 flags=0x1
00:00:14.280510 NAT: Link up
00:00:14.293348 NAT: DHCP offered IP address 10.0.2.15
00:00:14.302231 NAT: IPv6 not supported
00:00:18.833616 NAT: DHCP offered IP address 10.0.2.15
00:00:22.408958 NAT: DHCP offered IP address 10.0.2.15
00:00:30.622720 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
00:05:11.843376 NAT: DHCP offered IP address 10.0.2.15
00:06:19.742360 NAT: DHCP offered IP address 10.0.2.15
00:09:01.722713 NAT: DHCP offered IP address 10.0.2.15
00:10:53.235013 NAT: DHCP offered IP address 10.0.2.15
The possible reason I could think as of now is it is a known virtualbox bug for Windows 10 : ( Refer http://stackoverflow.com/questions/31736495/virtualbox-windows-10-64-bit-host-the-vm-session-was-aborted ) but not sure as you are using the latest virtualbox. Try Menu -> Machine -> Reset all warnings (might work)
Then you think if I use an older version of virtualbox, will it work? @Chan9390
I see that you have the latest version of VirtualBox (VirtualBox VM 5.1.18 r114002 from logs). Try downgrading to a different version. Mine is 5.1.14 and the setup is working fine.
well well. I will try and report any changes
@Chan9390 Try what you said about using a previous version of virutal box but this is the result
The above image shows that the vagrant image is working pretty fine, but the installation script doesnt work. This issue is same as issues #64 and #69, but I see that the issue #69 was resolved in the commit 5130f49. Are you using the latest metasploitable git package ?
@Chan9390 @jbarnett-r7 I use previous versions of virtualbox and this is what happened, the error is the same already and echo what they have suggested but it has not worked and if you create a version with a thick version of packer, vagrant, and virtualbox, a The last time I went, maybe the one that is not working also makes people feel less interested in downloading it, I can contribute by trying over and over as many times as necessary, I would really like it if it works, if they believe Something missing to prove, tell me And if you ask, if you do fix the glassfish and give that error
It looks like you're now seeing the same issue as in #115. I'm going to close this one out since the original problem was resolved by downgrading VirtualBox and we can track the glassfish issue in the other thread.
Issue Description
:/ why?
Host System
Command Output
C:\Windows\system32>sc config domain1 obj= "NT Authority\LOCAL SERVICE" [SC] OpenService FAILED 1060:
The specified service does not exist as an installed service.
Stderr from the command:
The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The service name is invalid.
More help is available by typing NET HELPMSG 2185.
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
PS C:\Users\gearc\Documents\metasploitable3-master>