Jump to content

index.php?option=


dink87522

Recommended Posts

but what are you expecting it to be?  You can't just randomly take whatever comes in the door. Well I guess you could, but that's begging to get exploited.  Are you expecting it to be a certain exact value in a predefined list? Are you expecting it to be something of a specific format?  What are you wanting to do with this?

Link to comment
https://forums.phpfreaks.com/topic/171885-indexphpoption/#findComment-906366
Share on other sites

Well this will get options=ANYTHING

$option = $_GET['options']

If you're wanting to extract XXX=XXX&YYY=ZZZ, without knowing the names..

http://us3.php.net/manual/en/reserved.variables.server.php

 

Look there for one of the variables that lists the query string.. you can use regex or explode to extract the GET's..

Link to comment
https://forums.phpfreaks.com/topic/171885-indexphpoption/#findComment-906368
Share on other sites

that doesn't answer any of the questions I asked.  Dude, all I'm getting out of you is that you have this random variable being passed through the url.  you have no idea what the value will be. you have no idea what you are wanting to do with it.  Why do you want to find out what the options are?  If you cannot answer this question (or the ones I asked before), then why did you even make a thread? 

 

you have to tell us these things if you want help.

 

We are not psychic. :psychic:

Link to comment
https://forums.phpfreaks.com/topic/171885-indexphpoption/#findComment-906388
Share on other sites

This is actually a very simple problem to solve, which only takes 4 steps

 

1. Get a cup of coffee or red bull (well, get a lot actually)

2. Using the URL add the letter 'a' as the parameter (or, idealy, start at the lowest character code)

3. Submit the URL and see if a page appears with the expected output

4. Increment the character used (or add another character if att he last character code) then repeat from step 2 (about 1 billion times)

 

 

Link to comment
https://forums.phpfreaks.com/topic/171885-indexphpoption/#findComment-906686
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.