lib/ronin/exploits/remote_tcp.rb in ronin-exploits-0.2.0 vs lib/ronin/exploits/remote_tcp.rb in ronin-exploits-0.2.1
- old
+ new
@@ -20,21 +20,20 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#++
#
require 'ronin/exploits/remote'
+require 'ronin/model/has_default_port'
require 'ronin/sessions/tcp'
module Ronin
module Exploits
class RemoteTCP < Remote
+ include Model::HasDefaultPort
include Sessions::TCP
contextify :ronin_remote_tcp_exploit
-
- # Default port to connect to
- property :default_port, Integer
# remote host to connect to
parameter :host, :description => 'TCP remote host'
# remote port to connect to