Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
monr0e12458yI'd start with looking at all possible iterations of a given number, and adapt it for chars and case
-
I haven't tested out this but it should give a rough base to start on
Combinations = []
word = allLettersToLower (word)
Foreach letter in word do
word[letter] = upper (letter)
Foreach letter2 in word do
newWord = word
newWord[letter] = upper(letter)
Combinations.add (newWord)
end
end
If word in combinations do
Print "Correct"
end -
Lenzs108yIm just learning. Its only educational. It crossed my mind and i tought that this would be the best place to ask :D
-
SHA-25614468yIf you intended to make a dictionary for an attack...most programs have a function to do the same ;)
Stackoverflow most likely has an answer though
How can i create wordlist, lets say from word "world", so the program creates all plausible uppercase and lowercase strings from that word? e.g. "World", "WorlD"... , "WorLD" and so on...
undefined