Menu Close

Exploit Ubuntu 12.04.5

Hi all today im going to show how to get root shell in Ubuntu 12.04.5 version

First of all read this post to get how to get riverse shell from webserver

After you have get a shell from web server, i will continue this

And create named pipes file in /tmp folder
Then pass that to Hacker’s Machine via netcat

Capture that from kali machine
From that, open /bin/bash from python to get more interactive shell
Then get ubuntu and kernel version of that ubuntu machine
From another terminal window, update the searchsploit database
Then search available exploit to that version
Copy to different location
open http server to transfer the exploit to ubuntu machine

Download that file from the terminal

Now compile that using gcc

Now run that exploit to get root shell

Successfully get a root privilege from that

%d bloggers like this: