Sha256: 39583d6b1926119dd6195dad026ca317a986d8de91062f66f6cc032b481d1fe3

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

#!/usr/bin/env ruby

require 'ronin/listener/dns'

Ronin::Listener::DNS.listen(<%= @domain.inspect -%>, host: <%= @host.inspect -%>, port: <%= @port -%>) do |query|
  puts "Received query for #{query.type} #{query.label} from #{query.source}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-listener-0.1.0 data/new/dns.rb.erb
ronin-listener-0.1.0.rc2 data/new/dns.rb.erb
ronin-listener-0.1.0.rc1 data/new/dns.rb.erb