From ad7fcf1715ac5404e0844f46e5f7462b4c640ace Mon Sep 17 00:00:00 2001 From: Alyx Date: Sat, 23 Jul 2022 23:23:55 +0000 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 656e9d7..177638b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ Installing: - +nlsd ``` useradd nlsd chsh nlsd -s /bin/bash @@ -11,6 +11,9 @@ chown -R nlsd:nlsd /home/nlsd chmod -R 770 /home/nlsd adduser nlsd adm su - nlsd +``` +nlsd +``` pip3 install sh requests wget https://en0.sh/raw/exeqoqarud -O /home/nlsd/nlsd.py chmod +x nlsd.py @@ -18,9 +21,10 @@ hostname=`hostname` curl -s -X POST https://s.en0.io/api/createReporter -H "Content-Type: application/x-www-form-urlencoded" -d "key=986881840ddee645d5d644632391d318db8ef184dd31c99d77f1843cedc0c780&hostname=$hostname" | python3 -c "import sys, json; print(json.load(sys.stdin)['message'])" > key ``` - +root ``` wget https://en0.sh/raw/alisayinoy -O /etc/systemd/system/nlsd.service systemctl enable nlsd.service systemctl start nlsd.service +chsh nlsd -s /usr/sbin/nologin ``` -- GitLab