Table of Contents

UNIX Knowledge Assessment

0x0

Given the following permission strings, what is the resulting octal permissions?

0x1

Based on the following:

val1=15
val2=1

What will the output be of each of the following, and why?

0x2

In /var/public/unix/ka/ is a file called ka1.mp3;

0x3

For all files:

0x4

For any C (.c) files:

0x5

For any shell script:

0x6

NOTE: If you cannot finish this one, it turns into a project.

In your speckled but hidden life of nefariousness and crime, you have managed to hack into the secure system of some organization. In this exploit, you obtained “hashfile”, which has a list of user names and their encrypted passwords.

As you do not have the actual plaintext passwords, you cannot immediately log in. Remembering your time (well spent) taking a UNIX course before turning to your current life of debauchery, you decide to set about brute forcing these passwords.

Using the programs and scripts you otherwise obtained from ka1.mp3, rig up a brute force password cracker to determine what these users have for passwords.

You may work with the following assumptions:

Aside from determining the user passwords, please answer me the following:

Challenge: