SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

PROJECT "combina"
Copyright © 2004,2005,2006 Danilo Cicerone

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

/*----------------------------------------------------------------------------*/

"combina" is a password generator that uses three different algorithms based on combinatorial analysis. It implements the Permutation without repetition, Permutation with repetition (the famous brute force), Combination without repetition and Combination with repetition. It supports unlimited number of characters in the input and MD5, SHA1 password hashes.

The libraries argtable2 and openssl are necessary for the compilation:

$ make

/*----------------------------------------------------------------------------*/

See http://en.wikipedia.org/wiki/Combinatorial for more information.

/*----------------------------------------------------------------------------*/

Example

$ combina --help
combina: A password generator that implements the combinatorial analysis. Usage: combina [-cmdraAns] [-k <int>] [-p <int>] [--user=STRING]... [--add-before=STRING]... [--add-after=STRING]... [--md5] [--sha1] [--help] [--version]

  -c                   Combination without repetition
  -m                   Combination with repetition
  -d                   Permutation without repetition
  -r                   Permutation with repetition (default)
  -k <int>             define the length of the passwords (default is 3)
  -p <int>             progressive length of the passwords (from p to k)
  -a                   add charset [abcdefghijklmnopqrstuvwxyz]
  -A                   add charset [ABCDEFGHIJKLMNOPQRSTUVWXYZ]
  -n                   add charset [0123456789]
  -s                   add charset [! "#$%&'()*+,-./:;<=>?@[\]^_`{|}~]
  --user=STRING        add your charset

--add-before=STRING add your const string before charset --add-after=STRING add your const string after charset

  --md5                return the MD5 hash
  --sha1               return the SHA1 hash
  --help               print this help and exit
  --version            print version information and exit

Report bugs to <info@digitazero.org>.

$ combina -dn -p 4 -k 6
0123
...
9876
01234
...
98765
012345
...
987654

$ combina -da -p3 -k5 --md5 | grep cf8595b8eecec82ad07aa16c818fea7c cf8595b8eecec82ad07aa16c818fea7c : dcia

$ combina -ca -k4 --sha1
81fe8bfe87576c3ecb22426f8e57847382917acf : abcd ...
a0d8a72797b5185f097a4f0f8cc7b19d98b72a5e : wxyz

$ combina -r -k 4 --user=01 --add-before=bin_ bin_0000
bin_0001
bin_0010
bin_0011
bin_0100
bin_0101
bin_0110
bin_0111
bin_1000
bin_1001
bin_1010
bin_1011
bin_1100
bin_1101
bin_1110
bin_1111

/*----------------------------------------------------------------------------*/


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.