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

Identify and discuss a key milestone in the history of computers that interests you and why.

  Part 1Title: Lab ResponseDiscuss one feature of MS Word and one feature of MS Excel that you found challenging within the lab and why. Examples are WordArt, inserting shapes, adding borders, cell styles, etc. This response should be at least one paragraph in length. Part 2Title: History of Computers Identify and discuss a key milestone in the history of computers that interests you and why. This section should be at least one paragraph. Part 3Title: System Software vs. Application Software In your words, explain the difference between application software and system software as if to another coworker who has limited technical knowledge. Use examples to support your rationalization. This section should be at least two paragraphs. Part 4Title: Blockchain and Cryptocurrency In a minimum of one paragraph each: 1. Conduct some research on the internet and discuss one underlying technology of cryptocurrencies like blockchain, cryptography, distributed ledger technol...

Cybersecurity and Infrastructure Security (CISA)

 Develop a research paper that identifies a specific Department of Homeland Security (DHS) operating agency. Fully describe 1 DHS operating agency from the following list: Cybersecurity and Infrastructure Security (CISA) U.S. Customs and Border Protection (CBP) U.S. Citizenship and Immigration Services (USCIS) Federal Emergency Management Agency (FEMA) U.S. Coast Guard (USCG) U.S. Immigration and Customs Enforcement (ICE) U.S. Secret Service (USSS) Transportation Security Administration (TSA) The information must include a discussion of the selected DHS agency. Identify the agency’s mission, goals, objectives, and metrics. Conduct an analysis of how these mission areas address the threats or challenges. Recommend agency program priorities among the current set of goals, objectives, metrics, or budget items. Justification of all choices is an essential element of this assignment. Reference all source material and citations using APA format. WE OFF...

Which personal characteristics do you consider essential for a successful career in human services? Which characteristics should be considered detrimental?Â

Which personal characteristics do you consider essential for a successful career in human services? Which characteristics should be considered detrimental? Â Need a Professional Writer to Work on this Paper and Give you a Quality and Original Paper? Click Here to Get this Paper at an Affordable Price…………