Question: ' ' ' Add your name here Final Script June 2 0 2 1 ' ' ' import re print ( Final Script )
Add your name here
Final Script
June
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
# Determine the number of occurrences of the following possible words found in the wordList
kernelCount
encryptCount
fairwitnessCount
for word in wordList:
if word "kernel":
kernelCount
elif word "encrypt":
encryptCount
elif word "fairwitness":
fairwitnessCount
# Print the number of occurrences of each possible word
printkernelCount: kernelCount
printencryptCount: encryptCount
printfairwitnessCount: fairwitnessCount
This is my current code. The mem.raw file and the script are in the same file together in my directory. All it does is stop at "Final Script" in the debug io and doesnt do anything else. I cant modify the starting script and im not sure what is causing the pause. pretty much everything below final script does not generate.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
