xelix wrote:Don't really like them, as they aren't much of a coding review. But an overall challenge, yes. Thanks for the submissions.

It's still code review.. just not practical code review. There is an injection vuln in the script, however batch has no form of sanitation as far as I know. So it's not so much a vuln, but rather a overall flaw in the scripting language itself. However, it does teach you to read and comprehend some pretty complex batch scripting, which I find to be highly over-looked and underestimated. You don't always have a compiler for you language of choice on hand, but with batch scripting, all you need is notepad. Quite handy if I do say so myself.

xelix wrote:Don't really like them, as they aren't much of a coding review. But an overall challenge, yes. Thanks for the submissions.

It's still code review.. just not practical code review. There is an injection vuln in the script, however batch has no form of sanitation as far as I know. So it's not so much a vuln, but rather a overall flaw in the scripting language itself. However, it does teach you to read and comprehend some pretty complex batch scripting, which I find to be highly over-looked and underestimated. You don't always have a compiler for you language of choice on hand, but with batch scripting, all you need is notepad. Quite handy if I do say so myself.

Well, I've finished both of them. The first was still not much of a coding review, but rather looks like something the developer forgot to add, or didn't bother fixing. I also wouldn't call it complex, I'd rather term it as weird

The second took a matter of seconds with C, and PHP both. Really all there was to it was the need to check a few things, no real /programming/ was needed as implied.

They're still good challenges, I'm sure a lot of people will spend some time on them.

Hmmm, I copy/pasted the code into a bat file and played around a bit with injection until I got the heart warming "You have been authenticated. Welcome aboard!". However, posting my solution resulted in nothing, regardless of capitilization. I tried a few variations, which all work with the bat file, but none are accepted as The Right Answer. Any hints on the format that will actually give me some points?