11-08-2012, 10:32 AM
In This tutorial I will write about rooting server with php-reverse shell and netcat command shell trojan and forward port.
First you need to find dir.(in the server)where u have full rights (read write execute...) upload php reverse shell there
Now open php-rever shell with notepad++(or other editor) scroll down and you will se
$ip = your ip
$port = your open port
Now upload it to vulnerable site
Its time to run netcat
extract the zip file in c:/ or somewhere where its east to locate with CMD
Start cmd and locate netcat folder
Run nc.exe and enter this command
And should say "Listening on [any] Your Port "
Now open the php-reverse shell (From the site you have upload it)
You are connected !
Here is video on how to do it
Now its time for r00t1ng =D
Now go back to your shell(not the php-reverse the one u have use to upload it) and search for kernel information "many time is this command uname -a" when you find it
it will show something like
So our Kernel version is 1.2.17-194
Go to exploit-db 1337day or other site for exploits and search for Local Root Your kernel version; Local Root 2.6.17-194 in my case
When you find it download it compile it and run in on the server (download and compile on your pc and run it on the server)
Now you should have root access to the server
Here is video i you haven't undrastand it this isn't hard but it's not for beginners
RFI+ Remote to Local shell + rooting
I haven't create this video but I have make the tutorial
[To see links please register here]
php-reverse shell[To see links please register here]
netcat[To see links please register here]
netcat for windowsFirst you need to find dir.(in the server)where u have full rights (read write execute...) upload php reverse shell there
Now open php-rever shell with notepad++(or other editor) scroll down and you will se
Hidden Content
$ip = your ip
$port = your open port
Now upload it to vulnerable site
Its time to run netcat
extract the zip file in c:/ or somewhere where its east to locate with CMD
Start cmd and locate netcat folder
Run nc.exe and enter this command
Hidden Content
And should say "Listening on [any] Your Port "
Now open the php-reverse shell (From the site you have upload it)
You are connected !
Here is video on how to do it
Now its time for r00t1ng =D
Now go back to your shell(not the php-reverse the one u have use to upload it) and search for kernel information "many time is this command uname -a" when you find it
it will show something like
Hidden Content
So our Kernel version is 1.2.17-194
Go to exploit-db 1337day or other site for exploits and search for Local Root Your kernel version; Local Root 2.6.17-194 in my case
When you find it download it compile it and run in on the server (download and compile on your pc and run it on the server)
Now you should have root access to the server
Here is video i you haven't undrastand it this isn't hard but it's not for beginners
RFI+ Remote to Local shell + rooting
I haven't create this video but I have make the tutorial