From 2a69fffa6b9ffd07da587b894d0f6b09b1b3d479 Mon Sep 17 00:00:00 2001 From: LouDnl Date: Mon, 17 Dec 2018 19:28:07 +0100 Subject: [PATCH] fix for ReverseTcp error Update vax shell_reverse_tcp.rb to fix ReverseTcp NameError Error: /opt/metasploit-framework/embedded/framework/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb:24:in `initialize': uninitialized constant Msf::Handler::ReverseTcp (NameError) After adding this line the error dissapeared for me and I was able to run msfconsole again. --- modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb b/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb index 240b5b9c9f..5f89ec189c 100644 --- a/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb +++ b/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb @@ -3,6 +3,8 @@ # Current source: https://github.com/rapid7/metasploit-framework ## +require 'msf/core/handler/reverse_tcp' + module MetasploitModule CachedSize = 100