Question: Description In this assignment, you will write shell commands to perform basic tasks in Linux. When we write exploits, we will extensively use shell commands,

Description

In this assignment, you will write shell commands to perform basic tasks in Linux. When we write exploits, we will extensively use shell commands, so it is important that you are comfortable using a variety of commands. This assignment will help you learn which commands are appropriate for what task.

Environment

You will use the Kali Linux virtual machine for this assignment. Run the virtual machine and open a new terminal. For each task, you will need to run your commands in a separate terminal window. You must complete all tasks solely using the command line interface. After you complete a task, capture the screenshot of the terminal window that clearly shows all the commands you executed and include the screenshot in your submission.

Task

1. Generate a string of one hundred 'A's, four 'B's and fifty 'C's and store the string in a bash variable called STRING.

2. Write the content of STRING to a file called payload (without any extension).

3. Display the content of payload in hexadecimal format.

4. Read the content of payload into a new bash variable called PAYLOAD.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!