Skip to main content

You are going to write a Python program that represents a command line version of a hexadecimal editor.

CSCI 352 - Digital Forensics Assignment #1
Spring 2020
Total Points: 100
You are going to write a Python program that represents a command line version of a hexadecimal editor.
This program will be similar to the Linux built-in command line hexadecimal editors such as xxd and
hexdump.
The program will first ask the user to enter the name of any file you want to read. Your program will then
print the binary contents of the file into the standard output (screen). The output will be divided into three
main sections: the offset values in decimal, sixteen space-separated hexadecimal bytes, followed by the
same sixteen bytes but in ASCII value. The figure below shows an example of the first 48 bytes of an
output, and the three different sections:
Notice that in the 2nd section there a space between the 8th and 9th byte. Each output line represents 16 bytes.
The first column shows the decimal offset, where the first byte from the first line represents the 0th byte;
the second line starts with byte 16th and so on. The final section only shows the printable ASCII characters.
These are the ASCII characters can be printed on the screen (usually they are the characters with ASCII
values between 0x20 and 0x7EThe rest of the unprintable bytes are replaced by a period ('.'). The following
built-in Python functions will be useful in this situation: chr, hex, ord. More information about these
functions can be found here: https://docs.python.org/3/library/functions.html
What to hand in
Submit your program electronically through D2L. Please hand in the Python program (.py file or.ipynb)
offset
Hexadecimal Values
ASCII Values

Comments

Popular posts from this blog

Should pit bull terriers be banned in my community

 Discussion Forum: Counterarguments (Should pit bull terriers be banned in my community) You created a question about the topic for your W6 Rough Draft. For this discussion, you will give an answer to that question in the form of a thesis statement. "Dieting Makes People Fat" Main Post: Share your thesis statement with your classmates. Please note: As with last week’s discussion, nothing here is set in stone. Be open to changing everything about your topic, including your position and audience, as you research it and get feedback from your classmates. Topic + Position/Purpose + Supporting Points =Thesis Statement Example: Suppose the question you posed in the Week 5 discussion was something like, “Should pit bull terriers be banned in my community?” After doing some preliminary research, you have concluded that pit bulls, if raised properly, are no more dangerous than other breeds of dogs. Your thesis statement can be something like, “Pitbulls should not be banned

CYBER SECURITY and how it can impact today's healthcare system and the future

 Start by reading and following these instructions: Create your Assignment submission and be sure to cite your sources, use APA style as required, and check your spelling. Assignment: Recommendations Document Due Week 6 (100 pts) Main Assignment Recommendations Document The 1250 to 1500-word deliverable for this week is an initial draft of your recommendations. Note that this is a working document and may be modified based on insights gained in module eight and your professor's feedback. This document should contain the following elements: Summary of your problem or opportunity definition A list of possible recommendation alternatives. In this section, you are not yet at the point of suggesting the best set of recommendations but you are trying to be creative and explore all the different ways that the problem or opportunity might best be addressed. The end result here will be a list of alternatives among which you will choose your final recom

Do violent video games encourage players to become violent in real life?

 Write an outline for Speech 3, the persuasive belief speech, following the outline guidelines and formatting requirements (Do violent video games encourage players to become violent in real life?).  1000-1200 WORDS https://virtualspeech.com/blog/persuasive-speech-outline-structure-delivery Topics: https://blog.prepscholar.com/good-persuasive-speech-topics Do violent video games encourage players to become violent in real life? https://www.youtube.com/watch?v=YKKWOx43pIY WE HAVE DONE THIS ASSIGNMENT BEFORE, WE CAN ALSO DO IT FOR YOU GET SOLUTION FOR THIS ASSIGNMENT,  Get Impressive Scores in Your Class CLICK HERE TO MAKE YOUR ORDER   on Do violent video games encourage players to become violent in real life? Are You looking for Assignment and Homework Writing help?  We Provide High-Quality Academic Papers at Affordable Rates. No Plagiarism. TO BE RE-WRITTEN FROM THE SCRATCH