Commit Briefs

97ee235b00 Dominik Lang

Add a README with some explanations. (main)


6bd8f90b8e Dominik Lang

Simply the output by using awk's builtin print and delimiter variables.

While there, update some comments.


cb1c4e1561 Dominik Lang

Simplify the output. Don't try to pretty print, simply output it as TSV

and let other tools, like "column" handle pretty printing.


16fb04df83 Dominik Lang

Initial import.

With first versions of scripts for gnmap, nuclei, and OpenBSD's httpd access.log


Branches

Tags

This repository contains no tags

Tree

README.mdcommits | blame
from_accesslog.shcommits | blame
from_gnmap.shcommits | blame
from_nuclei.shcommits | blame
query_accesslog.shcommits | blame
query_gnmap.shcommits | blame
query_nuclei.shcommits | blame

README.md

# Make things grepable and queryable (awkable)
A collection of small scripts, mainly awk, to make the output of common tools
and file formats more "grepable" and "queryable".

The *from_scripts* transform the output into a line-based format.
And the *query_scripts* are small and simple wrappers around awk, so that one
can query the from_output with column names instead of the default column numbers.
The query_scripts also make sure that only tabs are used as a delimiter for
the input and output (as that is what the from_scripts create).

For example:
```
cat scan.gnmap | from_gnmap | query_gnmap '$service == "ssh"'
```

One can then make the output prettier, if the default tab output isn't good enough
with other tools, e.g.

```
cat scan.gnmap | from_gnmap | query_gnmap '$version ~ /Windows Kerberos/' | column -s "	" -t
```

Note: the optarg to -s of column is a tab.