Python Forum
Brute Force Password Guesser
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Brute Force Password Guesser
#1
I've look around for answers for it before but Im having trouble finding a good explination. What I want to do is make a guesser that goes a, b, c, ... aa, ab, ac, ad, .. aaa, aaab. And so on. I can do it with numbers, but I can't figure out how to do it with letters. I don't have any code yet as I don't really no where to start.
Reply
#2
Are you familiar with the modulus operator (%)? a % b is the remainder after you divide a by b.

Now, think of the strings you are generating as numbers. What is the right most character of the string always going to be equal to?

Combine that with integer division (//) and a for loop, and you can generate what you want.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need an alternative to brute force optimization loop jmbonni 5 1,164 Dec-07-2023, 12:28 PM
Last Post: RockBlok
  Solving an equation by brute force within a range alexfrol86 3 2,754 Aug-09-2022, 09:44 AM
Last Post: Gribouillis
  force a program to exit ? Armandito 3 2,492 May-12-2022, 04:03 PM
Last Post: Gribouillis
  How to use scipy.optimization.brute for multivariable function Shiladitya 9 6,154 Oct-28-2020, 10:40 PM
Last Post: scidam
  best way to force an exception Skaperen 2 2,050 Oct-21-2020, 05:59 AM
Last Post: Gribouillis
  I need advise with developing a brute forcing script fatjuicypython 11 5,019 Aug-21-2020, 09:20 PM
Last Post: Marbelous
  Force calculation result as decimal vercetty92 4 2,843 Mar-20-2019, 02:27 PM
Last Post: vercetty92
  Password Brute Force 2skywalkers 9 5,336 Oct-18-2018, 02:35 PM
Last Post: buran
  Brute Force Pad Lock Guesser RedSkeleton007 4 3,915 Mar-03-2018, 07:42 AM
Last Post: RedSkeleton007
  Password Guesser Project RedSkeleton007 17 11,015 Nov-29-2017, 07:24 AM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020