Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Write a program which performs brute force letter combination until the word "password" is found

Current License: CC BY-SA 3.0

17 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
Dec 1, 2015 at 8:37 comment added Fels It doesn't work with < passwore. In a test from a to ba it stops a b, with != it works again.
Dec 16, 2013 at 8:41 comment added lortabac @fireeyedboy Thanks I changed it!
Dec 16, 2013 at 8:41 history edited lortabac CC BY-SA 3.0
Saved 1 char by replacing != with <
Dec 15, 2013 at 15:07 comment added Decent Dabbler You can save a char with $w<passwore in stead of $w!=passwore.
Sep 27, 2013 at 8:58 comment added ST3 I'm not sure, because I'm not a php developer, so know only basics about it...
Sep 27, 2013 at 8:52 comment added lortabac @ST3 Maybe you have short_open_tag set to false in your configuration.
Sep 27, 2013 at 8:44 comment added ST3 I have to admit, it works. However I tested it in my own computer and it did nothing, probably it depends on php version and settings. So now agree that your answer is correct.
Sep 27, 2013 at 7:45 comment added lortabac @ST3 And this one is from a to az.
Sep 27, 2013 at 7:39 comment added lortabac @ST3 Here is a test from passwoqs to password. Because the encoding of codepad is not ISO 8859-1, I had to replace with a whitespace.
Sep 26, 2013 at 16:30 comment added ST3 I just checked that, it does nothing.
Sep 25, 2013 at 12:04 comment added lortabac @ST3 It is a regular for loop. There is nothing strange in this code, except for the last 2 characters, which are a bitwise-inverted whitespace. Anyway, yes, I tested it up to a shorter word.
Sep 25, 2013 at 11:49 comment added ST3 It looks suspicious for me, did you made a test? (I know it would be very long, so just to make from a to aa and from passwoqz to password). So is it tested or you think it should do the work?
Sep 25, 2013 at 11:17 comment added lortabac @ST3 It's a simple loop. The variable $w is initially set to 'a' and then is incremented until it reaches the first value after 'password' (the last string is not printed).
Sep 25, 2013 at 9:07 comment added ST3 I didn't test that, but does it really do that???
Sep 25, 2013 at 9:01 history edited lortabac CC BY-SA 3.0
added 16 characters in body
Sep 25, 2013 at 8:56 history answered lortabac CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /