Most recent edit on 2007-03-08 22:33:07 by ShaunC [Version 1.9 goes live...]
Additions:
The current revision of Network Query Tool is 1.9, released on March 9, 2007. This version supercedes all prior releases and it is recommended that users of older versions upgrade immediately, if system requirements are met. You can view the changelog for detailed release information.
- ZIP∞ - nqt-1.9.zip, 17070 bytes
- TGZ∞ - nqt-1.9.tar.gz, 16067 bytes
- 7z∞ - nqt-1.9.7z, 15186 bytes
Deletions:
The current revision of Network Query Tool is 1.8, released on October 21, 2006. This version supercedes all prior releases and it is recommended that users of older versions upgrade immediately, if system requirements are met. You can view the changelog for detailed release information.
ZIP∞ - nqt-1.8.zip, 16488 bytes
TGZ∞ - nqt-1.8.tgz, 15648 bytes
7z∞ - nqt-1.8.7z, 14781 bytes
Edited on 2006-10-23 00:43:11 by ShaunC [Add link to browse source]
Additions:
~- Browse Source∞ with syntax highlighting
Edited on 2006-10-22 20:43:22 by ShaunC [Add install info]
Additions:
To use Network Query Tool out of the box, simply extract the archive and upload the files (NetworkQueryTool.php and controller.php) to your webserver. Load controller.php in your browser and NQT is ready to go!
Network Query Tool is provided as a PHP 5 class. In order to use NQT in your own software applications, you must include() the class file into your script, instantiate a new NetworkQueryTool object, and then call whichever methods you prefer. If this terminology doesn't make sense to you, and all you want is to upgrade your previously-working NQT, worry not! A default controller, which mimics the behavior of previous versions of Network Query Tool, is provided for your convenience.
Deletions:
Network Query Tool is provided as a PHP 5 class. In order to use NQT, you must include() the class file into your script, instantiate a new NetworkQueryTool object, and then call whichever methods you prefer. If this terminology doesn't make sense to you, and all you want is to upgrade your previously-working NQT, worry not! A default controller, which mimics the behavior of previous versions of Network Query Tool, is provided for your convenience.
Edited on 2006-10-22 06:18:30 by ShaunC [Move Features up to where it's more visible]
Additions:
See the sample output∞ page to get a good look at Network Query Tool's default controller and sample results.
Edited on 2006-10-22 06:16:19 by ShaunC [API docs are not quite there yet, add note indicating such]
Additions:
~- For developers, there exists a mostly-complete API Reference (coming-soon!) for Network Query Tool.
Deletions:
~- For developers, there exists a mostly-complete API Reference for Network Query Tool.
Edited on 2006-10-22 05:32:26 by ShaunC [Change link for sample output]
Additions:
Network Query Tool is a one-stop solution for obtaining information about a domain name or an IP address. Instead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest, as is evidenced by this sample output∞.
Deletions:
Network Query Tool is a one-stop solution for obtaining information about a domain name or an IP address. Instead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest, as is evidenced by this sample output.
Edited on 2006-10-22 05:14:42 by ShaunC [Add download links]
Additions:
~- ZIP∞ - nqt-1.8.zip, 16488 bytes
- TGZ∞ - nqt-1.8.tgz, 15648 bytes
- 7z∞ - nqt-1.8.7z, 14781 bytes
Deletions:
~- [zip] - nqt-1.8.zip, XKB
[tgz] - nqt-1.8.tgz, XKB
[ 7z] - nqt-1.8.7z, XKB
Browse PHP source with syntax highlighting
Edited on 2006-10-21 00:11:48 by ShaunC [tweak]
Additions:
NQT's author has been featured in both Wired∞ and 2600∞ magazines, and is a PHP/Java developer for the #3-ranked privately owned company in the United States. He prefers vodka sour on the rocks, but is willing to settle for Beck's Dark, Newcastle, or Blue Moon.
Deletions:
NQT's author has been featured in Wired magazine, and is a PHP/Java developer for the #3-ranked privately owned company in the United States. He prefers vodka sour on the rocks.
Edited on 2006-10-21 00:08:36 by ShaunC [tweak]
Additions:
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day.
NQT's author has been featured in Wired magazine, and is a PHP/Java developer for the #3-ranked privately owned company in the United States. He prefers vodka sour on the rocks.
Deletions:
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day. NQT's author has been featured in Wired magazine, and is a PHP/Java developer for the third largest privately-owned company in the United States. He prefers vodka sour on the rocks.
Edited on 2006-10-20 23:56:46 by ShaunC [Link to NqtSampleUsage, NqtSampleOutput; insert download placeholders]
Additions:
Network Query Tool is a one-stop solution for obtaining information about a domain name or an IP address. Instead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest, as is evidenced by this sample output.
The current revision of Network Query Tool is 1.8, released on October 21, 2006. This version supercedes all prior releases and it is recommended that users of older versions upgrade immediately, if system requirements are met. You can view the changelog for detailed release information.
Network Query Tool is free software! It is available for download in a variety of formats:
- [zip] - nqt-1.8.zip, XKB
- [tgz] - nqt-1.8.tgz, XKB
- [ 7z] - nqt-1.8.7z, XKB
- Browse PHP source with syntax highlighting
- PHP 5.x (the latest stable release∞ of PHP is always suggested). As of version 1.8, Network Query Tool relies upon object-oriented features introduced in PHP 5, and will no longer work under PHP 3 or 4.
- Standard ping, traceroute, and dig binaries are suggested for full functionality. The first two typically exist even on Windows servers, so a Unix environment is not at all required.
- For users, we've created a Sample Usage guide, which contains code samples demonstrating some of NQT's common features.
- For developers, there exists a mostly-complete API Reference for Network Query Tool.
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day. NQT's author has been featured in Wired magazine, and is a PHP/Java developer for the third largest privately-owned company in the United States. He prefers vodka sour on the rocks.
Deletions:
Network Query Tool (NQT) is a one-stop solution for obtaining information about a domain name or an IP address. Instead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest.
You can download Network Query Tool, revision 1.8, in either ZIP or tgz format.
- PHP 5.x (the latest release∞ of PHP is always recommended). This version of Network Query Tool relies upon OOP features introduced in PHP 5, and will not work under PHP 3 or 4.
- ping, traceroute, and dig binaries are suggested for full functionality. The first two normally exist even on Windows servers, so a Unix environment is not at all required.
For developers, there exists a mostly-complete API reference for Network Query Tool.
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day. NQT's author∞ has been featured in Wired magazine, and is a PHP/Java developer for the third largest privately-owned company in the United States. He prefers vodka sour on the rocks.
Edited on 2006-10-20 21:18:16 by ShaunC [Extract changelog section to separate document]
Additions:
Network Query Tool
For developers, there exists a mostly-complete API reference for Network Query Tool.
For a complete revision history, please see the NqtChangelog document.
Background
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day. NQT's author∞ has been featured in Wired magazine, and is a PHP/Java developer for the third largest privately-owned company in the United States. He prefers vodka sour on the rocks.
Deletions:
Network Query Tool (NQT)
- 10/19/06: Rewritten entirely as a PHP5 class. Vast amounts of cleanup, vulnerabilities removed, etc. PHP has grown far more robust than when NQT was originally released in 2001, and so have my coding skills. Contributions provided by those acknowledged below are no longer in the script, but I'm retaining references to them both as appreciation and for posterity.
- 02/19/05: Added support for the Italian domain registry so that NQT can look up .it domains. Code provided by Andrea Balestrero. Planning an entire script rewrite for the next update, in addition to support for as many TLDs as possible.
- 05/07/03: Due to transitioning in the administration of the .org TLD, whois.crsnic.net no longer provides information for .org domains. I updated the script to use whois.corenic.net for .orgs instead. Thanks Jim In Cyberspace for the heads-up!
- 11/15/02: Adjusted the domain name regex to support 4-letter TLDs. Also added support for WWWhois'ing .name, .info, .us, .cc, .ws, and .biz domains! Thanks Andre from reload.de for the suggestion.
- 8/31/02: Added support for the passing of parameters via HTTP GET, so that you don't need to post the form.
- 6/28/02: Starting with PHP 4.20, register_globals defaults to off. NQT expects them to be on, since it was written when that was the default. I added a workaround that should make the script work on fresh PHP installs, even with register_globals off.
- 3/1/2002: PHP 4.12 changed the behavior of the gethostbyaddr() function, which broke some parts of the script. Everything should be fixed now ... :)
- 10/30/2001: Fixed security vulnerability which allowed potential execution of arbitrary commands on the host system. My thanks to Dmitry Frolov and Mathijs Futselaar for letting me know about the issue, and for remaining vigilant even during my post-oral-surgery, Percocet-induced haze.
- 3/12/2001: The original release contained a line of PHP4 syntax (heredoc notation), which crippled the script under PHP3. Sorry about the goof and my thanks to Bill for pointing this out!
- 3/11/2001: First public release
Brags
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day. NQT's author∞ has been featured in Wired magazine and is currently a PHP/Java developer for a corporation with over $5 billion in annual revenue.
Oldest known version of this page was edited on 2006-10-18 22:26:16 by ShaunC [Initial import of documentation, adapted from previous version at shat.net.]
Page view:
Network Query Tool (NQT)
Network Query Tool (NQT) is a one-stop solution for obtaining information about a domain name or an IP address. Instead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest.
Download
You can download Network Query Tool, revision 1.8, in either ZIP or tgz format.
Requirements
- PHP 5.x (the latest release∞ of PHP is always recommended). This version of Network Query Tool relies upon OOP features introduced in PHP 5, and will not work under PHP 3 or 4.
- ping, traceroute, and dig binaries are suggested for full functionality. The first two normally exist even on Windows servers, so a Unix environment is not at all required.
Usage
Network Query Tool is provided as a PHP 5 class. In order to use NQT, you must
include() the class file into your script, instantiate a new
NetworkQueryTool object, and then call whichever methods you prefer. If this terminology doesn't make sense to you, and all you want is to upgrade your previously-working NQT, worry not! A default controller, which mimics the behavior of previous versions of Network Query Tool, is provided for your convenience.
Features
The default controller included with Network Query Tool will perform the following functions on your target:
- Reverse lookup - resolves an IP address to a hostname (if one exists) or vice versa
- DNS query - aka Dig, requires a dig binary on your system
- Whois (WWW) - gets domain registration information. Now supporting just about every known TLD, gTLD, and ccTLD.
- Whois (IP) - gets IP owner information. Supports all IP blocks maintained by ARIN (US), RIPE (Europe), JPNIC (Japan), APNIC (China/Asia-Pacific), BRNIC (Brazil), LACNIC (Latin America), AFRINIC (Africa), and KRNIC (Korea).
- Check port - Determine whether or not a port on the target host is open. Defaults to port 80.
- Ping - performs a 5-packet ping to the target, requires a ping binary.
- Traceroute - performs a traceroute to the target, requires a traceroute binary.
You can also select tasks individually if you don't need (or don't want to wait for) all of the information. The
traceroute command, in particular, can take awhile to finish. And of course you're free to modify the default controller, supply your own, or integrate Network Query Tool into your own applications as you choose.
Windows vs Unix
The
ping,
traceroute, and
dig functions are performed using existing binaries (EXEs) on your server. Nearly every Unix-ish operating system will have these binaries installed, and most Windows systems will have both a
ping and
tracert command. You'll need to set the appropriate paths to these binaries in the script. The WWW whois, IP whois, and check port functions are performed directly through sockets and are OS-independent.
Changelog
- 10/19/06: Rewritten entirely as a PHP5 class. Vast amounts of cleanup, vulnerabilities removed, etc. PHP has grown far more robust than when NQT was originally released in 2001, and so have my coding skills. Contributions provided by those acknowledged below are no longer in the script, but I'm retaining references to them both as appreciation and for posterity.
- 02/19/05: Added support for the Italian domain registry so that NQT can look up .it domains. Code provided by Andrea Balestrero. Planning an entire script rewrite for the next update, in addition to support for as many TLDs as possible.
- 05/07/03: Due to transitioning in the administration of the .org TLD, whois.crsnic.net no longer provides information for .org domains. I updated the script to use whois.corenic.net for .orgs instead. Thanks Jim In Cyberspace for the heads-up!
- 11/15/02: Adjusted the domain name regex to support 4-letter TLDs. Also added support for WWWhois'ing .name, .info, .us, .cc, .ws, and .biz domains! Thanks Andre from reload.de for the suggestion.
- 8/31/02: Added support for the passing of parameters via HTTP GET, so that you don't need to post the form.
- 6/28/02: Starting with PHP 4.20, register_globals defaults to off. NQT expects them to be on, since it was written when that was the default. I added a workaround that should make the script work on fresh PHP installs, even with register_globals off.
- 3/1/2002: PHP 4.12 changed the behavior of the gethostbyaddr() function, which broke some parts of the script. Everything should be fixed now ... :)
- 10/30/2001: Fixed security vulnerability which allowed potential execution of arbitrary commands on the host system. My thanks to Dmitry Frolov and Mathijs Futselaar for letting me know about the issue, and for remaining vigilant even during my post-oral-surgery, Percocet-induced haze.
- 3/12/2001: The original release contained a line of PHP4 syntax (heredoc notation), which crippled the script under PHP3. Sorry about the goof and my thanks to Bill for pointing this out!
- 3/11/2001: First public release
License
Network Query Tool is distributed under the
GNU General Public License∞. That means it's absolutely free to download, use, tweak to your heart's content, and (with restrictions) redistribute.
I give Network Query Tool away for free because I feel it's a benefit for everyone. In return, *please* respect my copyright. I've caught people selling software that contains NQT, and I've had to do things that make me feel dirty (like siccing the DMCA on webhosts). I'm playing nice by creating free software, all I ask is that you play nice in return. Thank you!
Contact
To report bugs, request features, or say thank-you, please send email to
nqt {at} drunkwerks {dot} com. A response is not guaranteed but (nearly) all messages will be read.
Brags
Network Query Tool was first released to the public on March 11, 2001. Since then, it has seen over 40,000 downloads. It was adapted into a popular phpNuke module, has been demonstrated during an official ICANN presentation, and is in active use by thousands each day. NQT's
author∞ has been featured in Wired magazine and is currently a PHP/Java developer for a corporation with over $5 billion in annual revenue.