Skip to content

Latest commit

 

History

History

challenge-3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Challenge 3 (env Pollution) Linux

We have provided you 3 ELF files(compiled C codes)

In each level you need to perform some tasks to get the flag

  • level1: get the environment variables in the spawned shell
  • level2: launch the program with no environment variables
  • level3: launch the program with an environment variable CSeC=Awesome; ensure that the argv[0] is equal to YoS

PS: You may skip level3. Since you will get to know more about it in the upcoming weeks

Submission instruction

In this repo inside the challenge-3 directory we have already created level1.txt level2.txt level3.txt files.
Write all the commands that you have used to solve for each challenge (one on each line)
Also while submission the first line of each text file should be the flag you obtained