Socket
Book a DemoInstallSign in
Socket

a2squery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a2squery

0.1.2
Source
Cargo
Version published
Maintainers
1
Created
Source

a2squery

A tool for extracting A2S query information from Source Dedicated Servers.

Usage

Usage: a2squery --host <HOST> --port <PORT>

Options:
      --host <HOST>  Server hostname or IP
      --port <PORT>  The server's query port
  -h, --help         Print help
  -V, --version      Print version

Example:
	a2squery --host 127.0.0.1 --port 27015

To use a2squery simply provide an IP or domain name to the --host flag, and a port number to the --port flag. The output will look like this:

{
  "protocol_ver": 17,
  "server_name": "Team Fortress",
  "map_name": "cp_snakewater_final1",
  "game_dir": "tf",
  "game_name": "Team Fortress",
  "app_id": 440,
  "current_players": 0,
  "max_players": 24,
  "bots": 0,
  "server_type": "Dedicated",
  "os_type": "Linux",
  "visibility": "Public",
  "vac_enabled": true,
  "game_version": "9925705",
  "extra_data": [
    {
      "GameID": 13085927436482341255
    }
  ]
}

To install it using cargo:

cargo install a2squery

Have fun.

FAQs

Package last updated on 26 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.