-
Notifications
You must be signed in to change notification settings - Fork 87
Home
nongiach edited this page Jun 5, 2018
·
11 revisions
arm_now is a qemu powered tool that allows instant setup of virtual machines on arm cpu, mips, powerpc, nios2, x86 and more, for reverse, exploit, fuzzing and programming purpose.
$ sudo pip3 install https://github.com/nongiach/arm_now/archive/master.zip
$ sudo pip3 install arm_now # this is not recommended yet
Actually, arm_now doesn't require any root privilege, you can install it as a normal user if you want as long as arm_now is in your $PATH...
$ arm_now start armv5-eabi
Welcome to arm_now
buildroot login: root
# uname -m
armv7l
$ arm_now start mips32el
Welcome to arm_now
buildroot login: root
# gdb /bin/ls
(gdb) start
Temporary breakpoint 1, 0x00405434 in main ()
(gdb) x/i $pc
=> 0x405434 <main+12>: li a0,-1
arm_now
Usage:
arm_now list [--all]
arm_now start [<arch>] [--clean] [-s|--sync] [--offline] [--autostart=<script>] [--add-qemu-options=<options>] [--real-source] [--redir=<port>]...
arm_now clean
arm_now resize <new_size> [--correct]
arm_now install [<arch>] [--clean] [--real-source]
arm_now show
arm_now offline
arm_now -h | --help
arm_now --version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Commands:
list List all available images for all cpu.
start Start a vm with a <arch> cpu. (default: armv5-eabi)
resize Resize the current rootfs. (example: resize 1G)
clean Delete the current rootfs.
install Download, install and config a rootfs for the given <arch>. (default: armv5-eabi)
show Show informations about the rootfs.
offline Donlowad all rootfs and kernel so arm_now can be fully runned offline.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Options:
--sync Synchronize the current directory with the vm home.
--redir protocol:host::guest Redirect the host port to the guest (example: --redir tcp:8000::80)
--clean Clean the current image before starting.
--add-qemu-options=<options> Add options to qemu-system-<arch>.
(example: --add-qemu-options="-sandbox on" to Enable seccomp mode 2 system call filter )
--autostart=<script> At startup <script> is uploaded and executed inside the vm.
--syncpath=<path> Synchronize the <path> directory with the vm home.
--syncroot=<path> Synchronize the <path> directory with the vm root.
(Only if you need to modify the linux vm config)
--offline Start with zero internet request.
--correct Correct the filesystem after resize.
-h --help Show this screen.
--version Show version.