1) What Is a CVE

1) What Is a CVE

<p>COMP075 Operating Systems 2 Lab 4</p><p>Due: The day of the next lab. October 19</p><p>Resources:</p><p>Power Shell examples from the lecture.</p><p>Activities:</p><p>Students are to duplicate lab 3, but this time using powershell.</p><p>The entire lab can be accomplished in a pipeline, without writing a script, but the command line will be very long. In my tests I broke the task into three stages. For yur final test, run the entire pipeline in one piece.</p><p>The first stage used gc and sls to get the records from the log containing Inext-DROP- DEFLT. I stored this result in a variable ($logs).</p><p>The second stage used ForEach-Object and match to extract just the IP addresses and ports, which I stored in another variable ($probes).</p><p>The last stage took this result, sorted it and piped the result to another ForEach-Object loop where the functionality of the lab3 awk script is implemented. Use the -begin keyword to introduce a scriptblock that initializes variables. Use a -process block to process the records, and a -end block to print the totals. Use write-host to write the output using -NoNewLine where appropriate. You can use essentially the same code that you used in the awk script. In the powershell version you need to separate the ip from the port in the input, and this can be done using the split method of the input string object. </p><p>Deliverables:</p><p>Screen shots showing the code in use. Provide some documentation of the development process and describe the commands and other techniques used in the pipeline. </p><p>Due the day of the next lab. You should email a Word, PDF or ODT document file along with any other required deliverables to [email protected] or cmb- [email protected] .</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us