Basic Mission 7

Learn new things
Forum rules
DO NOT POST ANSWERS OR SPOILERS! [IE: Mission Links, Mission File Names/Pages, Scripts, etc.]

Posting these will result in warnings/bans!

Re: Basic Mission 7

Post by davidnguyen2281 on Tue Nov 20, 2012 10:28 pm
([msg=71161]see Re: Basic Mission 7[/msg])

I have just pass this mission. I think Sam should escape user string before pass it to unix command. In PHP, Sam can use use escapeshellarg() or escapeshellcmd()? everyone have ideals?
davidnguyen2281
New User
New User
 
Posts: 1
Joined: Tue Nov 20, 2012 10:23 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by rephy2 on Sun Dec 09, 2012 12:37 pm
([msg=71609]see Re: Basic Mission 7[/msg])

Did anyone figure out how i got 2 different passwords?¿
rephy2
New User
New User
 
Posts: 2
Joined: Mon Nov 12, 2012 1:43 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by fashizzlepop on Sun Dec 09, 2012 12:53 pm
([msg=71610]see Re: Basic Mission 7[/msg])

Might be a small bug. Can you reproduce it? If so, PM mShred.

Edit: So rephy2 used wget in terminal to retrieve the password file instead of his browser. This gave him a string that was not correct. When accessing it from the browser, the site knew who he was (due to cookies/session etc.) and therefore spit out the correct string.
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Moderator
Moderator
 
Posts: 2147
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by mShred on Sun Dec 09, 2012 1:08 pm
([msg=71611]see Re: Basic Mission 7[/msg])

fashizzlepop wrote:Edit: So rephy2 used wget in terminal to retrieve the password file instead of his browser. This gave him a string that was not correct. When accessing it from the browser, the site knew who he was (due to cookies/session etc.) and therefore spit out the correct string.

I actually like his method of thinking. But yeah, with that process he'd be leaving out the cookies and sessions with a bare wget.
Image

For those about to rock.
User avatar
mShred
Administrator
Administrator
 
Posts: 1477
Joined: Tue Jun 22, 2010 4:22 pm
Blog: View Blog (2)


Re: Basic Mission 7

Post by Threethumb on Thu Dec 13, 2012 3:35 pm
([msg=71691]see Re: Basic Mission 7[/msg])

Could anyone point me towards, or possibly write, a description of which parts of the programming and coding languages I should be learning? Learning the entire language for a basic mission seems excessive, and if I am to cut out something, I don't at all know which parts I don't need to learn (yet). It'd be nice to have a pointer towards which specific things I should go read about. Much of what I've done has just been using logic, and I've arrived to mission seven without really understanding what I did right in the other missions, so it feels like I've gone from difficulty level 2 to 67 in one leap.

Basically, the first two missions were almost painfully simplistic, and didn't require any effort. At number three, I decided to go through all those recommended HTML "lessons" on W3C. So it quickly dawned on me what I exactly had to do in order to find the place with the password (although one detail didn't make sense to me, but I won't specify for spoilers sake). Number 4 and 5, really confused me, because I managed number 4 by using a trick I know in FireFox with which I can "do something" with the source code, to put it like that. But the thing is: although 5 was supposed to have increased security, the same trick worked. So obviously I haven't learned what I need to learn, as I don't know what I did right and/or wrong. Number 6 was more or less just back to using common sense again, and now I'm here at 7, I have no idea what I'm looking at, and I'm told I need to go learn an entire other language for this 1 basic mission.

I'd really appreciate someone telling me about more than the articles and tutorials about what exactly I need to learn in order to understand a mission, and preferably someone to assist me in understanding exactly why I got things right in those other missions. Additionally, I'd just like to say that the two different articles, both tutorials for missions 1-10, were a big part of me not understanding what I did right. I felt they gave too many hints about what to do, so when I figured out a way to do things, I didn't understand how it really worked, I was just following instructions.
Threethumb
New User
New User
 
Posts: 15
Joined: Tue Dec 11, 2012 10:13 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by fashizzlepop on Thu Dec 13, 2012 5:27 pm
([msg=71693]see Re: Basic Mission 7[/msg])

HTML, some very basic Unix command line stuff, and knowing the difference between server side and client side. PM if you have some more specific questions that you don't want to post openly about (spoilers, etc.)

As for the difference between 4 and 5, 4 can be completed a different way but the solution for 5 works for both.
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Moderator
Moderator
 
Posts: 2147
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by Amazingred on Thu Dec 13, 2012 5:37 pm
([msg=71694]see Re: Basic Mission 7[/msg])

Okay step way back and start off pretending you know nothing about nothing....the first thing you always need to find out is what the objective is. Look at what you've been told.

"This time Network Security sam has saved the unencrypted level7 password in an obscurely named file saved in this very directory."

I'm not going to highlight it, that would be too much of a giveaway, but there is something VERY important in that statement that once you see it will be a big hint as to what specific ability you'll be doing.

Think about it like this; up to now you have been finding the solutions by following this kind of logic:
1. Find out WHAT you are looking for
2. find out WHERE it is located
3. find out how to NAVIGATE there

2 of those things have already been given to you and you'll need to do some exploring to gather some more information to figure out the other one. hope that helps
Image
Amazingred
New User
New User
 
Posts: 34
Joined: Wed Jul 25, 2012 7:10 pm
Location: Wayyyyyy out there
Blog: View Blog (0)


Re: Basic Mission 7

Post by Threethumb on Thu Dec 13, 2012 7:20 pm
([msg=71697]see Re: Basic Mission 7[/msg])

fashizzlepop wrote:HTML, some very basic Unix command line stuff, and knowing the difference between server side and client side. PM if you have some more specific questions that you don't want to post openly about (spoilers, etc.)

As for the difference between 4 and 5, 4 can be completed a different way but the solution for 5 works for both.


Client side and server side seems to be pretty obvious distinctions to me, so that's already down... I'll look at basic Unix commands then. Also, I'll PM you about the things I wondered about 3,4 and 5
Threethumb
New User
New User
 
Posts: 15
Joined: Tue Dec 11, 2012 10:13 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by corbonium on Wed Jan 02, 2013 9:53 pm
([msg=71974]see Re: Basic Mission 7[/msg])

Ok i have the filename... i have tried using it as the password with and without the file extension, and i keep getting invalid password messages... whats up? do i need to also open this like its a plain text file and perhaps the contents is the password..?

edit: yep, i'm an idiot. In the future if I figure out a crucial step and I'm thinking "what do i do now?!" i will think about it for 5 minutes before posting a dumb question.
corbonium
New User
New User
 
Posts: 15
Joined: Wed Jan 02, 2013 8:11 pm
Blog: View Blog (0)


Re: Basic Mission 7

Post by DaMoNarch on Sat Jan 05, 2013 4:33 pm
([msg=72049]see Re: Basic Mission 7[/msg])

orwell84 wrote:Think of the input box for the year as one line of code. The year is one piece of code. It's probably taken and put through a function to give the calendar. However, you want to execute another command. As you may have learned, you can't put just the command you want in the box--it only works if you put in a year. What you have to do is make both happen at once. How?

(if you're still stuck, read my first sentence again)


Excellent hint. Thanks.
I had no idea you could do that on a web page.
:twisted:
I take it that most web admins would fix it so that this wouldn't work.
DaMoNarch
New User
New User
 
Posts: 4
Joined: Sat Jan 05, 2013 4:29 pm
Blog: View Blog (0)


PreviousNext

Return to Basic

Who is online

Users browsing this forum: No registered users and 0 guests