Disclaimer :The Following Code is only for Educational purposes
What I am Going to teach ?
Hacking a ftp of a website using Brute-Force Attacking Or Dictionary Attacks. Brute Force Attack means randomly trying all the alphabets as username and Password while dictionary attack means using given list of usernames and passwords.
The Requirements :-
I personally used Ubuntu 10.10 Maverick Meerkat but i will be also explaining that of Lucid Lynx Ubuntu 10.04. Any Of the mentioned OS will Do . In short let me tell you how i am going to hack the FTP. First , I am going to install the Hydra and Xhydra in Ubuntu and then Nikto . Both the tools are used in Ubuntu in order to test the "how strong the ftp password is " but around 30% of the websites could be easily hacked by this method . Many Websites still have no FTP passwords !!
NOTE : I am assuming That you have not modified any of the ubuntu source files and hence won't run into errors . Even If you Do please mention it in the Comment box below.
Installing Nikto
System > Administration > Synaptic Package ManagerSearch Nikto in it . And install it on your computer That's pretty simple
Installing Hydra In Ubuntu 10.04
Follow the steps given below to install Hydra 5.7 in Ubuntu Lucid Lynx 10.04
Step 1. Paste the following code in terminal . It installs the required softwares .sudo apt-get install build-essential linux-headers-$(uname -r) libgtk2.0-dev
Step 2 Download and extract the THC-Hydra tarball
wget -c http://freeworld.thc.org/releases/hydra-5.7-src.tar.gz
tar -xvzf hydra-5.7-src.tar.gz
cd hydra-5.7-src
Step 3 Now you are ready to compile:
./configure
make
sudo makeinstall
Now Close The terminal and press alt + F2 and type xhydra and press enter . A window like the one in image below will open up .

We Have successfully installed the Hydra , HydraGTK(xhydra) and Nikto :) .
0 comments:
Post a Comment