From 6188b56af7d74e085b15cc8bef26a3f9568dc732 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Tue, 9 Apr 2019 17:23:26 +0800 Subject: [PATCH] update README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca00709..b25eb78 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ with only SSH! ## WARNING -> I am not responsible for bricked devices, dead HDDs and SSDs, unreplied tickets, thermonuclear war, or you getting fired because your device is hacked to mine bitcoin. Please do some research if you have any concerns about this script before using it! YOU are choosing to run this script, and if you point the finger at me for messing up your device, I will laugh at you. +I am not responsible for bricked devices, dead HDDs and SSDs, unreplied tickets, thermonuclear war, or you getting fired because your device is hacked to mine bitcoin. Please do some research if you have any concerns about this script before using it! YOU are choosing to run this script, and if you point the finger at me for messing up your device, I will laugh at you. ## Dependencies @@ -22,10 +22,15 @@ with only SSH! * systemd * squashfs-tools * curl + * ~400MiB RAM in theory ## Usage -Just run the script, and follow the instructions. + 1. Save your work + 1. Backup all your important files + 1. Shutdown as many services and programs you can on the victim + 1. If you use SSH to connect to the server, make sure you can log in directly as root using SSH + 1. run the script, and follow the instructions `menhera.sh` will try to download a new rootfs into the memory, replace the old rootfs and kill all processes reading the old rootfs. The old rootfs will be mounted to `/mnt/oldroot`. An example filesystem structure after running `menhera.sh` on my test VPS: