SHARE
TWEET

katagaitai ctf study session - setup & write-up

bata_24 Jun 25th, 2015 (edited) 962 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 環境セットアップ
  2. # x64環境でx86バイナリを動かすパッケージ
  3. dpkg --add-architecture i386
  4. apt-get update
  5. apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
  6. apt-get install gcc-multilib g++-multilib
  7.  
  8. # ELF解析用
  9. apt-get install binutils
  10.  
  11. # Python,perl
  12. apt-get install python2.7 perl
  13.  
  14. # ROPガジェット探索用
  15. wget https://github.com/downloads/0vercl0k/rp/rp-lin-x86
  16. chmod +x rp-lin-x86; mv rp-lin-x86 /usr/local/bin
  17.  
  18. # その他
  19. apt-get install socat nasm
  20.  
  21. # gdb-peda導入
  22. git clone https://github.com/longld/peda.git ~/peda
  23. echo "source ~/peda/peda.py" >> ~/.gdbinit
  24.  
  25. ---------------------------------------------------------------------------------------
  26. # Write-upまとめ(追記しました)
  27. nomeaningさん(level 2-4) https://twitter.com/__ytoku/status/617668596802568192
  28. akiymさん(level 2-5) https://twitter.com/akiym/status/617973821975343104
  29. bonoさん(level 2-5) https://twitter.com/Bono_iPad/status/618788112961966080
  30. otameshiさん(level 5のみ) https://twitter.com/otameshi61/status/618689599913590786
  31. 志賀さん(level 2-5) https://twitter.com/Ga_ryo_/status/619164474981793794
  32. れっくすさん(level 5のみ) https://twitter.com/xrekkusu/status/618700050273665024
  33. kusanoさん(level 1-5) https://twitter.com/kusano_k/status/619776343224381440
  34. Rintaroさん(level 1-4) https://twitter.com/_rintaro_f/status/619964583474651136
  35. zipさん(level 2-3) https://twitter.com/dskzip/status/620455222838628354
  36. 想定解(Level 2-5) http://pastebin.com/MvTZ4VY9
RAW Paste Data
Top