Live data from Hacker News

CyberChef – The Cyber Swiss Army Knife

gchq.github.io

21–30 of 56 posts

Re: CyberChef – The Cyber Swiss Army Knife

#21

I recently started building an offline, desktop app in Flutter as a collection of dev utilities: https://github.com/nileshtrivedi/devtoolbox Flutter was a promising choice as it'd give me Windows, Mac OS and Linux build from a single codebase - and even the possibility of orgs running this internally as a self-hosted webapp. But one of the ideas I had was to bundle CyberChef with my app and open in a webview. Turns o…

That looks nice, I also worked on something similar but CLI based. It's having both TUI as well as CLI modes.

https://github.com/abhimanyu003/sttr

Since it's written in GO, you can run it pretty much anywhere you like :) ( cross platform )

Yes, it support file inputs as well.

Re: CyberChef – The Cyber Swiss Army Knife

#25

This is actually very useful. I've been spending the past few weeks working on a cross-platform, native dev assistant app like this written with GTK3 and Rust. It's been a really good exercise in designing meaningful GUIs and, well, usable code. I don't have anything to show right now, but when I get it to an MVP state I'll be sure to share it with everyone! I'm curious to hear what things people want to see out of a…

Something I run into a lot is a JSON-like blob of text I'd like to be formatted as JSON (new lines and indentation). Most JSON formatters choke on improper JSON (understandably). It would be great to have a tool that was more lax. Like browser support for terrible HTML lax haha. If I could paste JSON-like strings into a text area and have it fix and format it as best as can be, that would be great. Some examples of non-JSON syntax to handle would be like single quotes instead of double, arbitrary JSON nodes (not necessarily wrapped in `{}`), some pre or post text (some non-JSON text at the beginning or end), comments amongst the JSON, etc. Another JSON aspect that would be useful is something to escape/unescape JSON (specifically double quotes). I deal a lot with JSON that includes escaped JSON in values and it would be great to have some better way to visualize and process those blobs. Sublime Text has a nice plugin to handle some of the escaping/unescaping[1].

[1] https://github.com/Nadock/json_stringify

Re: CyberChef – The Cyber Swiss Army Knife

#26

I run it in my "homelab". It's all very well self contained. The UX could use some work, but I think it's a case of function over form. I'm still looking for my ultimate hex editor (TUI/GUI) for offline use. Not been impressed with any of the many options I've tried on Linux.

ht-editor was a fantastic editor[1], similar to hiew[2] on windows. Unfortunately ht-editor codebase is a bit hard to extend and it's based on really old modified binutils headers. I was trying to update it, but it's probably better to just write it from scratch, it's still much more straightforward to use that most modern cli hex editors.

What is with russians and their love for advanced windows cli tools? IDA Pro, hiew and far manager[3] come to mind.

[1] http://hte.sourceforge.net/

[2] https://www.hiew.ru/

[3] https://www.farmanager.com/

Re: CyberChef – The Cyber Swiss Army Knife

#27

This is actually very useful. I've been spending the past few weeks working on a cross-platform, native dev assistant app like this written with GTK3 and Rust. It's been a really good exercise in designing meaningful GUIs and, well, usable code. I don't have anything to show right now, but when I get it to an MVP state I'll be sure to share it with everyone! I'm curious to hear what things people want to see out of a…

Something I run into a lot is a JSON-like blob of text I'd like to be formatted as JSON (new lines and indentation). Most JSON formatters choke on improper JSON (understandably). It would be great to have a tool that was more lax. Like browser support for terrible HTML lax haha. If I could paste JSON-like strings into a text area and have it fix and format it as best as can be, that would be great. Some examples of n…

Thanks for the suggestion! I'll look into that as it seems particularly feasible, Rust has notoriously good JSON deserialization libraries.

Re: CyberChef – The Cyber Swiss Army Knife

#28

I'm a big fan of CyberChef. One of its most useful features is "magic" and turning on "intensive mode". This will automatically detect the encoding used and can often detect 2-3 levels of encoding.

Sometimes it can detect quite a lot more than 2-3 levels! The "magic" function really feels like it earns its name.

Re: CyberChef – The Cyber Swiss Army Knife

#29

I recently started building an offline, desktop app in Flutter as a collection of dev utilities: https://github.com/nileshtrivedi/devtoolbox Flutter was a promising choice as it'd give me Windows, Mac OS and Linux build from a single codebase - and even the possibility of orgs running this internally as a self-hosted webapp. But one of the ideas I had was to bundle CyberChef with my app and open in a webview. Turns o…

You should check out the WebViewX plugin, for simple websites it works without any drawbacks, even though it's pretty hard to find by just searching for it

Re: CyberChef – The Cyber Swiss Army Knife

#30

I'm so lame, I was hoping they'd have wrapped this in an Electron app for the "Download" option.

It's a static website. If you want to use it as an application you can download the compiled page (https://gchq.github.io/CyberChef/CyberChef_v9.32.3.zip) and create a shortcut to the 'Cyberchef.html' file contained within.
Post reply on HN