- Objective: https://pentesterlab.com/bootcamp
- VM: CentOS 7
- Arch: x86_64
- Kernel: 3.10.0-415.el7.x86_64
$ sudo yum update
$ sudo yum install httpd
$ sudo service httpd start
Browse to http://127.0.0.1
$ sudo vi /etc/hosts
i
172.16.113.153 vulnerable
:wq!
cat /etc/httpd/conf.d/welcome.conf
vi /etc/httpd/conf.d/welcome.conf
$ # comment out the file
$ sudo gedit /var/www.html/index.html
The contents of that index.html
<DOCTYPE html>
<html>
<head>
<title>Adub's place</title>
</head>
<body>
<h1>Welcome to my blog.</h1>
<p>This page aint ready yet!!!</p>
</body>
</html>
Browse to http://vulnerable and rejoice at that basic ass beauty.