Skip to content

Commit 8deead3

Browse files
committed
Fix payload ambiguity with php/bind_tcp_ipv6 stager
Was seeing this in framework.log: [w(0)] core: The module php/meterpreter/bind_tcp is ambiguous with php/meterpreter/bind_tcp. Added handler_type_alias based on windows/bind_ipv6_tcp stager.
1 parent 33ce74f commit 8deead3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/payloads/stagers/php/bind_tcp_ipv6.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ module Metasploit3
1818
include Msf::Payload::Stager
1919
include Msf::Payload::Php
2020

21+
def self.handler_type_alias
22+
"bind_tcp_ipv6"
23+
end
24+
2125
def initialize(info = {})
2226
super(merge_info(info,
2327
'Name' => 'Bind TCP Stager IPv6',

0 commit comments

Comments
 (0)