From 2ebb0d29bc12fab5d265aedaaa000e7c4835198c Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 13:19:01 +0100 Subject: [PATCH] add data for xxd --- data/xxd.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 data/xxd.json diff --git a/data/xxd.json b/data/xxd.json new file mode 100644 index 0000000..e16d725 --- /dev/null +++ b/data/xxd.json @@ -0,0 +1,24 @@ +{ + "functions": { + "file-write": [ + { + "code": "echo DATA | xxd | xxd -r - [file]\n" + } + ], + "file-read": [ + { + "code": "xxd [file] | xxd -r\n" + } + ], + "suid": [ + { + "code": "./xxd [file] | xxd -r\n" + } + ], + "sudo": [ + { + "code": "sudo xxd [file] | xxd -r\n" + } + ] + } +} \ No newline at end of file