Question
Need to create these scripts for my ec2 instance. Instance ID: i-01feb1198cc2757c0 Public DNS (IPv4): ec2-3-81-211-127.compute-1.amazonaws.com IPv4 Public IP: 3.81.211.127 1. Make a script that
Need to create these scripts for my ec2 instance.
Instance ID: i-01feb1198cc2757c0 | Public DNS (IPv4): ec2-3-81-211-127.compute-1.amazonaws.com |
IPv4 Public IP: 3.81.211.127 |
1. Make a script that iterates through the IPs that accessed your wordpress site,
and then uses whois to determine what country that IP is from. Then output a
file located in your home directory that is a list of all the unique countries that
visited your wordpress site.
2. Make a script that creates a file located in your home directory with a unique
list of users who tried to login to your instance in the /var/log/secure
3. Make a script that creates a file located in your home directory with a unique
list of IPs who tried to login to your instance in the /var/log/secure
4. Make a script that updates your instance
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started