From e66e2065e8e7369cb0806b6e010ee7c5a425864d Mon Sep 17 00:00:00 2001 From: Borja Date: Thu, 10 Sep 2015 22:39:03 +0200 Subject: [PATCH] Implemented local install/uninstall in ~/.msf4 via Makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8881f2d --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +all: help + +install: + install -d ~/modules/auxiliary/scanner/http/wordpress + install -m644 \ + modules/auxiliary/scanner/http/wordpress/*.rb \ + -t ~/modules/auxiliary/scanner/http/wordpress + install -d ~/modules/exploits/unix/webapp/wordpress + install -m644 \ + modules/exploits/unix/webapp/wordpress/*.rb \ + -t ~/modules/exploits/unix/webapp/wordpress + +uninstall: + rm -rf ~/modules/auxiliary/scanner/http/wordpress/*.rb + rm -rf ~/modules/exploits/unix/webapp/wordpress/*.rb + +help: + @echo -e "\n\tUsage: make \n" +