Metasploit-framework: Socks 5 and Socks4 servers stopped working in the latest release

Created on 24 Feb 2019  Â·  6Comments  Â·  Source: rapid7/metasploit-framework

Steps to reproduce

How'd you do it?

  1. use auxiliary/server/socks4a
  2. run -j

This section should also tell us any relevant information about the
environment; for example, if an exploit that used to work is failing,
tell us the victim operating system and service versions.

Expected behavior

Socks4a or 5 server should start and run as a job in the background

Current behavior

Error is generated:
[-] Auxiliary failed: option RHOSTS failed to validate.

Line 128 generates the errror:

embedded/framework/lib/msf/ui/console/command_dispatcher/auxiliary.rb

Looking one version back, there is a big difference in code. However, both 4a and 5 socket server scripts are still the same.

In version Framework: 4.17.29-dev, Console : 4.17.29-dev everything was still working fine.

System stuff

Metasploit version

5.0.9f-dev

I installed Metasploit with:

  • [ ] Commercial/Community installer (from http://www.rapid7.com/products/metasploit/download.jsp)

OS

CentOS 7.6.1810
Kernel: 3.10.0-693.11.6.el7.x86_64

bug

Most helpful comment

The above patch should fix it. If it looks good we'll merge and get a new release spun up.

All 6 comments

Oh boy i thought i was going crazy for seeing that it wasn't working anymore...
To add onto it:
If I add RHOSTS then the message changes further:

msf5 auxiliary(server/socks4a) > run
[-] Auxiliary failed: Msf::MissingActionError Invalid action: Please use: Proxy
[-] Call stack:

Yup correct. Then it says something like please use proxy

Get Outlook for Androidhttps://aka.ms/ghei36


From: tabhasan notifications@github.com
Sent: Monday, February 25, 2019 12:58:39 AM
To: rapid7/metasploit-framework
Cc: Victor Angelier CCX; Author
Subject: Re: [rapid7/metasploit-framework] Socks 5 and Socks4 servers stopped working in the latest release (#11474)

Oh boy i thought i was going crazy for seeing that it wasn't working anymore...
To add onto it:
If I add RHOSTS then the message changes further:

msf5 auxiliary(server/socks4a) > run
[-] Auxiliary failed: Msf::MissingActionError Invalid action: Please use: Proxy
[-] Call stack:

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/rapid7/metasploit-framework/issues/11474#issuecomment-466831865, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAvqMDP5NXwVR0kPRCgxoxxiNzrBuySQks5vQycvgaJpZM4bOiau.

I have the same issue

The above patch should fix it. If it looks good we'll merge and get a new release spun up.

Sweet! thanks, will try

The fix is merged now, thanks for the report.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ortholinux picture ortholinux  Â·  55Comments

esfomeado picture esfomeado  Â·  35Comments

timwr picture timwr  Â·  42Comments

hacksoldier98 picture hacksoldier98  Â·  30Comments

busterb picture busterb  Â·  30Comments