Skip to content

8veStory/COMP6841-login-leaks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

COMP6841-login-leaks

All three letter segments are part of the password and are guaranteed to be in order but not necessarily consecutive. There are no repeated characters in the password.

Solution: It works by building a dictionary of all the letters and their relative position to one another. As we scan through the word segments, if a letter is behind another, its position is set to be behind that letter. All letters which are behind that modified letter are also decremented.

This gives us each letter's relative position to one another. If there were enough word samples, this will be enough to reconstruct the entire password and it will be printed.

If not, there could be multiple possibilities for the position of certain letters, so the password will be printed with '/'s inbetween letters the program is unsure about.

About

Python script I used to complete the exercise.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages