Try the
jcweb demo!
I’m happy to announce the release of jc version 1.10.2 available on github and pypi. See below for more information on the new features.
To upgrade, run:
$ pip3 install --upgrade jc
New Features
jc now supports color output by default when printing to the terminal. Color is automatically disabled when piping to another program. The -m (monochrome) option can be used to disable color output to the terminal.

New Parsers
No new parsers in this release.
Updated Parsers
filecommand parser: minor fix for some edge casesarpcommand parser: fix macOS detection for some edge casesdigcommand parser: addaxfrsupport
Schema Changes
The dig command parser now supports the axfr option. The schema has been updated to add this section:
$ jc -p dig @81.4.108.41 axfr zonetransfer.me
[
{
"axfr": [
{
"name": "zonetransfer.me.",
"ttl": 7200,
"class": "IN",
"type": "SOA",
"data": "nsztm1.digi.ninja. robin.digi.ninja. 2019100801 172800 900 1209600 3600"
},
{
"name": "zonetransfer.me.",
"ttl": 300,
"class": "IN",
"type": "HINFO",
"data": "\"Casio fx-700G\" \"Windows XP\""
},
{
"name": "zonetransfer.me.",
"ttl": 301,
"class": "IN",
"type": "TXT",
"data": "\"google-site-verification=tyP28J7JAUHA9fw2sHXMgcCC0I6XBmmoVi04VlMewxA\""
},
...
],
"query_time": 805,
"server": "81.4.108.41#53(81.4.108.41)",
"when": "Thu Apr 09 08:05:31 PDT 2020",
"size": "50 records (messages 1, bytes 1994)"
}
]
Full Parser List
airport -Iairport -sarpblkidcrontabcrontab-uCSVdfdigduenvfilefreefstab/etc/group/etc/gshadowhistory/etc/hostsidifconfigINIiptablesjobslastandlastblslsblklsmodlsofmountnetstatntpq/etc/passwdpip listpip showpsroute/etc/shadowssstatsystemctlsystemctl list-jobssystemctl list-socketssystemctl list-unit-filestimedatectluname -auptimewwhoXMLYAML
For more information on the motivations for creating
jc, see my blog post.
Happy parsing!