Python Forum
brute force password from list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
brute force password from list
#3
(Apr-03-2017, 01:34 PM)buran Wrote: well, it's not clear what you try to implement. If that is homework - say so and post the full assignment.
note that commented part, if not commented would overwrite chars

Hi Buran, 

Not homework at all. This is actually a bit more advance to what I have been taught currently but since I'm on holidays I'd like to study myself and try and make some programs. 
the chars line was actually replaced with the chars line that I have commented out. I wanted to post both versions so you could see what I was trying to do. 

The program currently runs by trying possible combinations like aa,ab,ac,ad etc. until it has guessed the password that the user inputted. What I want to do is modify it so it uses the external list of passwords in a text file and try and match it to what the user has inputted. but when the program runs, it doesn't recognise that it has made a match. 

Let's say I input the password as "abc123"
The top of the list is "abc" then the next line is "abcd" then "abc123" but instead of stopping at "abc123" and saying that the password is found, it will continue checking passwords, I think this might have something to do with the (repeat=password_length) line, but I'm unsure.
Reply


Messages In This Thread
brute force password from list - by petru - Apr-03-2017, 01:28 PM
RE: brute force password from list - by buran - Apr-03-2017, 01:34 PM
RE: brute force password from list - by petru - Apr-03-2017, 01:44 PM
RE: brute force password from list - by buran - Apr-03-2017, 02:02 PM
RE: brute force password from list - by wavic - Apr-03-2017, 05:28 PM
RE: brute force password from list - by buran - Apr-03-2017, 07:02 PM
RE: brute force password from list - by petru - Apr-04-2017, 11:30 AM
RE: brute force password from list - by wavic - Apr-03-2017, 09:09 PM
RE: brute force password from list - by buran - Apr-04-2017, 12:12 PM
RE: brute force password from list - by petru - Apr-04-2017, 02:00 PM
RE: brute force password from list - by buran - Apr-04-2017, 02:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need an alternative to brute force optimization loop jmbonni 5 1,299 Dec-07-2023, 12:28 PM
Last Post: RockBlok
  help me to make my password list in python >>> Oktay34riza 0 605 Dec-23-2022, 12:38 PM
Last Post: Oktay34riza
  Solving an equation by brute force within a range alexfrol86 3 2,894 Aug-09-2022, 09:44 AM
Last Post: Gribouillis
  force a program to exit ? Armandito 3 2,624 May-12-2022, 04:03 PM
Last Post: Gribouillis
  How to use scipy.optimization.brute for multivariable function Shiladitya 9 6,388 Oct-28-2020, 10:40 PM
Last Post: scidam
  best way to force an exception Skaperen 2 2,109 Oct-21-2020, 05:59 AM
Last Post: Gribouillis
  I need advise with developing a brute forcing script fatjuicypython 11 5,253 Aug-21-2020, 09:20 PM
Last Post: Marbelous
  Force calculation result as decimal vercetty92 4 2,940 Mar-20-2019, 02:27 PM
Last Post: vercetty92
  Password Brute Force 2skywalkers 9 5,483 Oct-18-2018, 02:35 PM
Last Post: buran
  Brute Force Password Guesser 2skywalkers 1 3,236 Oct-05-2018, 08:04 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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