Junior Cyber Security Analyst at DataTrust - Python Script - IT Assignment Help

Download Solution Order New Solution
Assignment Task:

Solve the two following tasks, you need to answer both using Python Script file including Comments to your code:

Task 1

  1. Your script must:

    • use Python programming language (version 3.x)

    • include useful internal comments, following good commenting practice

      • A prologue with the purpose of the program, a description of what it does, version, date created and author name

      • Variable definitions

      • Explanations of complex code or structures

    • include proper error-handling code for checking:

      • if a folder exists before creating a folder

      • that the text file exists before reading it 

    • include appropriate error-handling messages

    • run without errors

    • produce the required output.

Submit a Python script file (.py).

Scenario

In your role as Junior Cyber Security Analyst at DataTrust, you’ve been asked to undertake some programming work for one of their clients. 

The client, Indigo Community Services and Health Hub, takes on new customers every week. The customer service staff create a folder for each new customer, which is used to store all the communications and documents. This takes some time to create, so they’ve requested an automated solution for this process. 

You’ve been instructed to write a Python script for the System Administrator to run on a weekly basis. The script should read the new customers’ names from a text file provided by the customer service team and create a folder for each name. 

The administrator needs to run the script from DC1 Server. The folder is to be created on a shared folder located on the file server as specified in the table below. There is no username or password required to access the file server.

Task 2

As the problem identified by the client requires the creation of a script that generates all IP addresses and adheres to the following requirements:

  • all IP addresses generated must fall within the subnet input by the end-user

  • the end-user will be prompted to provide the subnet and subnet mask when the script first starts

  • for example: subnet 192.168.x with subnet mask of 255.255.255.0

  • the script must skip every IP address that is evenly numbered (divisible by 2)

  • for example: 192.168.0.12, 192.168.0.14, … , 192.168.0.252, 192.168.0.254

  • reserves the top 10 IP addresses for printers and servers

  • scan all ports for each of the IP addresses in the subnet 

  • the ports are defined a file (ports.txt) that is imported when the script starts 

  • outputs the status of each port (open or closed)

 

This IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.