lib/ronin/web/user_agents/os/linux.rb
# frozen_string_literal: true
#
# ronin-web-user_agents - Yet another User-Agent string generator library.
#
# Copyright (c) 2006-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# ronin-web-user_agents is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ronin-web-user_agents is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with ronin-web-user_agents. If not, see <https://www.gnu.org/licenses/>
#
module Ronin
module Web
module UserAgents
module OS
#
# Defines information about the Linux Operating System (OS).
#
# @api private
#
module Linux
# Common Linux Distros.
DISTROS = {
ubuntu: 'Ubuntu',
fedora: 'Fedora',
arch: 'Arch',
nil => nil
}
# Architectures supported by Linux.
ARCHES = {
x86_64: 'x86_64',
aarch64: 'aarch64',
arm64: 'aarch64',
i686: 'i686',
x86: 'i686'
}
end
end
end
end
end