Exploit failed error 'undefined method 'socket' [Virtual Box]
by csharpe21 from LinuxQuestions.org on (#4RPJ3)
Using Kali Linux 2.6 (64-bit) on VirtualBox (yes, I have a Mac)
Our professor gave us a Windows server zip file to download as a VM. I added both Kali and the Windows VM on the NAT network on adapter 2 so that they can communicate with each other since VirtualBox does not do this automatically like VMware.
My main issue: Using Armitage I need to exploit the host VM (Windows>smb>ms09_050_smb2_negotiate_func_index) with reverse connection. I keep getting this error: Exploit failed: NoMethodError undefined method 'socket' for nil:NilClass.
It should create a new session where I could get admin rights, however I keep running into this error. I can't figure out how to fix this, I've tried everything I've seen online. Any help would be appreciated!


Our professor gave us a Windows server zip file to download as a VM. I added both Kali and the Windows VM on the NAT network on adapter 2 so that they can communicate with each other since VirtualBox does not do this automatically like VMware.
My main issue: Using Armitage I need to exploit the host VM (Windows>smb>ms09_050_smb2_negotiate_func_index) with reverse connection. I keep getting this error: Exploit failed: NoMethodError undefined method 'socket' for nil:NilClass.
It should create a new session where I could get admin rights, however I keep running into this error. I can't figure out how to fix this, I've tried everything I've seen online. Any help would be appreciated!