Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9021987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:23:23+00:00 2026-06-16T05:23:23+00:00

I am about creating a distributed Password Cracker, in which I will use brute

  • 0

I am about creating a distributed Password Cracker, in which I will use brute force technique, so I need every combination of string.

For the sake of distribution, Server will give Client a range of strings like from "aaaa" to "bxyz". I am supposing that string length will be of four. So I need to check every string between these two bounds.

I am trying to generate these strings in C. I am trying to make logic for this but I’m failing; I also searched on Google but no benefit. Any Idea?

EDIT

Sorry brothers, I would like to edit it

I want combination of string with in a range, lets suppose between aaaa and aazz that would be strings like aaaa aaab aaac aaad ..... aazx aazy aazz .. my character space is just upper and smaller English letters that would be like 52 characters. I want to check every combination of 4 characters. but Server will distribute range of strings among its clients. MY question was if one client gets range between aaaa and aazz so how will I generate strings between just these bounds.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:23:24+00:00Added an answer on June 16, 2026 at 5:23 am

    If your strings will comprehend only the ASCII table, you’ll have, as an upper limit, 256 characters, or 2^8 characters.

    Since your strings are 4 characters length, you’ll have 2^8 * 2^8 * 2^8 * 2^8 combinations,
    or 2^8^4 = 2^32 combinations.

    Simply split the range of numbers and start the combinations in each machine.

    You’ll probably be interested in this: Calculating Nth permutation step?

    Edit:

    Considering your edit, your space of combinations would be 52^4 = 7.311.616 combinations.

    Then, you do simply need to divide these “tasks” for each machine to compute, so, 7.311.616 / n = r, having r as the amount of permutations calculated by each machine — the last machine may compute r + (7.311.616 % n) combinations.

    Since you know the amount of combinations to build in each machine, you’ll have to execute the following, in each machine:

    function check_permutations(begin, end, chars) {
    
        for (i = begin; i < end; i++) {
    
            nth_perm = nth_permutation(chars, i);
            check_permutation(nth_perm); // your function of verification
    
        }
    
    }
    

    The function nth_permutation() is not hard to derive, and I’m quite sure you can get it in the link I’ve posted.

    After this, you would simply start a process with such a function as check_permutations, giving the begin, end, and the vector of characters chars.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm thinking about creating an application for the iPhone and Android that will need
I am creating a site which will make lots of searches and I need
How would I go about creating a full width slideshow which keeps its height
I am currently creating a site(php,css,html,ajax,MySql) which will have heavy user usage of space(regarding
I'm thinking about creating some classes along a single-use design pattern, defined by the
I've been thinking about creating a fork on GitHub of the HtmlAgilityPack project (which
How would I go about creating a gamepad which appears to DirectInput applications as
I am creating an Android application for a customer which will be pre-installed and
How would I go about creating a menu (complex, simple, etc - doesn't matter
I have been investigating about creating a UDP server, at first i though i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.