gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

Home Page:https://gchq.github.io/CyberChef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Parse URI should support outputting as JSON

moshekaplan opened this issue · comments

Is your feature request related to a problem? Please describe.
To make it easier to build recipes based on output from the Parse URI feature, please add a checkbox setting so that it outputs the result as JSON.

Describe the solution you'd like
A checkbox setting in Parse URI that formats the output as JSON, as described below:

Input:

https://www.google.com/search?q=test&sourceid=chrome&ie=UTF-8

Before:

Protocol:	https:
Hostname:	www.google.com
Path name:	/search
Arguments:
	q        = test
	sourceid = chrome
	ie       = UTF-8

After (with the JSON checkbox checked):

{
"Protocol":"https:",
"Hostname":"www.google.com",
"Path name":"/search",
"Arguments": {
	"q" : "test",
	"sourceid" : "chrome",
	"ie" : "UTF-8"
}