On 05/11/2024 13:27, Ralph Corderoy wrote:
but which lines reject the words Rocks, May or Sucks?
Line 34.
I can see that 'May' appears in that line, but where is Rocks or Sucks?
Are there separate lines to cover Caesar, Augustus or Theresa?
Line 35.
I can't see any of those words in line 35.  Are you saying that any part
of those words will match?That would exclude thousands of combinations.
2.  Create a new password, avoiding the words that the regex is
currently rejecting.
The regexp is a blacklist of what sequences of characters mustn't occur
anywhere in the password.  It doesn't make use of word boundaries, which
could be considered another bug.
Yes. I understand that, but any of those words concatenated together
with other unrelated words would be Quite hard to detect.
(Degree in Computer Science needed here.)
No, just an understanding of regular languages; level 3, the lowest, in
Chomsky's hierarchy of grammars.  Natural languages, like English, are
the highest, level 0, and you understand those.  Most computer languages
are level 2.  Or an understanding of finite automata.
https://en.wikipedia.org/wiki/Chomsky_hierarchy
You lost me at Chomsky's :-)
So most people would give up and use something simple like
'mypassword'.

That should work except this regexp is probably augmented by other
checks like a minimum length.
They don't mention that.

--
Terry Coles


--
 Next meeting: Online, Jitsi, Tuesday, 2024-11-12 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to