metasploit-framework/lib/rex/proto/dns.rb

18 lines
330 B
Ruby

# -*- coding: binary -*-
module Rex
module Proto
module DNS
module Constants
MATCH_HOSTNAME=/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)+([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9]\.*)$/
end
end
end
end
require 'rex/proto/dns/packet'
require 'rex/proto/dns/resolver'
require 'rex/proto/dns/server'