This fix is for SSHatter-0.6
It may not be the best way but it works ( I will show why in a bit)
OK first sshatter is located here
/Backtrack/Privilege Escalation/All/SSHatter
Or through the command line @
root@bt:/pentest/password/SSHatter-0.6/src#
First thing we need to do in order to get it to work is
install two perl modules
the first one is Parallel-ForkManager-0.7.5.tar.gz
I used wget
Code:
wget http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/Parallel-ForkMa
nager-0.7.5.tar.gz
then
Code:
# tar -xvzf Parallel-ForkManager-0.7.5.tar.gz
Code:
# cd Parallel-ForkManager-0.7.5
Code:
# perl Makefile.PL
At this point you should see something like this
Code:
Checking if your kit is complete...
Looks good
Writing Makefile for Parallel::ForkManager
Then do a
Code:
make
and
Code:
sudo make install
At this point you are done with ForkManager
The next part has more variables to it as noted above I followed the simplest route to get the program (sshatter) up and going.
The next module is Net::SSH::Perl
Now for this one I could not use wget for some reason it would not resolve properly but that doesn't matter.
Just download the link and save it to your system
I chose to save it under root (Linux purists I know that this is not the best place).
Next do
Code:
# tar xvzf Net-SSH-Perl-1.34.tar.gz
Next "cd" into the directory were ever you download to.
Then since you are in the directory it might be a good time to read the readme (nano README) there is a lot of good info about the different choices you can make. Again I took the path of least resistance ( after a previous failure)
Code:
# perl Makefile.PL
At this point the makefile will start asking a bunch of questions
you have to decide what you want but I took
3 Both SSH1 and SSH2
Then 1 IDEA
Then no to BubbleBabble, no to Crypt::RSA.
At this point you should see the following
Code:
Writing Makefile for Net::SSH::Perl
Again if you choose the other options other dep's will be installed as well.
At this point you need to do a
Code:
# make && make test
Look for
Code:
All tests successful, 7
at the end and then
Code:
# make install
once the prompt returns you are finished with Net::SSH::Perl

EDIT: I did forget to add one thing in my fix above and for that I apologize.
You also need to add the perl module Time::HiRes modules.

This needs to be installed as well before using sshatter.
Just use perl Makefile.PL and follow the directions to install it once you have it downloaded.
That should totally fix the problems as I redid my steps and everything works fine now for me. Again I apologize for leaving this step out.

At this point we need to fix the menu link so that it will work
Right click on the icon and select edit item from the menu
then in the Work Path field enter
Code:
/pentest/password/SSHatter-0.6/src
Then in the command field add the following
Code:
echo;perl SSHatter.pl;sudo -s
Save and exit and you are finished.