Exploit failed error 'undefined method 'socket' [Virtual Box]


New Member
Oct 2, 2019
Reaction score
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.
Any help would be appreciated!
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online

No members online now.

Latest posts