creating a bash shell script and documentation (Linux project)

you were tasked to use Linux

terminal commands to answer questions in a “Capture the Flag” (CTF) style format.

For this project, your task is to create a bash shell script and associated

documentation that will create a small set of Linux OS CTF-like challenges/puzzles.

a. Part 1: Create a bash shell script named [url removed, login to view] that,

when executed as root privileges, will install a set of challenges/puzzles on

the Linux system upon which it is run.

i. The script sets up the challenge environment by creating user

accounts, directories, and files; by setting permissions and passwords;

by configuring/starting services, etc.

ii. Then, once the script completes execution, the puzzles can be


iii. The shell script provides portability; that is, it can be copied onto any

Linux system, executed, and then the challenges can be attempted.

iv. You script should create at least four challenges of increasing

difficulty (one easy; one moderate difficulty; and one difficult).

v. The challenges should test a user’s knowledge of the Linux OS,

terminal commands, etc. and their problem-solving skills.

b. Part 2: Create a plain-text document called [url removed, login to view]

with a set of questions (one question per challenge) to help guide the user in

solving the challenges.

i. The answer to each question should be a flag (e.g., a hash value).

ii. For each question, the document should also have the answer to the


iii. For each question, the document should describe a walkthrough of

how the puzzle can be solved.

iv. Your document should also contain installation instructions for the

script: where to place the script; how to execute the script; etc.

v. Your document should also contain any special instructions for

playing the challenges (e.g., challenges require ssh login).

3. A significant portion of your grade will be based on the cleverness and uniqueness of

each challenge (compared to your classmates). Thus, I do not expect to see many, if

any, challenges that are similar to each other.

a. Each of your challenges should be distinct; that is, from each other.

b. Your challenges should be distinct from those of other students; though do

not coordinate with other students to ensure that they are different.

c. Your challenges should be distinct from those that you saw on the midterm


4. Ideas for challenges:

a. One or more challenge might rely on a previous challenge. For example,

each challenge is contained within a separate user account and the flag of

the previous question is the password for the next user account.

b. Perhaps design a problem with an intended security flaw (e.g., permissions

set incorrectly) so that the challenge is to “hack” the account). The security

flaw should not be so obvious that it fails even a cursory test. Also, other

than the intended flaw, you should work to make sure that each challenge

cannot be solved easily by some unanticipated approach.

c. Perhaps one or more challenges require remote access to the system

through ssh or web browser. In this case, your script should have started

the proper server and, if necessary, modified the system firewall to allow

remote connections (see the textbook for details).

d. Take a look at [url removed, login to view] for some other


Skills: Bash Scripting, Linux, Shell Script

See more: bash shell script project, bash shell script harden linux, bash shell script telephone, bash shell script read file, project bash shell script, bash shell script function, bash shell script valid number, bash shell script number format, bash shell script average, bash shell script delete file, bash shell script connect ftp server, unix bash shell script, shell script monitor linux server activity, bash shell script find move files, bash shell script calling bash shell script

About the Employer:
( 0 reviews ) United States

Project ID: #15707791

8 freelancers are bidding on average $188 for this job


Hello, We are a team of 30 developers based in Russia. View our featured projects: [url removed, login to view] [url removed, login to view] We specialise in: PHP & PHP frameworks, WordPress & Woocommerce, Openc More

$350 USD in 3 days
(1 Review)

Hello sir I read your proposal and i am very interested in your job. I have rich experience in Linux. I am sure i can help you nicely. Best regards Stay tuned, I'm still working on this proposal.

$150 USD in 3 days
(4 Reviews)

i am c/c++, linux expert and have full experience for 10 years. linux, c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Relevant Skills and Experience More

$155 USD in 3 days
(2 Reviews)

please ignore the bid amount we will discuss the price later in the chat after we have discussed the project thoroughly Relevant Skills and Experience: . Proposed Milestones: 190 - . Hi zackeruv64! please inbox me to d More

$190 USD in 2 days
(1 Review)

I am a computer systems engineer with experience on many system development projects mostly involving Linux and other Unix based systems.I can deliver an efficient solution to your [url removed, login to view] drop me a message. ki More

$200 USD in 10 days
(0 Reviews)

A proposal has not yet been provided

$100 USD in 5 days
(0 Reviews)
$133 USD in 3 days
(0 Reviews)
$222 USD in 15 days
(0 Reviews)