Differences

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

Link to this comparison view

isc:labs:06 [2023/11/14 21:32]
alexandru.ghita2611 [Exercises]
isc:labs:06 [2024/04/09 20:48] (current)
alexandru.mircea98 [Reading and modifying memory]
Line 8: Line 8:
 ===== Setup ===== ===== Setup =====
  
-  * Open a lab VM instance on [[https://​cloud.grid.pub.ro|OpenStack]],​ image: **ISC 2023 rev 1**, flavor: **m1.medium**.+  * Open a lab VM instance on [[https://​cloud.grid.pub.ro|OpenStack]],​ image: **ISC 2023 rev 2**, flavor: **m1.medium**.
  
   * Install the 32-bit **libc** and **gcc-multilib** packages:   * Install the 32-bit **libc** and **gcc-multilib** packages:
Line 21: Line 21:
  
 <​code>​ <​code>​
- 
 git clone https://​github.com/​pwndbg/​pwndbg git clone https://​github.com/​pwndbg/​pwndbg
 cd pwndbg cd pwndbg
 ./setup.sh ./setup.sh
- 
 </​code>​ </​code>​
  
Line 31: Line 29:
  
 <​code>​ <​code>​
- 
 ➜ gdb ➜ gdb
 GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1 GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
 ... ...
 pwndbg> pwndbg>
- 
 </​code>​ </​code>​
  
Line 311: Line 307:
 <​code>​ <​code>​
  
-pwndbg> x/10ww $esp+pwndbg> x/10wx $esp
 0xffffd850: ​    ​0xffffd890 ​     0xf7fbe66c ​     0xf7fbeb20 ​     0x00796568 0xffffd850: ​    ​0xffffd890 ​     0xf7fbe66c ​     0xf7fbeb20 ​     0x00796568
 0xffffd860: ​    ​0xffffd880 ​     0xf7fa9000 ​     0xf7ffd020 ​     0xf7da0519 0xffffd860: ​    ​0xffffd880 ​     0xf7fa9000 ​     0xf7ffd020 ​     0xf7da0519
isc/labs/06.1699990351.txt.gz · Last modified: 2023/11/14 21:32 by alexandru.ghita2611
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