10 Feb 2020

arm环境配置

arm环境配置

qemu

apt-get install qemu

依赖库

apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

pwntools-binutils

apt-get install software-properties-common
apt-add-repository ppa:pwntools/binutils
apt-get update
apt-get install binutils-$ARCH-linux-gnu

以下安装包存在

binutils-aarch64-linux-gnu
binutils-mips-linux-gnu
binutils-powerpc-linux-gnu

以下暂时⑧存在

binutils-alpha-linux-gnu
binutils-arm-linux-gnu
binutils-avr-linux-gnu
binutils-cris-linux-gnu
binutils-hppa-linux-gnu
binutils-ia64-linux-gnu
binutils-m68k-linux-gnu
binutils-mips64-linux-gnu
binutils-msp430-linux-gnu
binutils-powerpc64-linux-gnu
binutils-s390-linux-gnu
binutils-sparc-linux-gnu
binutils-vax-linux-gnu
binutils-xscale-linux-gnu
binutils-i386-linux-gnu
binutils-x86_64-linux-gnu

qemu-aarch64 -L /usr/aarch64-linux-gnu ./pwn
r = process(['qemu-aarch64', '-L', '/usr/aarch64-linux-gnu', './pwn'])

Tags:
0 comments



本作品采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议CC BY-NC-ND 4.0)进行许可。

This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC BY-NC-ND 4.0).