Zero Identity Forums - Basic - Basic 4 - I'm completely lost
Are you bored? Check out the unaswered threads!
| #1 I'm completely lost on 01/01/1970 00:00 | |
|
So I found the '4/include.html' but I have no idea what to do with it. I tried putting it at the end of the URL but it takes me to an error page. Can someone help me?
|
|
|
synthesis
![]() Member Dain Bramaged Trainee Joined: 08/20/2010 Last Seen: 0000-00-00 Experience: 7 Points: 260 |
|
| #2 on 01/01/1970 00:00 | |
|
Hi!
Try looking at everything in that directory. You may find the answer.
|
|
| #3 on 01/01/1970 00:00 | |
|
I'm unsure of how to look in the directory. Can someone tell me how to do that?
|
|
|
3l_f3n1x
![]() Member V Fan ![]() Professional Analyst Joined: 08/06/2008 Last Seen: 0000-00-00 Experience: 299.25 Points: 905 |
|
| #4 URLs explained. on 01/01/1970 00:00 | |
|
First you should learn about how a URL works:
Absolute URL: PROTOCOL://HOST[:PORT]/PATH[?GET_PARAMETERS] Relative URL: PATH[?GET_PARAMETERS] 1. Things between brackets are optional. 2. Upper case words are variables. Absolute URLs Example: a. Often the PROTOCOL for HTML documents is HTTP or HTTPS. b. For this site the HOST is www.zeroidentity.org. c. Also ZI works at the PORT 80. That's the regular port for HTTP protocol, so you don't need to put it explicitly. d. And the PATH and GET_PARAMETERS are the rest of the URL.(This will be better explained in the Relative URL part) So this is a regular URL for Zero Identity: http://www.zeroidentity.org:80/PATH?[GET_PARAMETERS] or without putting explicitly the PORT: http://www.zeroidentity.org/PATH?[GET_PARAMETERS] Relative URLs Example: Let's say you are at this page: https://www.zeroidentity.org:1337/directory_1/directory_2/index.php?id=1 Then now we know: PROTOCOL = https HOST = www.zeroidentity.org PORT = 1337 PATH = /directory_1/directory_2/index.php GET_PARAMETERS = id=1 The PATH has two directories and the file is index.php. A directory is like a folder in your desktop. So we can conclude the file index.php is located inside a directory called directory_2 and this directory_2 is located inside directory_1. You should notice index.php is one file, maybe that directory (directory_2) has more than one file, and even you'll find in there more directories. The directory_1 works the same as the directory_2. If you want to see what's inside any of those directories just search for them: For directory_1: https://www.zeroidentity.org:1337/directory_1 For directory_2: https://www.zeroidentity.org:1337/directory_1/directory_2 Often directory listings are forbidden, but you never know ;) Relative paths work this way: a. ./ Current directory. b. ../ Previous directory. If you are here: https://www.zeroidentity.org:1337/directory_1/directory_2/index.php?id=1 If you find a link like this: ./index.php you'll go to the same page you are right now https://www.zeroidentity.org:1337/directory_1/directory_2/index.php If you find a link like this: ../index.php you'll go to a previous directory: https://www.zeroidentity.org:1337/directory_1/index.php If you find a link like this: ../../index.php you'll go to a previous directory: https://www.zeroidentity.org:1337/index.php And now you can understand that a link like this: ././././../././././../././././index.php will take you here: https://www.zeroidentity.org:1337/index.php GET_PARAMETERS They help the programmer make dinamic web pages. Sometimes you can find major bugs and vulnerabilities there like SQL injections, Cross Site Scripting attacks (XSS), Cross Site Request Forgery (XSRF), Redirections, among others. It's always helpful to know the theory before you go and put in practice what you know. =D "Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V BTW: My username was elfenix |
|
| #5 on 01/01/1970 00:00 | |
|
that helped a lot thanks :)
|
|
|
3l_f3n1x
![]() Member V Fan ![]() Professional Analyst Joined: 08/06/2008 Last Seen: 0000-00-00 Experience: 299.25 Points: 905 |
|
| #6 on 01/01/1970 00:00 | |
|
I'm glad you found it helpful =D
"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - V BTW: My username was elfenix |
|
Who is watching forums
| Users viewing this page: | Guests (1) |
| Users viewing the forum: | 0 |








