Commit 470d6246 authored by David Maynor's avatar David Maynor
Browse files

Added more command line options

Added json, list, grepable, and interactive.
parent 38852650
Loading
Loading
Loading
Loading
+34 −15
Original line number Diff line number Diff line
@@ -122,13 +122,9 @@ one port.

  * `--open-only`: report only open ports, not closed ports.

  * `--output-format <fmt>`: indicates the format of the output file, which
    can be `xml` or `binary`. The option `--output-filename` must be
	specified.

  * `--output-filename <filename>`: the file which to save results to. If
    the parameter `--output-format` is not specified, then the default of
	`xml` will be used.



  * `--pcap <filename>`: saves received packets (but not transmitted
    packets) to the libpcap-format file.
@@ -194,9 +190,16 @@ one port.
	`--shard`, `--resume-index`, and `--resume-count` can be useful with
	this feature.
    
  * `-oX <filename>`: sets the output format to XML and saves the output in the
    given filename. This is equivelent to using the `--output-format` and
    `--output-filename` parameters.
  * `--interactive`: show the results in realtime on the console. It has 
    no effect if used with --output-format or --output-filename.		
  
  * `--output-format <fmt>`: indicates the format of the output file, which
    can be `xml`, `binary`, `grepable`, `list`, or `JSON`. The 
	option `--output-filename` must be specified.

  * `--output-filename <filename>`: the file which to save results to. If
    the parameter `--output-format` is not specified, then the default of 
	`xml` will be used.
		   
  * `-oB <filename>`: sets the output format to binary and saves the output in
    the given filename. This is equivelent to using the `--output-format` and
@@ -205,6 +208,22 @@ one port.
    equivelents, but require a separate step to convert back into XML or
    another readable format.
	
  * `-oX <filename>`: sets the output format to XML and saves the output in the
    given filename. This is equivelent to using the `--output-format xml` and
    `--output-filename` parameters.
	
  * `-oG <filename>`: sets the output format to grepable and saves the output 
	  in the given filename. This is equivelent to using the --output-format grepable 
	  and --output-filename parameters.
  
  * `-oJ <filename>`: sets the output format to JSON and saves the output in 
	  the given filename. This is equivelent to using the --output-format json 
	  and --output-filename parameters.
  
  * `-oL <filename>`: sets the output format to a simple list format and saves 
	  the output in the given filename. This is equivelent to using 
	  the --output-format list and --output-filename parameters.

  *  `--readscan <binary-files>`: reads the files created by the `-oB` option
    from a scan, then outputs them in one of the other formats, depending
    on command-line parameters. In other words, it can take the binary