lib/godofwar/builder.rb
# get default host and port from payload's configurations
get default host and port from payload's configurations
get default host and port from payload ' s configurations
def default
      if @payload.conf["true"]
        {host: @payload.conf["true"]["lhost"].to_s, port: @payload.conf["true"]["lport"].to_s}
      else
        {host: '', port: ''}
      end
    end
def default if @payload . conf [ "true" ] { host : @payload . conf [ "true" ] [ "lhost" ] . to_s , port : @payload . conf [ "true" ] [ "lport" ] . to_s } else { host : '' , port : '' } end end
get default host and port from payload's configurations
get default host and port from payload ' s configurations