Skip to content

Generate combinations using positions#2

Open
jaysongyn wants to merge 3 commits into
countzero:masterfrom
jaysongyn:master
Open

Generate combinations using positions#2
jaysongyn wants to merge 3 commits into
countzero:masterfrom
jaysongyn:master

Conversation

@jaysongyn

Copy link
Copy Markdown

I created recursive function to generate all secrets combinations.
Let say you password could be "SecrEt!insecure" but you don't know each letter that is capitalize. You can set all possibilities for each position:
positions = [
['s', 'S'],
['e', 'E','&'],
['c', 'c'],
['r', 'R'],
['e', 'E'],
['t', 't'],
['1','!',''],
['_','',' '],
['insecure']
];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant