Nmap quake3-master-getservers NSE Script


This page contains detailed information about how to use the quake3-master-getservers NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Select:
Overview
Error Messages

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/quake3-master-getservers.nse
Script categories: default, discovery, safe
Target service / protocol: quake3-master, udp
Target network port(s): 20110, 20510, 27950, 30710
List of CVEs: -

Script Description


The quake3-master-getservers.nse script queries Quake3-style master servers for game servers (many games other than Quake 3 use this same protocol).

Quake3-master-getservers NSE Script Arguments


This is a full list of arguments supported by the quake3-master-getservers.nse script:

quake3-master-getservers.outputlimit

If set, limits the amount of hosts returned by the script. All discovered hosts are still stored in the registry for other scripts to use. If set to 0 or less, all files are shown. The default value is 10.

- - -
To use this script argument, add it to Nmap command line like in this example:

nmap --script=quake3-master-getservers --script-args quake3-master-getservers.outputlimit=value <target>

Quake3-master-getservers NSE Script Example Usage


Here's an example of how to use the quake3-master-getservers.nse script:

nmap -sU -p 27950 --script=quake3-master-getservers <target>

Quake3-master-getservers NSE Script Example Output


Here's a sample output from the quake3-master-getservers.nse script:

PORT      STATE SERVICE REASON
27950/udp open  quake3-master
| quake3-master-getservers:
|     192.0.2.22:26002 Xonotic (Xonotic 3)
|     203.0.113.37:26000 Nexuiz (Nexuiz 3)
|_    Only 2 shown. Use --script-args quake3-master-getservers.outputlimit=-1 to see all.

Quake3-master-getservers NSE Script Example XML Output


There is no sample XML output for this module. However, by providing the -oX <file> option, Nmap will produce a XML output and save it in the file.xml file.

Author


  • Toni Ruottu

References


See Also


Related NSE scripts to the quake3-master-getservers.nse script:

Visit Nmap NSE Library for more scripts.

The quake3-master-getservers.nse script may fail with the following error messages. Check for the possible causes by using the code snippets highlighted below found in the script source code. This can often times help in identifying the root cause of the problem.

Quake III Arena, or Urban Terror


Here is a relevant code snippet related to the "Quake III Arena, or Urban Terror" error message:

52:	  ["57"] = "unknown",
53:	  ["59"] = "Return to Castle Wolfenstein",
54:	  ["60"] = "Return to Castle Wolfenstein",
55:	  ["66"] = "Quake III Arena",
56:	  ["67"] = "Quake III Arena",
57:	  ["68"] = "Quake III Arena, or Urban Terror",
58:	  ["69"] = "OpenArena, or Tremulous",
59:	  ["70"] = "unknown",
60:	  ["71"] = "OpenArena",
61:	  ["72"] = "Wolfenstein: Enemy Territory",
62:	  ["80"] = "Wolfenstein: Enemy Territory",

Version


This page has been created based on Nmap version 7.92.

Go back to menu.