Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

jock_pass

  • Clone with SSH
  • Clone with HTTPS
  • Paula's avatar
    Paula authored
    C++ small improvements: Use standard C++ headers and specify this version is C++ and not C
    
    See merge request !3
    a0b39010
    History

    Jockpass

    Sometimes simple guessing in brute forcing makes close guessings but the target is slightly different. The idea of this tool is to poke around incorrect guessed passwords in case the target is similar but not exactly that one.

    It uses a simple genetic algorithm and saves the guessings of a desired fitness in an output file ready to be used in your favorite bruteforcing tool.

    Compile and use:

    $ g++ jockpass.cpp -o jockpass
    $ ./jockpass {pass} {fitness}

    For example:

    $ ./guess PaS5w0Rd 1
    $ cat candidates.txt

    Would show something like this:

    Generation: 128	String: PaS5w0Rd	Fitness: 0
    ...
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    PaS5w0Rq
    

    In case you have repeated options (like the one above) you can use the clean_file.sh script to remove duplicates with awk.

    $ ./clean_file.sh

    This has a GNU licence.

    Things I have in mind to enhance the tool:

    • Pass a list of passwords instead of just one
    • Better algorithm?
    • Other languages

    Hacktoberfest 2021

    ¿Want to create a MR for Hacktoberfest? I created some issues you can check for help.

    Any Merge Request will be taken in consideration, here's a template for making it easier for both you and me.

    FAQ:

    What is Hacktoberfest? A challenge to participate in open source projects in exchange of a limited edition t-shirt. Check more info here.

    What is a merge request? Itś an improvement proposal for the project. The maintainer (the person responsible for the project) sometimes add "issues" when lack time, ability or resources for improving some things in the project. The community then read the issues (o come up with new ideas) and create a suggestion with the improvements in the Merge Request. Check about it here.

    What's and issue? An issue is a "TODO" thing, a mistake or a bug. Whichever that needs improvements in the project. You can create one or read the ones already created.

    If you have further questions, send them to inversealien@protonmail.com.