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