Differences

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

Link to this comparison view

cns:labs:lab-01 [2020/10/12 17:13]
dennis.plosceanu [2. odd-password] fixed for python3
cns:labs:lab-01 [2021/10/12 16:07] (current)
razvan.deaconescu [Tasks]
Line 8: Line 8:
 In the introductory lab we'll spice things up a bit by providing some simple binaries (with no source code) for you to play with. In order to solve the lab, you'll have to perform both **static analysis** and **dynamic analysis** on said binaries. In the introductory lab we'll spice things up a bit by providing some simple binaries (with no source code) for you to play with. In order to solve the lab, you'll have to perform both **static analysis** and **dynamic analysis** on said binaries.
  
-For consistency we recommend you use the provided [[cns:​resources:​vm|Kali ​Virtuam ​Machine]] for all the labs from this point forward.+For consistency we recommend you use the provided [[cns:​resources:​vm|Kali ​Virtual ​Machine]] for all the labs from this point forward.
  
-As a bonus the same tasks in this lab are compiled for the ARM architecture,​ you can use the [[cns:​resources:​vm|Debian ARM Virtuam ​Machine]] for these tasks.+As a bonus the same tasks in this lab are compiled for the ARM architecture,​ you can use the [[cns:​resources:​vm|Debian ARM Virtual ​Machine]] for these tasks.
  
 ===== Tasks ===== ===== Tasks =====
  
-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]], in the ''​labs/​01-introduction/''​ folder.
  
 ==== 1. even-password ​ ==== ==== 1. even-password ​ ====
Line 72: Line 72:
 <​code>​ <​code>​
 $ # python $ # python
-$ python -c '​import sys; sys.stdout.buffer.write(b"​\x02"​*20 + "​\x03"​)'​ # output 0x02 20 times, followed by 0x03 and a newline+$ python -c '​import sys; sys.stdout.buffer.write(b"​\x02"​*20 + b"​\x03"​)'​ # output 0x02 20 times, followed by 0x03 and a newline
  
 $ # perl $ # perl
cns/labs/lab-01.1602512024.txt.gz ยท Last modified: 2020/10/12 17:13 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