Now that Radare2 and GDB-Multiarch are installed we have a few options to proceed with debugging. Be sure the variables at the top are being configured correctly for your distro. Feel free to backup the current qemu-ifup file because we will be replacing it's contents with the following code (WARNING: These commands work on Kali 2018.1. QEMU automatically creates the file /etc/qemu-ifup which is supposed to enable networking for the emulated MIPS system, however, I have had many issues with this, so we will be using a modified version for this demonstration. M malta -kernel $kernel -hda $hda -append "root=/dev/sda1 console=tty0" -nographic $qemu -net nic -net tap,ifname=$iface,script=no,downscript=no \ etc/qemu-ifup tap0 || quit 1 "Failed to start tap0" Hda="$path/debian_wheezy_mipsel_standard.qcow2" The script will look like this (be sure to modify the path variables at the top to correspond to where you put your files): #!/bin/bash You can name it start.sh or something similar. Once you have downloaded these two files you will need to create a shell script in the same folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |