Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cns:labs:lab-05 [2020/11/09 15:56]
dennis.plosceanu [1. Passing shellcode through the environment]
cns:labs:lab-05 [2022/11/07 14:44] (current)
mihai.dumitru2201 [Tasks]
Line 398: Line 398:
  
 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]]. ​
- 
  
 ==== 1. Passing shellcode through the environment ​ ==== ==== 1. Passing shellcode through the environment ​ ====
Line 428: Line 427:
 This way you can do the whole exploit with a python script: This way you can do the whole exploit with a python script:
   - run ''​getenv''​ to leak the address   - run ''​getenv''​ to leak the address
-  - parse the output of getenv ​+  - parse the output of ''​getenv'' ​
   - build the payload and send to ''​vuln''​   - build the payload and send to ''​vuln''​
 </​note>​ </​note>​
cns/labs/lab-05.1604930181.txt.gz ยท Last modified: 2020/11/09 15:56 by dennis.plosceanu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0