From 77c9991a350af13744800c2dfbbc6295fd05ba2a Mon Sep 17 00:00:00 2001 From: Wanetty Date: Wed, 10 Nov 2021 04:31:10 -0500 Subject: [PATCH 1/2] Fix files to msf6 --- .../beefbind/shellcode_sources/msf/beef_bind-handler.rb | 4 ++-- .../shellcode_sources/msf/beef_bind-stage-linux-x86.rb | 6 +++--- .../shellcode_sources/msf/beef_bind-stager-linux-x64.rb | 2 +- .../shellcode_sources/msf/beef_bind-stager-linux-x86.rb | 2 +- .../shellcode_sources/msf/beef_bind-stager-windows-x86.rb | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-handler.rb b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-handler.rb index 29be93ecd..e1e8e9088 100644 --- a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-handler.rb +++ b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-handler.rb @@ -10,7 +10,7 @@ module Handler # This module implements the Bind TCP handler placeholder only. # ### -module BeEFBind +module BeefBind include Msf::Handler @@ -38,7 +38,7 @@ module BeEFBind [ Opt::LPORT(4444), #OptAddress.new('RHOST', [false, 'The target address', '']), - ], Msf::Handler::BeEFBind) + ], Msf::Handler::BeefBind) end # diff --git a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb index 359f5b4b7..3c222f6d4 100644 --- a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb +++ b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb @@ -5,9 +5,9 @@ # http://metasploit.com/framework/ ## -require 'msf/core' -require 'msf/base/sessions/command_shell' -require 'msf/base/sessions/command_shell_options' +#require 'msf/core' +#require 'msf/base/sessions/command_shell' +#require 'msf/base/sessions/command_shell_options' module MetasploitModule diff --git a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x64.rb b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x64.rb index 6345c38bd..e5245bde5 100644 --- a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x64.rb +++ b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x64.rb @@ -23,7 +23,7 @@ module MetasploitModule 'License' => BSD_LICENSE, 'Platform' => 'linux', 'Arch' => ARCH_X64, - 'Handler' => Msf::Handler::BeEFBind, + 'Handler' => Msf::Handler::BeefBind, 'Convention' => 'beef_bind', 'Stager' => { diff --git a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x86.rb b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x86.rb index d45facf02..1cc863faf 100644 --- a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x86.rb +++ b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-linux-x86.rb @@ -23,7 +23,7 @@ module MetasploitModule 'License' => BSD_LICENSE, 'Platform' => 'linux', 'Arch' => ARCH_X86, - 'Handler' => Msf::Handler::BeEFBind, + 'Handler' => Msf::Handler::BeefBind, 'Convention' => 'beef_bind', 'Stager' => { diff --git a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-windows-x86.rb b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-windows-x86.rb index 2c1db8572..cbac5b358 100644 --- a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-windows-x86.rb +++ b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stager-windows-x86.rb @@ -28,7 +28,7 @@ module MetasploitModule 'License' => BSD_LICENSE, 'Platform' => 'win', 'Arch' => ARCH_X86, - 'Handler' => Msf::Handler::BeEFBind, + 'Handler' => Msf::Handler::BeefBind, 'Convention' => 'beef_bind', 'Stager' => { From b42aebd99f5818af379bf16eac623600f3f0e38e Mon Sep 17 00:00:00 2001 From: Wanetty Date: Wed, 10 Nov 2021 04:34:50 -0500 Subject: [PATCH 2/2] Fix files to msf6 --- .../shellcode_sources/msf/beef_bind-stage-linux-x86.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb index 3c222f6d4..359f5b4b7 100644 --- a/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb +++ b/modules/exploits/beefbind/shellcode_sources/msf/beef_bind-stage-linux-x86.rb @@ -5,9 +5,9 @@ # http://metasploit.com/framework/ ## -#require 'msf/core' -#require 'msf/base/sessions/command_shell' -#require 'msf/base/sessions/command_shell_options' +require 'msf/core' +require 'msf/base/sessions/command_shell' +require 'msf/base/sessions/command_shell_options' module MetasploitModule