Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

mipsel reboot payload #3041

Merged
merged 1 commit into from Mar 10, 2014

Conversation

Projects
None yet
2 participants
Contributor

m-1-k-3 commented Feb 26, 2014

This payload is very small and for different testing purposes quite helpful.

The original shellcode is over here: http://www.shell-storm.org/shellcode/files/shellcode-795.php

Create it the following way:

./msfpayload linux/mipsle/reboot X > msf-reboot.elf

Created by msfpayload (http://www.metasploit.com).
Payload: linux/mipsle/reboot
Length: 32
Options: {}

Let it run on a mipsel device (for example on a system in a qemu environment) and it should reboot ...

Contributor

jvennix-r7 commented Mar 10, 2014

Processing

Contributor

jvennix-r7 commented Mar 10, 2014

Verified working well

joe:msf-pristine/ (landing-3041) $ ./msfpayload linux/mipsle/reboot X > /tmp/reboot.elf
Created by msfpayload (http://www.metasploit.com).
Payload: linux/mipsle/reboot
 Length: 32
Options: {}

root@debian-mipsel:~# cd /tmp
root@debian-mipsel:/tmp# chmod +x reboot.elf 
root@debian-mipsel:/tmp# ./reboot.elf 
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-4kc-malta (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Wed Jan 12 06:13:27 UTC 2011
[    0.000000] 
[    0.000000] LINUX started...
[    0.000000] bootconsole [early0] enabled

jvennix-r7 pushed a commit that referenced this pull request Mar 10, 2014

@jvennix-r7 jvennix-r7 merged commit d6b28e3 into rapid7:master Mar 10, 2014

1 check passed

default The Travis CI build passed
Details

@m-1-k-3 m-1-k-3 referenced this pull request Mar 20, 2014

Merged

reboot payload for mipsbe #3127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment