Package : Add radare2.
This commit is contained in:
parent
c6ce97e319
commit
23d036b676
|
@ -19,6 +19,7 @@
|
|||
openssh # Ssh client.
|
||||
parallel # Run programs in parallel.
|
||||
pv # IO progress bar.
|
||||
radare2 # Hex editor.
|
||||
ripgrep # Grep for file search.
|
||||
rsync # File copy tool.
|
||||
sqlite # Serverless file-based database engine.
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
nmap # Network analyzer.
|
||||
parallel # Run programs in parallel.
|
||||
pv # IO progress bar.
|
||||
radare2 # Hex editor.
|
||||
ripgrep # Grep for file search.
|
||||
rsync # File copy tool.
|
||||
scanmem # Memory edit tool.
|
||||
|
|
|
@ -67,23 +67,29 @@
|
|||
block = true;
|
||||
run = openWith "unpack";
|
||||
}];
|
||||
hex = [{
|
||||
desc = "Hex";
|
||||
block = true;
|
||||
run = openWith "radare2 -c V";
|
||||
}];
|
||||
};
|
||||
|
||||
open = {
|
||||
rules = let
|
||||
mkRule = mime: use: { inherit mime use; };
|
||||
in [
|
||||
(mkRule "application/gzip" "archive")
|
||||
(mkRule "application/json" "text")
|
||||
(mkRule "application/pdf" "pdf")
|
||||
(mkRule "application/x-tar" "archive")
|
||||
(mkRule "application/x-xz" "archive")
|
||||
(mkRule "application/zip" "archive")
|
||||
(mkRule "application/gzip" "archive")
|
||||
(mkRule "application/json" "text")
|
||||
(mkRule "application/octet-stream" [ "text" "hex" ])
|
||||
(mkRule "application/pdf" "pdf")
|
||||
(mkRule "application/x-tar" "archive")
|
||||
(mkRule "application/x-xz" "archive")
|
||||
(mkRule "application/zip" "archive")
|
||||
(mkRule "audio/*" "audio")
|
||||
(mkRule "image/*" "image")
|
||||
(mkRule "text/html" [ "browser" "text" ])
|
||||
(mkRule "text/*" "text")
|
||||
(mkRule "video/*" "video")
|
||||
(mkRule "text/html" [ "browser" "text" ])
|
||||
(mkRule "application/vnd.openxmlformats-officedocument.*" "document")
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue