Answered step by step
Verified Expert Solution
Question
1 Approved Answer
' ' ' Add your name here Final Script May 2 0 2 4 ' ' ' import re print ( Final Script )
Add your name here Final Script May import re printFinal Script" with openmemraw", rb as target: # assumes that mem.raw is in the same folder as script contents target.read # read the entire contents of the file txt resubbAZaz b contents # strip all non alpha characters txt txtlower # convert all to lower case txt txtdecodeutf # convert to simple ASCII wordList txtsplit # Create a list of possible words printlenwordList you will add your code here, that determines the number of occurrences of the following possible words found in the wordList kernel encrypt fairwitness Note: You are NOT allowed to modify any other lines in the script, except to add your name in the comment block at the top Note: Your code will create the variables: kernelCount, encryptCount, and fairwitnessCount so the print statements below will print out the correct number of occurrences printkernelCount: kernelCount printencryptCount: encryptCount printfairwitnessCount: fairwitnessCount You will use the CYBVFINALSTARTERSUPY script and the mem.raw file provided to complete the Final. Make sure to follow the directions in the starter script exactly. You will submit your final script along with the script output.
Add your name here
Final Script
May
import re
printFinal Script"
with openmemraw", rb as target: # assumes that mem.raw is in the same folder as script
contents target.read # read the entire contents of the file
txt resubbAZaz b contents # strip all non alpha characters
txt txtlower # convert all to lower case
txt txtdecodeutf # convert to simple ASCII
wordList txtsplit # Create a list of possible words
printlenwordList
you will add your code here, that determines the number of occurrences
of the following possible words found in the wordList
kernel encrypt fairwitness
Note: You are NOT allowed to modify any other lines in the script, except
to add your name in the comment block at the top
Note: Your code will create the variables: kernelCount, encryptCount, and fairwitnessCount
so the print statements below will print out the correct number of occurrences
printkernelCount: kernelCount
printencryptCount: encryptCount
printfairwitnessCount: fairwitnessCount
You will use the CYBVFINALSTARTERSUPY script and the mem.raw file provided to complete the Final. Make sure to follow the directions in the starter script exactly.
You will submit your final script along with the script output.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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