Sort methods

bug/bundler_fix
James Lee 2016-02-02 10:02:32 -06:00
parent 47c0a3b4a7
commit 208420d741
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 12 additions and 13 deletions

View File

@ -107,17 +107,17 @@ module Exploit::Remote::Udp
##
#
# Returns the target host
# Returns the local host for outgoing connections
#
def rhost
datastore['RHOST']
def chost
datastore['CHOST']
end
#
# Returns the remote port
# Returns the local port for outgoing connections
#
def rport
datastore['RPORT']
def cport
datastore['CPORT']
end
#
@ -135,20 +135,19 @@ module Exploit::Remote::Udp
end
#
# Returns the local host for outgoing connections
# Returns the target host
#
def chost
datastore['CHOST']
def rhost
datastore['RHOST']
end
#
# Returns the local port for outgoing connections
# Returns the remote port
#
def cport
datastore['CPORT']
def rport
datastore['RPORT']
end
protected
attr_accessor :udp_sock