sudo nano /etc/environment sudo nano /etc/profile reboot sudo apt update sudo nano /etc/profile sudo nano /etc/environment sudo nano /etc/profile sudo apt update sudo apt -y full-upgrade ssh cpre532@82.46.91.209 ping 82.46.91.209 ssh cpre532@82.46.91.209 ping 82.46.91.209 exit ssh cpre532@82.46.91.209 ping ping 82.46.91.201 ping 82.46.91.209 ssh cpre532@82.46.91.209 ping 82.46.91.201 ssh cpre532@82.46.91.201 reboot cd /etc/netplan/ ls cat 00-installer-config.yaml cd /etc/netplan/ ls sudo nano 00-installer-config.yaml sudo netplan apply sudo apt-get -y install bind9 systemd-resolve --status sudo nano /etc/bind/named.conf.options sudo systemctl restart bind9 dig iastate.edu nslookup www.iastate.edu sudo systemctl restart bind9 sudo nano /etc/bind/named.conf.options sudo systemctl restart bind9 nslookup www.iastate.edu nslookup iastate.edu sudo nano /etc/bind/named.conf.options sudo systemctl restart bind9 dig iastate.edu nslookup iastate.edu cd /etc ls cd bind ls sudo systemctl restart bind9 nslookup iastate.edu sudo nano /etc/netplan/00-installer-config.yaml sudo netplan apply systemd-resolve --status ping iastate.edu sudo nano /etc/bind/named.conf.options sudo systemctl start bind9 nslookup iastate.edu sudo nano /etc/bind/named.conf.options sudo systemctl restart bind9 nslookup iastate.edu sudo nano /etc/bind/named.conf.local sudo cp /etc/bind/db.local /etc/bind/db.student0.532.com sudo nano /etc/bind/db.student0.532.com ls sudo cp /etc/bind/db.127 /etc/bind/db.91.46.82 sudo nano /etc/bind/db.91.46.82 named-checkconf sudo systemctl restart bind9 sudo systemctl status bind9 ls cat db.91.46.82 sudo systemctl status bind9 sudo nano /etc/bind/named.conf.local sudo systemctl restart bind9 sudo systemctl status bind9 ls sudo nano /etc/bind/named.conf.local sudo systemctl restart bind9 sudo systemctl status bind9 dig cpre532 +noall +answer dig www +noall +answer dig www2 +noall +answer dig 82.46.91.207 +noall +answer dig ns1.student0.532.com +noall +answer dig mail.student0.532.com +noall +answer dig www2.student0.532.com +noall +answer dig -x 82.46.91.207 +noall +answer dig -x 82.46.91.208 +noall +answer dig -x 82.46.91.201 +noall +answer dig -x 82.46.91.200 +noall +answer sudo nano /etc/netplan/00-installer-config.yaml sudo nano /etc/profile sudo apt update sudo nano /etc/netplan/00-installer-config.yaml sudo nano /etc/bind/db.student0.532.com sudo systemctl reload bind9 systemd-resolve --flush-caches sudo useradd doug sudo passwd doug sudo useradd swechha sudo passwd swechha sudo useradd toor sudo passwd toor sudo useradd fake sudo passwd fake cd /etc/ cat passwd locate john sudo apt-get install john -y john ./john passwordFile john passwordFile ./john passwd john passwd umask 077 unshadow /etc/passwd /etc/shadow > mypasswd sudo unshadow /etc/passwd /etc/shadow > mypasswd umask 777 sudo unshadow /etc/passwd /etc/shadow > mypasswd ls john mypasswd john /etc/passwd john /etc/passwd -wordlist="wordlist.txt" umask 077 sudo unshadow /etc/passwd /etc/shadow > mypasswd cd ~ tocuh mypasswd touch mypasswd sudo unshadow /etc/passwd /etc/shadow > mypasswd john mypasswd ls touch heylookhere sudo nano heylookhere ls cat heylookhere cat mypasswd ssh cpre532@86.42.91.201 ssh cpre532@82.46.91.201 ssh cpre532@192.168.1.201 reboot systemctl install ssh systemctl status ssh sudo apt install ssh systemctl status ssh ssh cpre532@82.46.91.201 ssh cpre532@192.168.1.201 ssh cpre532@82.46.91.201 ssh cpre532@192.168.1.201 ssh cpre532@192.168.1.201 -vvv cd /usr/local/etc ls cd / cd /etc/namedb cd /etc/bind/ ls vi db.student0.532.com ls cat db.91.46.82 sudo nano db.91.46.82 ls cp db.student0.532.com db.internal.532corp.com sudo cp db.student0.532.com db.internal.532corp.com ls mv db.student0.532.com db.external.532corp.com sudo mv db.student0.532.com db.external.532corp.com sudo nano db.external.532corp.com sudo nano db.internal.532corp.com ls sudo systemctl reload bind9 systemd-resolve --flush-caches named-checkconf sudo systemctl restart bind9 sudo systemctl status bind9 sudo nano /etc/bind/named.conf.local named-checkconf sudo systemctl restart bind9 sudo systemctl status bind9 dig external.532corp.com +noall +noanswer dig ns1.external.532corp.com +noall +noanswer dig ns1.external.532corp.com +noall +answer dig ns1.internal.532corp.com +noall +answer dig -x 82.46.91.206 +noall +answer dig -x 82.46.91.202 +noall +answer ls cat db.91.46.82 sudo nano db.91.46.82 mv db.external.91.46.82 mv db.91.46.82 db.external.91.46.82 sudo mv db.91.46.82 db.external.91.46.82 ls sudo nano /etc/bind/named.conf.local named-checkconf sudo systemctl restart bind9 sudo systemctl status bind9 dig -x 82.46.91.206 +noall +answer sudo mv db.external.91.46.82 db.91.46.82 sudo nano /etc/bind/named.conf.local named-checkconf sudo systemctl status bind9 sudo systemctl restart bind9 sudo systemctl status bind9 dig -x 82.46.91.206 +noall +answer ls sudo nano db.91.46.82 cp db.91.46.82.external sudo nano db.91.46.82 sudo systemctl restart bind9 sudo systemctl status bind9 sudo nano db.91.46.82 named-checkconf sudo systemctl restart bind9 sudo systemctl status bind9 dig -x 82.46.91.206 +noall +answer ls dig -x 82.46.91.202 +noall +answer sudo nano db.91.46.82 named-checkconf sudo systemctl restart bind9 sudo systemctl status bind9 dig -x 82.46.91.202 +noall +answer dig -x 82.46.91.208 +noall +answer dig -x 82.46.91.207 +noall +answer cd Desktop cd ../ ls cd ../ ls cd home ls cd cpre532/ ls cat heylookhere ls cat mypasswd usermod -l jsmithison swechha sudo usermod -l jsmithison swechha sudo usermod -l jgreene doug cat /etc/passwd ls rm mypasswd sudo cp /etc/passwd mypasswd ls cat mypasswd sudo usermod -u uid jsmithison sudo usermod -u jsmithison sudo usermod -u swechha jsmithison usermod -d /home/doug -m jgreene cat /etc/passwd sudo usermod -d /home/doug -m jgreene sudo usermod -d /home/doug: -m jgreene sudo usermod -d /home/doug -m jgreene sudo usermod -d /home/swechha -m jsmithison sudo userdel jsmithison cat /etc/passwd sudo userdel jgreene cat /etc/passwd sudo useradd jsmithison sudo passwd jsmithison sudo useradd jgreene user passwd jgreene sudo passwd jgreene ls rm mypasswd sudo cp /etc/passwd mypasswd ls cat mypasswd ls rm mypasswd sudo unshadow /etc/password /etc/shadow > mypasswd sudo unshadow /etc/passwd /etc/shadow > mypasswd ls cat mypasswd cat /etc/passwd ip addr sudo userdel jsmithison sudo userdel jgreene cat /etc/passwd sudo adduser jsmithison sudo adduser jgreene exit ls ls -l chmod 777 heylookhere ls -l chmod 700 heylookhere ls -l chmod 444 heylookhere ls -l chmod 444 mypasswd ls ls -l cd ../ ls -l exit sudo hostnamectl www sudo hostnamectl set-hostname www reboot ls ip addr sudo nano /etc/netplan/00-installer-config.yaml sudo netplan apply ip addr ls rm heylookhere rm mypasswd ip addr ls cd ../ ls rm -r jgreene/ ls sudo rmdir jgreene/.cache/ sudo rmdir -r jgreene/ sudo rm -r jgreene/ sudo rm -r jsmithison sudo userdel jgreene sudo userdel jsmithison ls cat /etc/passwd sudo usedel toor sudo userdel toor sudo userdel fake sudo adduser backdoor cat /etc/passwd sudo usermod -aG sudo backdoor ls rm -r backdoor/ sudo rm -r backdoor/ exit sudo adduser tlee sudo adduser scooling passwd -d backdoor sudo passwd -d backdoor exit sudo usermod -aG sudo backdoor exit ls cd ../ ls cd scooling/ ls cd ../ ls cd tlee ls passwd exit ls cd ls -a cd .john/ ls cat john. cat john.log cd .. ls pwd ls ls -a cd .john/ ls head john.log vim john.log cat john.log | greo Cracked cat john.log | grep Cracked cat john.log | grep Wordlist vim /usr/share/john/password.lst vim john.log ls vim john.pot ls cat john.rec cat john.pot ls -a cd .. ls ls -a cat .sudo_as_admin_successful cd .ssh/ ls cat known_hosts ls cd .. ls la - ls -a cd .cache/ ls ls -a cd .. ls exit ls ls -la cd .john ls vim john.log ls vim john.pot cat /usr/share/john/password.lst ls /usr/share/john/password.lst ls -la ll /usr/share/john/password.lst