Skills

  • ltrace: trace library function call
  • strace: trace system call
  • gdb
    • break <func_name>/<mem_addr>: set break point
    • run <cmd_args>: just like you type commands in terminal normally
    • x/s: show strings
    • x/i <mem_addr>: show instructions

Homework

1-1

  • IP matters
  • learn to use Tor

1-2

  • key point: code inside the for loop

1-3

  • Like Homework 0-1 Magic