diff --git a/README.md b/README.md index 656e9d7fbe409d1ef9042a58ddfa3ad8145e22d0..177638b179d03d7acc1dcb68ba87c598a9a7567a 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 ```