Setting up an Ethical Hacking Server in AWS - PLEASE STAY ETHICAL
In this video we install metasploit, firewalld, and httpd to get started with an ethical hacking server.
We open up the security groups and the host based firewall to allow the connections we are interested in.
Sorry history does not allow angled brackets
I am not paid to promote any thing. Rapid 7 is just a great company. https://www.rapid7.com/
[ec2-user@ip-172-31-57-157 ~]$ history
1 sudo yum -y update
2 curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb NOTALLOWED msfinstall && chmod 755 msfinstall && ./msfinstall
3 sudo yum -y update
4 sudo yum install firewalld
5 sudo systemctl enable firewalld
6 sudo reboot
7 sudo yum -y install httpd
8 sudo systemctl enable httpd
9 sudo systemctl start httpd.service
10 netstat -tnlp
11 sudo netstat -tnlp
12 sudo firewall-cmd --list-all
13 sudo firewall-cmd --zone=public --add-service=http
14 sudo firewall-cmd --zone=public --add-service=https
15 sudo su -
16 history
[ec2-user@ip-172-31-57-157 ~]$ history
1 sudo yum -y update
2 curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb NOTALLOWED msfinstall && chmod 755 msfinstall && ./msfinstall
3 sudo yum -y update
4 sudo yum install firewalld
5 sudo systemctl enable firewalld
6 sudo reboot
7 sudo yum -y install httpd
8 sudo systemctl enable httpd
9 sudo systemctl start httpd.service
10 netstat -tnlp
11 sudo netstat -tnlp
12 sudo firewall-cmd --list-all
13 sudo firewall-cmd --zone=public --add-service=http
14 sudo firewall-cmd --zone=public --add-service=https
15 sudo su -
16 history