Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Password Brute Force
#1
Im trying to make a password Brute Force, it works to an extent but there is a problem.

Its goes from 'az' to 'bb' instead of 'ba'

Same with 'aaz' to 'abb' instead of 'aba'

Im not sure if im doing this password guesser completely wrong because it seems to simple, if so tell me please. i asked on another post how to do it, looked around for a few hours and still could not figure it out.

from itertools import combinations_with_replacement

for item in combinations_with_replacement('abcdefghijklmnopqrstuvwxyz', 1):
    print(''.join(item))
    
for item in combinations_with_replacement('abcdefghijklmnopqrstuvwxyz', 2):
    print(''.join(item))
    
for item in combinations_with_replacement('abcdefghijklmnopqrstuvwxyz', 3):
    print(''.join(item))
Reply


Messages In This Thread
Password Brute Force - by 2skywalkers - Oct-17-2018, 03:52 PM
RE: Password Brute Force - by buran - Oct-17-2018, 04:02 PM
RE: Password Brute Force - by 2skywalkers - Oct-17-2018, 04:03 PM
RE: Password Brute Force - by buran - Oct-17-2018, 04:05 PM
RE: Password Brute Force - by 2skywalkers - Oct-17-2018, 04:08 PM
RE: Password Brute Force - by buran - Oct-17-2018, 04:12 PM
RE: Password Brute Force - by 2skywalkers - Oct-17-2018, 07:18 PM
RE: Password Brute Force - by buran - Oct-17-2018, 07:57 PM
RE: Password Brute Force - by 2skywalkers - Oct-18-2018, 01:02 PM
RE: Password Brute Force - by buran - Oct-18-2018, 02:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need an alternative to brute force optimization loop jmbonni 5 1,326 Dec-07-2023, 12:28 PM
Last Post: RockBlok
  Solving an equation by brute force within a range alexfrol86 3 2,936 Aug-09-2022, 09:44 AM
Last Post: Gribouillis
  force a program to exit ? Armandito 3 2,667 May-12-2022, 04:03 PM
Last Post: Gribouillis
  How to use scipy.optimization.brute for multivariable function Shiladitya 9 6,448 Oct-28-2020, 10:40 PM
Last Post: scidam
  best way to force an exception Skaperen 2 2,121 Oct-21-2020, 05:59 AM
Last Post: Gribouillis
  I need advise with developing a brute forcing script fatjuicypython 11 5,311 Aug-21-2020, 09:20 PM
Last Post: Marbelous
  Force calculation result as decimal vercetty92 4 2,958 Mar-20-2019, 02:27 PM
Last Post: vercetty92
  Brute Force Password Guesser 2skywalkers 1 3,262 Oct-05-2018, 08:04 PM
Last Post: ichabod801
  Brute Force Pad Lock Guesser RedSkeleton007 4 4,051 Mar-03-2018, 07:42 AM
Last Post: RedSkeleton007
  Speeding up Brute force password guesser Gamervote 5 6,972 Jul-20-2017, 02:52 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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