18 lines
330 B
Ruby
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'
|