Skip to content
masterzorag edited this page Jan 16, 2017 · 12 revisions

bruteforge

the selective data combinator.

how does it works

  • Parses a custom configuration file
  • Uses parsed data combining all possibilities, just like a bruteforce algorithm does
  • Write to STDOUT, according to output mode

config file

It's a simple text file, containing single charsets that will be used, one per line.
Order fixes sorting, other than select composing data single values.
You can use one file for single task to store composing data, then use to generate plaintext wordlist or hexadecimal binary as well as (hashes) wordlist, or raw binary data (check test folder for examples).
File character encoding is relevant, since bruteforge works on single byte value, it can support 256 characters, defaulting to codepage ISO-8859-1.

characters or hex values

use -x to parse and use data as hexadecimal values

Output mode

Output modes are mutually exclusive, you can select just one:

  • write wordlist with -w
  • write binary data with -b
  • test your configuration, run in quiet mode with -q

examples

  • use extended ascii codes
    $ ./bf -c test/test_4.ISO-8859-1
  • use hexadigits
    $ ./bf -c test/test_3 -x
  • go on, test or write wordlist to STDOUT
    $ ./bf -c test/test_4.ISO-8859-1 -w
    $ ./bf -c test/test_3 -x -q
  • lock on 3 characters length, write wordlist, save to file
    $ ./bf -c test/test_3 -x -l 3 -w > file
  • lock on 2 characters length, write wordlist, save to file
 $ ./bf -c test/test_3 -x -l 2 -b > file.bin  
 $ hexdump -C file.bin  
  00000000  01 0a 01 ab 01 dd 02 0a  02 ab 02 dd 03 0a 03 ab  |................|  
  00000010  03 dd                                             |..|  
  • Parse config
    just parse
  • Marking last changed
    Mark
  • Sending -USR1 signal
    sending -USR1 signal
  • Extended ASCII Codes
    Extended ASCII Codes
  • Save last generated
    save
Clone this wiki locally