This shows you the differences between two versions of the page.
cns:labs:lab-04 [2021/11/02 17:35] razvan.deaconescu [2. execve] |
cns:labs:lab-04 [2022/10/31 17:22] (current) mihai.dumitru2201 [Tasks] |
||
---|---|---|---|
Line 350: | Line 350: | ||
All content necessary for the CNS laboratory tasks can be found in [[cns:resources:repo|the CNS public repository]]. | All content necessary for the CNS laboratory tasks can be found in [[cns:resources:repo|the CNS public repository]]. | ||
- | |||
- | Submit your flags to [[https://cns-lab-ctf21.cyberedu.ro/|the CNS CyberEDU Platform]]. | ||
Line 394: | Line 392: | ||
</code> | </code> | ||
- | Where ''["/bin/sh", NULL]'' denotes the **address** of the array of two strings: the ''"/bin/sh"'' string and the ''NULL'' string. | + | Where ''["/bin/sh", NULL]'' denotes the **address** of the array of two strings address: the address of the ''"/bin/sh"'' string and the ''NULL'' address. |
<note tip> | <note tip> | ||
- | You need to get the string ''"/bin/sh"'' on the stack. | + | You need to get the address of the string ''"/bin/sh"'' on the stack. |
You can do this using the hack from the write challenge. | You can do this using the hack from the write challenge. | ||
</note> | </note> |