공부

[QEMU] iptime emulating

KuroNeko_ 2017. 7. 26. 20:04
반응형

힘드렀다


apt-get install qemu-system-mipsel

wget https://people.debian.org/~aurel32/qemu/mipsel/vmlinux-3.2.0-4-4kc-malta

wget https://people.debian.org/~aurel32/qemu/mipsel/debian_wheezy_mipsel_standard.qcow2



qemu-system-mipsel -kernel vmlinux-3.2.0-4-4kc-malta -hda debian_wheezy_mipsel_standard.qcow2 -append "root=/dev/sda1" -nographic -redir tcp:3080::80 -redir tcp:3022::22



cp ./default/* ./tmp/ 


chroot ./ ./bin/sh 


./sbin/httpd


cd /

mkdir /home/httpd/192.168.0.1/sess-bin

cp -r cgibin/* /home/httpd/192.168.0.1/sess-bin/

cp -r cgibin/* /bin/login-cgi