-Ninjex- wrote:You are wrong. Please don't post false information on how to solve a mission on the forums help topic. You are going to confuse people.
To anyone that views this in the future, bruteforce is not required at all.
facelessman26 wrote:Firefly. Don't be like Sam...
Wow, I can't tell if you guys are newbs or if you're just stupid...perhaps a little of both.
I'll assume you know what an algorithm is. Here is a basic one for brute force:
gen (P): generate a candidate solution for P.
valid (P, c): check whether candidate c is a solution for P.
output (P, c): use the solution c of P as appropriate to the application.
Let's apply this algorithm to the situation. This might be difficult for you but try to follow along...
The Problem (P) is we don't know the directory structure of the site, so let's start by generating a candidate name (c). How 'bout "John." Now, we check if "John" is a directory. If it is, great! If not, generate another candidate and keep going. You just applied brute force.
Automating this process can yield the correct structure in less than 30 seconds, even if we don't apply heuristics when generating candidates. Take it as you may, but brute force is still used to solve the mission.
"Learn your ABC's..."