Missing argument
parent
52004b1e33
commit
a74cf1ee10
|
@ -885,7 +885,7 @@ module Exploit::Remote::HttpServer::PHPInclude
|
|||
#
|
||||
def php_include_url(sock=nil)
|
||||
host = srvhost_addr
|
||||
if Rex::Socket.is_ipv6?
|
||||
if Rex::Socket.is_ipv6?(host)
|
||||
host = "[#{host}]"
|
||||
end
|
||||
"http://#{host}:#{datastore['SRVPORT']}#{get_resource()}?"
|
||||
|
|
Loading…
Reference in New Issue