Skip to content

Commit

Permalink
Merge pull request #5 from Meatballs1/hidden_bind
Browse files Browse the repository at this point in the history
Remove bind hidden handler
  • Loading branch information
BorjaMerino committed Jun 7, 2014
2 parents 3c95c02 + 2be6b8b commit 5881f94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 234 deletions.
231 changes: 0 additions & 231 deletions lib/msf/core/handler/bind_hidden_tcp.rb

This file was deleted.

11 changes: 8 additions & 3 deletions modules/payloads/singles/windows/shell_hidden_bind_tcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
##

require 'msf/core'
require 'msf/core/handler/bind_hidden_tcp'
require 'msf/core/handler/bind_tcp'
require 'msf/base/sessions/command_shell'
require 'msf/base/sessions/command_shell_options'

Expand All @@ -25,13 +25,13 @@ def initialize(info = {})
[
'vlad902', # original payload module (single_shell_bind_tcp)
'sd', # original payload module (single_shell_bind_tcp)
'Borja Merino <bmerinofe[at]gmail.com>' # Add Hidden ACL functionality
'Borja Merino <bmerinofe[at]gmail.com>' # Add Hidden ACL functionality
],
'License' => MSF_LICENSE,
'References' => ['URL', 'http://www.shelliscoming.com/2014/03/hidden-bind-shell-keep-your-shellcode.html'],
'Platform' => 'win',
'Arch' => ARCH_X86,
'Handler' => Msf::Handler::BindHiddenTcp,
'Handler' => Msf::Handler::BindTcp,
'Session' => Msf::Sessions::CommandShell,
'Payload' =>
{
Expand Down Expand Up @@ -69,6 +69,11 @@ def initialize(info = {})
"\x47\x13\x72\x6f\x6a\x00\x53\xff\xd5"
}
))

register_options([
OptAddress.new('AHOST', [true, "IP address allowed", nil])
])
end

end

0 comments on commit 5881f94

Please sign in to comment.