Last active
February 3, 2020 00:22
-
-
Save samsulmaarif/99cce1bc4a1f28ea6499216c2a11b738 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSID : Nacita_Labs | |
password : qwertyuop | |
https://portal.cloudkilat.com | |
CKNACITA - [nama]-node1 | |
CKNACITA50 - [nama]-node2 | |
https://s.id/pinehead | |
Aditya Rahman - Mahasiswa UM - Banjarmasin | |
Ahmad Saufi Maulana - Mahasiswa UM - Banjarmasin | |
David Wahyu P. - Surabaya - KLAS - Freelance IoT | |
Slamet R. Pundiarta - Salatiga - SysAdmin PT. SCI (Selalu Cinta Indonesia) | |
Nuzulul Huda - Mahasiswa UIN - Asli Malang | |
Arta Tri Pamuda - Kediri - Programmer Web - indoweb.id | |
Faisal Pangestu - Tangerang - Mahasiswa Brawijaya - Ponpes Al-Hikam - Jaringan | |
Anggara Mahendra Putra - Lamongan - POLINEMA - Ponpes Al-Hikam - Jaringan, Sitem Informasi | |
# chroot | |
mkdir -p /var/jail/{dev,etc,lib,lib64,usr,bin} | |
mkdir -p /var/jail/usr/bin | |
chown root.root /var/jail | |
buat /dev/null dengan perintah `mknod -m 666 /var/jail/dev/null c 1 3` | |
cd /var/jail/etc | |
cp /etc/ld.so.cache . | |
cp /etc/ld.so.conf . | |
cp /etc/nsswitch.conf . | |
cp /etc/hosts . | |
cd /var/jail/bin | |
cp /bin/ls . | |
cp /bin/bash . | |
ldd /bin/ls | |
cd /sbin | |
wget -O l2chroot http://www.cyberciti.biz/files/lighttpd/l2chroot.txt | |
chmod +x l2chroot | |
nano l2chroot | |
edit `BASE="/webroot" ke BASE="/var/jail"` | |
l2chroot /bin/ls | |
l2chroot /bin/bash | |
chroot /var/jail | |
ls | |
pwd | |
cp | |
exit | |
cd /var/jail | |
ls | |
cd bin | |
ls | |
which pwd | |
cp /bin/pwd . | |
which curl | |
cp /usr/bin/curl . | |
ldd /bin/pwd | |
ldd /usr/bin/curl | |
l2chroot /bin/pwd | |
l2chroot /usr/bin/curl | |
chroot /var/jail | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment