Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Navigating The Supply Chain Maze A Comprehensive Guide To Optimize Operations And Drive Success

Authors: Michael E Kirshteyn Ph D

1st Edition

B0CPQ2RBYC, 979-8870727585

More Books

Students also viewed these Databases questions

Question

How effective were Mary Cunninghams political strategies? Explain.

Answered: 1 week ago

Question

Connect with your audience

Answered: 1 week ago