OutputPBNJ(1) a program to query a PBNJ 2.0 database.

Query Options


-q --query <name> Perform sql query

 This option is where the actual query is specified. Therefore, once
 you know the query you wish to use simply pass it as an argument to
 this option.

-t --type <type> Output Type [csv,tab,html]

 This options is used to specify which output format you wish to use.
 For example, if you would like to have output that you can show
 someone else the CSV format is useful because you can simply pull the
 file into OpenOffice Calc or Excel as it is a comma delimited file.

-f --file <file>

 This option is used to specifiy output to a file rather than standard
 output. This is useful if you want to grow the results of queries as
 the result will be added onto the end of the file.

--both

 This option is used when you want both output to standard output, as
 well as to a file. This will save the result to a file if you are
 having the result sent to the screen or piped to your email which you
 may or may not disregard.

--dir <dir> Store the result in this directory [default .]

 This option is used with the writing to a file. This option will
 store the file in a alternative directory than the current directory.

-l --lookup <name>

 This options is used to lookup the description of a specific query.
 This will return the description of the query.

--list List of names and descriptions

 This option is used to return a list of all the queries with the
 names and descriptions. This is very useful when you are starting to
 use OutputPBNJ or using a new query config.

-n --name

 This option is used to print the all the query names.

-d --desc

 This option is used to print the all the query descriptions. This is 
 useful to find out all the queries do.

-s --sql

 This option is used to print the all the queries. This is useful for 
 developing new queries based on other queries.

FEATURE REQUESTS

 Any feature requests should be reported to the online
 feature-request-tracking system available on the web at: 
 http://sourceforge.net/tracker/?func=add&group_id=149390&atid=774489
 Before requesting a feature, please check to see if the features has
 already been requested.

BUG REPORTS

 Any bugs found should be reported to the online bug-tracking system 
 available on the web at :  
 http://sourceforge.net/tracker/?func=add&group_id=149390&atid=774488.  
 Before reporting bugs, please check to see if the bug has already been
 reported.

 When reporting PBNJ bugs, it is important to include a reliable way
 to reproduce the bug, version number of PBNJ and Nmap, OS
 name and version, and any relevant hardware specs. And of course,
 patches to rectify the bug are even better.

LEGAL NOTICES

 This program 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
 General Public License for more details at
 http://www.gnu.org/copyleft/gpl.html, or in the COPYING file included
 with PBNJ.

 It should also be noted that PBNJ has occasionally been known to crash
 poorly written applications, TCP/IP stacks, and even operating systems.
 While this is extremely rare, it is important to keep in mind.  PBNJ
 should never be run against mission critical systems unless you are
 prepared to suffer downtime. We acknowledge here that PBNJ may crash
 your systems or networks and we disclaim all liability for any damage
 or problems PBNJ could cause.