rubypwn/lib/netcat.rb

8 lines
140 B
Ruby

require_relative 'exec'
class Netcat < Exec
def initialize(ip, port, **options)
super("nc #{ip} #{port}", options)
end
end