[*] '/home/klose/ctf/pwn/file/pwnable_kr/flag/flag' Arch: amd64-64-little RELRO: No RELRO Stack: No canary found NX: NX disabled PIE: No PIE (0x400000) RWX: Has RWX segments Packer: Packed with UPX
看到有个UPX壳;
strings看一下;
$ strings flag | grep UPX | bat ───────┬────────────────────────────────────────────────────────────────────────────────────── │ STDIN ───────┼────────────────────────────────────────────────────────────────────────────────────── 1 │ UPX! 2 │ $Info: This file is packed with the UPX executable packer http://upx.sf.net $ 3 │ $Id: UPX 3.08 Copyright (C) 1996-2011 the UPX Team. All Rights Reserved. $ 4 │ UPX! 5 │ UPX! ───────┴──────────────────────────────────────────────────────────────────────────────────────