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