Nmap Development mailing list archives

Re: Quake 3 query script submission


From: David Fifield <david () bamsoftware com>
Date: Mon, 18 Jan 2010 11:30:15 -0700

On Sat, Jan 16, 2010 at 04:02:57PM -0600, Mak Kolybabi wrote:
I'd like to submit a script I've written that interacts with servers
for several Quake3-derived games. It does this by first querying
several known master servers and recording the listed IPs and their
registered listening ports. For each scanned host, it then checks the
host-to-port mapping to see if any game servers have been publicized.
If so, it sends them a standard query to return their version and all
of their settings and current users.

Hi, first I want to say that the script looks really excellent, with
regard to code style and documentation and everything. It looks like you
did your homework to find out what an NSE script should look like. I'm
curious to know what resources you used in writing the script--was it
the book documentation, other scripts, or what.

I had the same thought as Fyodor, which is that it would be best to
somehow probe the target itself to see if it's running a server, if
that's possible. How does it work? Is the server for a game always (or
usually) running on a standard port, or does it pick a random port and
users have to go through a master to find it? In the second case the job
is more difficult, but it would still be good to have some indication
that a target may be running a game server before hitting an external
host.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: